[U-Boot] Build failures with older toolchain

Premi, Sanjeev
2010-11-29T10:44:06Z

> From: Wolfgang Denk [mailto:wd at denx.de]
> Sent: Monday, November 29, 2010 4:05 PM
> To: Premi, Sanjeev
> Cc: Albert ARIBAUD; u-boot at lists.denx.de
> Subject: Re: [U-Boot] Build failures with older toolchain
>
> Dear "Premi, Sanjeev",
>
> can you please quote onlye _relevant_ parts of previous messages?
> Thanks.

[sp] I do try to snip the messages. I didn't do so this time
to maintain context - but, may be, I erred on wrong side.

>
> In message
> <B85A65D85D7EB246BE421B3FB0FBB5930247A0A94F@dbde02.ent.ti.com>
> you wrote:
> >

[snip]

>
> Are you sure these are the only errors you see?
>
> Because for me, building for omap3_evm fails like this:
>
> start.S: Assembler messages:
> start.S:144: Error: constant expression expected -- `ldr
> sp,=((0x4020FFFC-CONFIG_SYS_GBL_DATA_SIZE))'
> make[1]: *** [/work/wd/tmp-arm/arch/arm/cpu/armv7/start.o] Error 1
> make: *** [/work/wd/tmp-arm/arch/arm/cpu/armv7/start.o] Error 2
> make: *** Waiting for unfinished jobs....
> make: *** wait: No child processes. Stop.
>
> And this is a clear indication that the board support code has not
> been adapted yet (CONFIG_SYS_GBL_DATA_SIZE has been replaced by
> GENERATED_GBL_DATA_SIZE some time ago).

[sp] I just responded to Albert' message on same issue.

I stumbled on the current problem while trying to fix just the
problem you notice here.

Assuming relation, I had not submitted the patch - so far. But
it looks to be causing more confusion - so patch follows in next
few mins.

~sanjeev

>
>
> 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
> You said you didn't want to use CGI.pm, but methinks you are
> needlessly reinventing the wheel, one spoke at a time. Either you are
> masochistic, or you just haven't seen enough of what CGI.pm can do
> for you. -- Randal L. Schwartz in <8cyb81rg81.fsf@gadget.cscaper.com>
>