This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/46072] AIX linker chokes on debug info for uninitialized static variables
- From: "rockdreamer at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 6 Apr 2011 08:36:04 +0000
- Subject: [Bug target/46072] AIX linker chokes on debug info for uninitialized static variables
- Auto-submitted: auto-generated
- References: <bug-46072-4@http.gcc.gnu.org/bugzilla/>
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!