collect2 causes segfaults on AIX 4.3.1
Brian Stempel
stempel@verinet.com
Wed Jan 5 13:06:00 GMT 2000
Hello,
Command Line is: g++ -v --save-temps test.C
Output of the command is:
Reading specs from
/fsfiles/unit/fcs/gcc-2.95.2/lib/gcc-lib/powerpc-ibm-aix4.3.1.0/2.95.2/specs
gcc version 2.95.2 19991024 (release)
/fsfiles/unit/fcs/gcc-2.95.2/lib/gcc-lib/powerpc-ibm-aix4.3.1.0/2.95.2/cpp
-lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus
-D_IBMR2 -D_POWER -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_LONG_LONG
-D_IBMR2 -D_POWER -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_LONG_LONG
-Asystem(unix) -Asystem(aix) -D__EXCEPTIONS -D__CHAR_UNSIGNED__
-D_ARCH_COM test.C test.ii
GNU CPP version 2.95.2 19991024 (release)
#include "..." search starts here:
#include <...> search starts here:
/fsfiles/unit/fcs/gcc-2.95.2/lib/gcc-lib/powerpc-ibm-aix4.3.1.0/2.95.2/../../../../include/g++-3
/fsfiles/unit/fcs/gcc-2.95.2/lib/gcc-lib/powerpc-ibm-aix4.3.1.0/2.95.2/../../../../powerpc-ibm-aix4.3.1.0/include
/fsfiles/unit/fcs/gcc-2.95.2/lib/gcc-lib/powerpc-ibm-aix4.3.1.0/2.95.2/include
/usr/include
End of search list.
The following default directories have been omitted from the search
path:
/usr/local/include
End of omitted list.
/fsfiles/unit/fcs/gcc-2.95.2/lib/gcc-lib/powerpc-ibm-aix4.3.1.0/2.95.2/cc1plus
test.ii -quiet -dumpbase test.cc -version -o test.s
GNU C++ version 2.95.2 19991024 (release) (powerpc-ibm-aix4.3.1.0)
compiled by GNU C version 2.95.2 19991024 (release).
as -u -mcom -o test.o test.s
/fsfiles/unit/fcs/gcc-2.95.2/lib/gcc-lib/powerpc-ibm-aix4.3.1.0/2.95.2/collect2
-bpT:0x10000000 -bpD:0x20000000 -btextro -bnodelcsect /lib/crt0.o
-L/fsfiles/unit/fcs/gcc-2.95.2/lib/gcc-lib/powerpc-ibm-aix4.3.1.0/2.95.2
-L/fsfiles/unit/fcs/gcc-2.95.2/lib test.o -lstdc++ -lm
/fsfiles/unit/fcs/gcc-2.95.2/lib/gcc-lib/powerpc-ibm-aix4.3.1.0/2.95.2/libgcc.a
-lc
/fsfiles/unit/fcs/gcc-2.95.2/lib/gcc-lib/powerpc-ibm-aix4.3.1.0/2.95.2/libgcc.a
I've attached the test.ii file. The program coredumps on execution.
It's collect2 that's causing the problem, but that's all I can
tell you, sorry. Thanks,
Brian
test.ii.gz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.ii.gz
Type: application/x-gzip
Size: 24631 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000105/daa30107/attachment.bin>
More information about the Gcc-bugs
mailing list