[U-Boot] [PATCH 2/2] ARM: fix build error with gcc-4.4.2 about inline function declared weak

Wolfgang Denk wd at denx.de
Thu Nov 5 21:19:59 CET 2009


Dear Tom Rix,

In message <1257292804-10612-3-git-send-email-Tom.Rix at windriver.com> you wrote:
> From: Abdoulaye Walsimou Gaye <walsimou at walsimou.com>
> 
> This patch fix build error with gcc-4.4.2 about inline function
> declared weak, see below:
> board.c:96: error: inline function 'coloured_LED_init' cannot be declared weak
> board.c:98: error: inline function 'red_LED_on' cannot be declared weak
> board.c:100: error: inline function 'red_LED_off' cannot be declared weak
> board.c:102: error: inline function 'green_LED_on' cannot be declared weak
> board.c:104: error: inline function 'green_LED_off' cannot be declared weak
> board.c:106: error: inline function 'yellow_LED_on' cannot be declared weak
> board.c:108: error: inline function 'yellow_LED_off' cannot be declared weak
> board.c:110: error: inline function 'blue_LED_on' cannot be declared weak
> board.c:112: error: inline function 'blue_LED_off' cannot be declared weak
> make[1]: *** [board.o] Error 1
> 
> Signed-off-by: Abdoulaye Walsimou Gaye <walsimou at walsimou.com>

What is this? Are you sure this patch is properly attributed? Was
Abdoulaye Walsimou Gaye really the first to submit this patch? 

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Quote from a recent meeting:   "We are going to continue having these
meetings everyday until I find out why no work is getting done."


More information about the U-Boot mailing list