From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25453 invoked by alias); 22 Dec 2008 07:24:08 -0000 Received: (qmail 24962 invoked by uid 48); 22 Dec 2008 07:22:44 -0000 Date: Mon, 22 Dec 2008 07:24:00 -0000 Message-ID: <20081222072244.24961.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/38547] duplicate symbols with g++ on AIX In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tammer at tammer dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-12/txt/msg02030.txt.bz2 ------- 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