[U-Boot] sequoia_config build failure?

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

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@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@denx.de =====================================================================

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@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

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
participants (3)
-
Kumar Gala
-
Stefan Roese
-
Wolfgang Denk