[Bug target/46072] AIX linker chokes on debug info for uninitialized static variables
pedzsan at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Mar 23 19:45:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46072
--- Comment #15 from Perry Smith <pedzsan at gmail dot com> 2011-03-23 19:31:18 UTC ---
Let me try and recap.
The initial report was that 5.3 TL10 did *not* have the error. I discovered
that 5.3 TL10 SP03 does. See [1].
APAR IZ81343[2] and its sister APARs addresses this issue. It is shipped (for
example) in 5.3 TL10 SP05 as IZ81339.
After you apply that APAR, you get a new issue where the linker now spews out:
ld: 0711-596 SEVERE ERROR: Object expand.o
An RLD for section 2 (.data) refers to symbol 852,
but the storage class of the symbol is not C_EXT or C_HIDEXT.
I got this when I tried to build GNU's make on 5.3 TL10 SP02 with just the
assembler APAR. I tried two versions of GCC: 4.2.0 and 4.5.2.
IBM is aware of the issue (via me and others). The last tidbit I have is that
it appears as if it is another assembler bug but that is not confirmed yet. I
don't have a fix nor do I have an APAR number yet.
[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46072#c7
[2] https://www-304.ibm.com/support/docview.wss?uid=isg1IZ81343
More information about the Gcc-bugs
mailing list