U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] sequoia_config build failure?
@ 2008-10-31 14:31 Kumar Gala
  2008-10-31 15:00 ` Stefan Roese
  2008-10-31 15:53 ` Wolfgang Denk
  0 siblings, 2 replies; 4+ messages in thread
From: Kumar Gala @ 2008-10-31 14:31 UTC (permalink / raw)
  To: u-boot

When I try building the sequoia_config I get:

ld: .bss section too big, overlaps .ppcenv section. Please update your  
confguration: CFG_MONITOR_BASE, CFG_MONITOR_LEN and TEXT_BASE may need  
to be modified.
ld: .bss section too big, overlaps .ppcenv section. Please update your  
confguration: CFG_MONITOR_BASE, CFG_MONITOR_LEN and TEXT_BASE may need  
to be modified.
ld: .bss section too big, overlaps .ppcenv section. Please update your  
confguration: CFG_MONITOR_BASE, CFG_MONITOR_LEN and TEXT_BASE may need  
to be modified.

This is with gcc-4.3.0 and binutils 2.18.50.0.6 on a fedora ppc64  
box.  Does this build for others?  It seems v2008.10 and top of tree  
have this issue.

- k

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] sequoia_config build failure?
  2008-10-31 14:31 [U-Boot] sequoia_config build failure? Kumar Gala
@ 2008-10-31 15:00 ` Stefan Roese
  2008-10-31 15:04   ` Kumar Gala
  2008-10-31 15:53 ` Wolfgang Denk
  1 sibling, 1 reply; 4+ messages in thread
From: Stefan Roese @ 2008-10-31 15:00 UTC (permalink / raw)
  To: u-boot

Hi Kumar,

On Friday 31 October 2008, Kumar Gala wrote:
> When I try building the sequoia_config I get:
>
> ld: .bss section too big, overlaps .ppcenv section. Please update your
> confguration: CFG_MONITOR_BASE, CFG_MONITOR_LEN and TEXT_BASE may need
> to be modified.
> ld: .bss section too big, overlaps .ppcenv section. Please update your
> confguration: CFG_MONITOR_BASE, CFG_MONITOR_LEN and TEXT_BASE may need
> to be modified.
> ld: .bss section too big, overlaps .ppcenv section. Please update your
> confguration: CFG_MONITOR_BASE, CFG_MONITOR_LEN and TEXT_BASE may need
> to be modified.
>
> This is with gcc-4.3.0 and binutils 2.18.50.0.6 on a fedora ppc64
> box.  Does this build for others?  It seems v2008.10 and top of tree
> have this issue.

TOT builds fine here:

[stefan at kubuntu u-boot (master)]$ ./MAKEALL sequoia
Configuring for sequoia board...
   text    data     bss     dec     hex filename
 342024   24196  333824  700044   aae8c ./u-boot

That's with ELDK 4.2 (GCC 4.2.2).

But without thinking too hard about it, my feeling is that 
this "ppcenv_assert" in the sequoia u-boot.lds linker script is incorrect. 
BSS is not really part of the resulting U-Boot image.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] sequoia_config build failure?
  2008-10-31 15:00 ` Stefan Roese
@ 2008-10-31 15:04   ` Kumar Gala
  0 siblings, 0 replies; 4+ messages in thread
From: Kumar Gala @ 2008-10-31 15:04 UTC (permalink / raw)
  To: u-boot


On Oct 31, 2008, at 10:00 AM, Stefan Roese wrote:

> Hi Kumar,
>
> On Friday 31 October 2008, Kumar Gala wrote:
>> When I try building the sequoia_config I get:
>>
>> ld: .bss section too big, overlaps .ppcenv section. Please update  
>> your
>> confguration: CFG_MONITOR_BASE, CFG_MONITOR_LEN and TEXT_BASE may  
>> need
>> to be modified.
>> ld: .bss section too big, overlaps .ppcenv section. Please update  
>> your
>> confguration: CFG_MONITOR_BASE, CFG_MONITOR_LEN and TEXT_BASE may  
>> need
>> to be modified.
>> ld: .bss section too big, overlaps .ppcenv section. Please update  
>> your
>> confguration: CFG_MONITOR_BASE, CFG_MONITOR_LEN and TEXT_BASE may  
>> need
>> to be modified.
>>
>> This is with gcc-4.3.0 and binutils 2.18.50.0.6 on a fedora ppc64
>> box.  Does this build for others?  It seems v2008.10 and top of tree
>> have this issue.
>
> TOT builds fine here:
>
> [stefan at kubuntu u-boot (master)]$ ./MAKEALL sequoia
> Configuring for sequoia board...
>   text    data     bss     dec     hex filename
> 342024   24196  333824  700044   aae8c ./u-boot
>
> That's with ELDK 4.2 (GCC 4.2.2).
>
> But without thinking too hard about it, my feeling is that
> this "ppcenv_assert" in the sequoia u-boot.lds linker script is  
> incorrect.
> BSS is not really part of the resulting U-Boot image.

and this is a discussion I want to have w/Wolfgang.  I agree with you  
that impacting the image w/bss size seems wrong to me.

- k

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] sequoia_config build failure?
  2008-10-31 14:31 [U-Boot] sequoia_config build failure? Kumar Gala
  2008-10-31 15:00 ` Stefan Roese
@ 2008-10-31 15:53 ` Wolfgang Denk
  1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2008-10-31 15:53 UTC (permalink / raw)
  To: u-boot

Dear Kumar,

In message <68053E0B-A31F-4858-8106-8C74C4F33371@kernel.crashing.org> you wrote:
> When I try building the sequoia_config I get:
> 
> ld: .bss section too big, overlaps .ppcenv section. Please update your  
> confguration: CFG_MONITOR_BASE, CFG_MONITOR_LEN and TEXT_BASE may need  
> to be modified.
> ld: .bss section too big, overlaps .ppcenv section. Please update your  
> confguration: CFG_MONITOR_BASE, CFG_MONITOR_LEN and TEXT_BASE may need  
> to be modified.
> ld: .bss section too big, overlaps .ppcenv section. Please update your  
> confguration: CFG_MONITOR_BASE, CFG_MONITOR_LEN and TEXT_BASE may need  
> to be modified.
> 
> This is with gcc-4.3.0 and binutils 2.18.50.0.6 on a fedora ppc64  
> box.  Does this build for others?  It seems v2008.10 and top of tree  
> have this issue.

It builds fine with ELDK 4.x on 32 bit systems. Guess it's a 64 bit
host environment issue.

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
Always leave room to add an explanation if it doesn't work out.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-31 15:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-31 14:31 [U-Boot] sequoia_config build failure? Kumar Gala
2008-10-31 15:00 ` Stefan Roese
2008-10-31 15:04   ` Kumar Gala
2008-10-31 15:53 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox