------- Comment #7 from tedoc2000 at gmail dot com 2005-11-14 20:13 ------- Actually I think it may have to do with libgcc. But I wasn't sure how to file a bug like that:
Anyway I filed it against gcc because: a) Both files were compiled on the same server (So no patch level differences) b) The versions of all the other things I can think of are the same (ar, as, ln) c) Both versions of gcc create the same .i file. d) When I take the .o file and "collect2" against the gcc3.3.2 versions of libgcc it works as I expect. Here is the "collect2" I used: opt/OPSWbuildtools/1.0.1/libexec/gcc/powerpc-ibm-aix4.3.2.0/3.4.4/collect2 -bpT:0x10000000 -bpD:0x20000000 -btextro -bnodelcsect -bexport:/usr/lib/libg.exp -o locale /lib/crt0.o -L/opt/OPSWgcc32/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.3.2 -L/opt/OPSWgcc32/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.3.2/../../.. locale.o /opt/OPSWgcc32/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.3.2/libgcc.a /opt/OPSWgcc32/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.3.2/libgcc_eh.a -lg -lc /opt/OPSWgcc32/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.3.2/libgcc.a /opt/OPSWgcc32/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.3.2/libgcc_eh.a As opposed to the one I get with gcc3.4.4: /opt/OPSWbuildtools/1.0.1/libexec/gcc/powerpc-ibm-aix4.3.2.0/3.4.4/collect2 -bpT:0x10000000 -bpD:0x20000000 -btextro -bnodelcsect -bexport:/usr/lib/libg.exp -o locale /lib/crt0.o -L/opt/OPSWbuildtools/1.0.1/lib/gcc/powerpc-ibm-aix4.3.2.0/3.4.4 -L/opt/OPSWbuildtools/1.0.1/lib/gcc/powerpc-ibm-aix4.3.2.0/3.4.4/../../.. locale.o /opt/OPSWbuildtools/1.0.1/lib/gcc/powerpc-ibm-aix4.3.2.0/3.4.4/libgcc.a -lg -lc /opt/OPSWbuildtools/1.0.1/lib/gcc/powerpc-ibm-aix4.3.2.0/3.4.4/libgcc.a e) I'm not so smart? :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24856