[coldfire-gnu-discuss] Problem compiling U-Boot with Codesourcery 4.4-54/4.4-217

Maxim Kuvyrkov maxim at codesourcery.com
Fri May 14 10:42:35 UTC 2010


On 5/12/10 5:50 PM, SKARPATHIOTAKIS, GEORGE wrote:
> Hi,
>
> I’ve tried both the new 4.4 toolchain for coldfire GNU/Linux (4.4-54 &
> 4.4-217) in building my embedded system via LTIB, but when it came to
> rebuilding U-Boot it complained about this line in common/main.c:
>
> *inline* show_boot_progress (int val) __attribute__((*weak*,
> alias("__show_boot_progress")));
>
> Stating that it cannot be weak. Of course I’ve tried removing the weak
> and/or the inline keyword, but then my u-boot does not function
> properly. I’ve also noticed that on other forums that this issue is
> known about gcc 4.4 and why many are sticking with 4.3.

You need to provide the exact error message the compiler outputs.  A 
preprocessed source and the compilation line also makes it easier to 
understand what the problem is.

Regards,

-- 
Maxim Kuvyrkov
CodeSourcery
maxim at codesourcery.com
(650) 331-3385 x724



More information about the coldfire-gnu-discuss mailing list