This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/38547] duplicate symbols with g++ on AIX
- From: "tammer at tammer dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Dec 2008 07:22:44 -0000
- Subject: [Bug target/38547] duplicate symbols with g++ on AIX
- References: <bug-38547-15635@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from tammer at tammer dot net 2008-12-22 07:22 -------
Hello,
here is the -v log:
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../gcc-4.2.4/configure --with-as=/usr/bin/as
--with-ld=/usr/bin/ld --enable-languages=c,c++,fortran --prefix=/opt/freeware
--enable-threads --enable-version-specific-runtime-libs --disable-nls
--enable-decimal-float=dpd --host=powerpc-ibm-aix5.3.0.0
Thread model: aix
gcc version 4.2.4
/opt/freeware/libexec/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/cc1plus -quiet -v
-D_ALL_SOURCE hello.cpp -quiet -dumpbase hello.cpp -auxbase hello -version -o
/tmp//ccyHZAZn.s
ignoring nonexistent directory
"/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/../../../../powerpc-ibm-aix5.3.0.0/include"
#include "..." search starts here:
#include <...> search starts here:
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/include/c++
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/include/c++/powerpc-ibm-aix5.3.0.0
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/include/c++/backward
/usr/local/include
/opt/freeware/include
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/include
/usr/include
End of search list.
GNU C++ version 4.2.4 (powerpc-ibm-aix5.3.0.0)
compiled by GNU C version 4.2.4.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=32768
Compiler executable checksum: aad024cebe4ac3095c87c9dcfa7fc033
/usr/bin/as -u -mppc -o /tmp//ccQD9A51.o /tmp//ccyHZAZn.s
/opt/freeware/libexec/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/collect2
-bpT:0x10000000 -bpD:0x20000000 -btextro -bnodelcsect -o hello /lib/crt0.o
-L/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4
-L/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/../../.. /tmp//ccQD9A51.o
-lstdc++ -lm -lgcc_s
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/libgcc.a -lc -lgcc_s
/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/libgcc.a
ld: 0711-224 WARNING: Duplicate symbol: .__divdi3
ld: 0711-224 WARNING: Duplicate symbol: .__moddi3
ld: 0711-224 WARNING: Duplicate symbol: .__udivdi3
ld: 0711-224 WARNING: Duplicate symbol: .__umoddi3
ld: 0711-224 WARNING: Duplicate symbol: .__udivmoddi4
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
Bye
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38547