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

Tom Tom.Rix at windriver.com
Sun Nov 1 23:49:30 CET 2009


Wolfgang Denk wrote:
> Dear Tom,
> 
> In message <4AEDFC0D.8020004 at windriver.com> you wrote:
>> What is your
>> $(CROSS_COMPILE)gcc -v
>> ?
> 
> Tom, please note this issue is old, and in any case a patch,if checked
> in, should be properly attributed.  I think the first to bring this up
> was Ron Lee; please see the whole thread here:
> http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/65397
> 
>> walsimou at walsimou.com 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:
> 
> Looks exactly the same as Ron's patch to me...
> 

Deja vu..
Let try to fix it this time.
The hold up issue is non inline, adds some wasted bytes.

Is the linker smart enough to garbage collect them away ?
Tom

> Best regards,
> 
> Wolfgang Denk
> 



More information about the U-Boot mailing list