egcs.1.1.1 fails to link on RS6000-AIX.4.3.1.0
Jordi de Antonio
j_antonio@mtsa.com
Tue Dec 29 04:34:00 GMT 1998
Hi,
ÃÂ
I've found a linker error on
IBM-AIX-4.3.1 when using basic_string to declare other than
basic_string<char> (p.e. basic_string<double>).
ÃÂ
Follows the stdout and stderr of a
build run over a simple test file (only declares and uses a
basic_string<char>).
ÃÂ
Attached is the preprocessor's output
(compressed using bzip2).
ÃÂ
-------- senda%> g++ -v
--save-temps -o fail fail.C Reading specs from
/home/senda/gnuCC.2/lib/gcc-lib/rs6000-ibm-aix4.3.1.0/egcs-2.91.60/specs gcc
version egcs-2.91.60 19981201 (egcs-1.1.1
release) ÃÂ /home/senda/gnuCC.2/lib/gcc-lib/rs6000-ibm-aix4.3.1.0/egcs-2.91.60/cpp
-lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91
-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 fail.C
fail.ii GNU CPP version egcs-2.91.60 19981201 (egcs-1.1.1
release) #include "..." search starts here: #include <...>
search starts
here: ÃÂ /home/senda/gnuCC.2/include/g++ ÃÂ /home/senda/gnuCC.2/rs6000-ibm-aix4.3.1.0/include ÃÂ /home/senda/gnuCC.2/lib/gcc-lib/rs6000-ibm-aix4.3.1.0/egcs-2.91.60/include ÃÂ /usr/include End
of search
list. ÃÂ /home/senda/gnuCC.2/lib/gcc-lib/rs6000-ibm-aix4.3.1.0/egcs-2.91.60/cc1plus
fail.ii -quiet -dumpbase fail.cc -version -o fail.s GNU C++ version
egcs-2.91.60 19981201 (egcs-1.1.1 release) (rs6000-ibm-aix4.3.1.0) compiled by
GNU C version egcs-2.91.60 19981201 (egcs-1.1.1 release). ÃÂ as -u -mcom
-o fail.o
fail.s ÃÂ /home/senda/gnuCC.2/lib/gcc-lib/rs6000-ibm-aix4.3.1.0/egcs-2.91.60/collect2
-bpT:0x10000000 -bpD:0x20000000 -btextro -bnodelcsect -o fail /lib/crt0.o
-L/home/senda/gnuCC.2/lib/gcc-lib/rs6000-ibm-aix4.3.1.0/egcs-2.91.60
-L/home/senda/gnuCC.2/rs6000-ibm-aix4.3.1.0/lib -L/home/senda/gnuCC.2/lib fail.o
-lstdc++ -lm
/home/senda/gnuCC.2/lib/gcc-lib/rs6000-ibm-aix4.3.1.0/egcs-2.91.60/libgcc.a -lc
/home/senda/gnuCC.2/lib/gcc-lib/rs6000-ibm-aix4.3.1.0/egcs-2.91.60/libgcc.a ld:
0711-317 ERROR: Undefined symbol: basic_string<double,
string_char_traits<double>, __default_alloc_template<0, 0>
>::nilRep ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain
more information. collect2: ld returned 8 exit
status --------------
ÃÂ
I'm not using gnu-ld nor
gnu-as. Greets.
Jordi de Antonio
j_antonio@mtsa.com
FAIL-II.BZ2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FAIL-II.BZ2
Type: application/x-bzip2
Size: 22147 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19981229/f30ea814/attachment.bz2>
More information about the Gcc-bugs
mailing list