[Bug target/46072] AIX linker chokes on debug info for uninitialized static variables
rockdreamer at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Apr 6 08:36:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46072
--- Comment #17 from Claudio Bantaloukas <rockdreamer at gmail dot com> 2011-04-06 08:35:27 UTC ---
Comment on attachment 23120
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23120
Patch to simply not use bss section with .bs, but private-data-section instead
Hi *, I've been bitten by this bug too.
Patch 23120 resolves the C_SECT issue for me, however I get a new error when
compiling a c++ file.
----
ld: 0711-380 STABSTRING ERROR: Symbol table entry 1246, object file
../libpkg_mka.a[DB
2MkAQuery.cpp.o]
Length of stabstring in .debug section is invalid.
The stabstring is being deleted.
ld: 0711-380 STABSTRING ERROR: Symbol table entry 1248, object file
../libpkg_mka.a[Or
aMkAQuery.cpp.o]
Length of stabstring in .debug section is invalid.
The stabstring is being deleted.
collect2: ld returned 12 exit status
---
Any suggestions on how to add more details this are welcome!
More information about the Gcc-bugs
mailing list