[Bug target/38547] duplicate symbols with g++ on AIX

2011-05-15 Thread tammer at tammer dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38547 --- Comment #21 from Rainer Tammer 2011-05-15 09:20:15 UTC --- Hello, Sorry for the delayed answer. On 02.05.2011 19:41, jqian at tibco dot com wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38547 > > --- Comment #20 from Jason Qian 2011-

[Bug target/38547] duplicate symbols with g++ on AIX

2011-05-02 Thread jqian at tibco dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38547 --- Comment #20 from Jason Qian 2011-05-02 17:35:23 UTC --- Comment on attachment 16962 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=16962 errors during build Hi Rainer I got the same message using gcc4.4.0 ob AIX 5.3 Duplicate symbol:

[Bug target/38547] duplicate symbols with g++ on AIX

2009-01-25 Thread tammer at tammer dot net
--- Comment #19 from tammer at tammer dot net 2009-01-25 09:18 --- Hello, I second that. Bye Rainer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38547

[Bug target/38547] duplicate symbols with g++ on AIX

2009-01-21 Thread bruprz1 at lhsystems dot pl
--- Comment #18 from bruprz1 at lhsystems dot pl 2009-01-21 14:39 --- (In reply to comment #13) > symbols. The assembly files generated by GCC for AIX always have included > multiple symbol definitions for certain global variable and function If I understand correctly, that statement me

[Bug target/38547] duplicate symbols with g++ on AIX

2008-12-22 Thread tammer at tammer dot net
--- Comment #17 from tammer at tammer dot net 2008-12-22 12:31 --- Hello, I found one interesting thing: The call (for .libs/libstdc++.so.6) which produced the error messaged ends in: ${wl}-berok Should this not be: -Wl,-berok Bye Rainer -- http://gcc.gnu.org/bugzilla/show_bug

[Bug target/38547] duplicate symbols with g++ on AIX

2008-12-22 Thread tammer at tammer dot net
--- Comment #16 from tammer at tammer dot net 2008-12-22 12:17 --- Created an attachment (id=16962) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16962&action=view) errors during build -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38547

[Bug target/38547] duplicate symbols with g++ on AIX

2008-12-22 Thread tammer at tammer dot net
--- Comment #15 from tammer at tammer dot net 2008-12-22 12:16 --- Hello, I just started my own build of 4.2.4 ... During stage3 I get the following errors: ld: 0711-768 WARNING: Object ../libsupc++/.libs/libsupc++convenience.a[eh_terminate.o], section 1, function .__cxxabiv1::__termin

[Bug target/38547] duplicate symbols with g++ on AIX

2008-12-22 Thread tammer at tammer dot net
--- Comment #14 from tammer at tammer dot net 2008-12-22 09:48 --- Hello, yes, the binary executes. So these symbols should be removed from the export file from ligbcc_s.a then? I will build gcc 4.2.4 on my build machine (AIX 5.3) with the SPEC file/patch from Mr. Perzl. Then I will lo

[Bug target/38547] duplicate symbols with g++ on AIX

2008-12-22 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2008-12-22 08:17 --- Oh, you should read the installation instructions: http://gcc.gnu.org/install/specific.html Linking executables and shared libraries may produce warnings of duplicate symbols. The assembly files generated by GCC

[Bug target/38547] duplicate symbols with g++ on AIX

2008-12-22 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2008-12-22 08:11 --- Actually those symbols in libgcc_s.a should be hidden ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38547

[Bug target/38547] duplicate symbols with g++ on AIX

2008-12-22 Thread tammer at tammer dot net
--- Comment #11 from tammer at tammer dot net 2008-12-22 08:03 --- Hello, one clarification ... this happened with all 4.x gcc versions ... This means I have tried to build gcc 4.x myself and I ran in the same problem that the symbols come from two libraries. One library provides the s

[Bug target/38547] duplicate symbols with g++ on AIX

2008-12-21 Thread tammer at tammer dot net
--- Comment #10 from tammer at tammer dot net 2008-12-22 07:57 --- Created an attachment (id=16960) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16960&action=view) AIX gcc 4.2.4 spec file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38547

[Bug target/38547] duplicate symbols with g++ on AIX

2008-12-21 Thread tammer at tammer dot net
--- Comment #9 from tammer at tammer dot net 2008-12-22 07:56 --- Created an attachment (id=16959) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16959&action=view) AIX gcc 4.2.4 patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38547

[Bug target/38547] duplicate symbols with g++ on AIX

2008-12-21 Thread tammer at tammer dot net
--- Comment #8 from tammer at tammer dot net 2008-12-22 07:56 --- Hello, this happened with all 4.x gcc versions. This version is from www.perzl.org. There is only a tiny patch to the build files (see attachment). Bye Rainer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38547

[Bug target/38547] duplicate symbols with g++ on AIX

2008-12-21 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2008-12-22 07:46 --- -lgcc_s /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/libgcc.a That should not happen. In fact I am reading init_gcc_specs correctly, you have a modified GCC version. Did you compile this GCC yourself or is t

[Bug target/38547] duplicate symbols with g++ on AIX

2008-12-21 Thread tammer at tammer dot net
--- Comment #6 from tammer at tammer dot net 2008-12-22 07:28 --- Hello, I have uploaded the dump of ligbcc.a and libgcc_s.a. Bye Rainer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38547

[Bug target/38547] duplicate symbols with g++ on AIX

2008-12-21 Thread tammer at tammer dot net
--- Comment #5 from tammer at tammer dot net 2008-12-22 07:27 --- Created an attachment (id=16958) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16958&action=view) libgcc_s dump -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38547

[Bug target/38547] duplicate symbols with g++ on AIX

2008-12-21 Thread tammer at tammer dot net
--- Comment #4 from tammer at tammer dot net 2008-12-22 07:27 --- Created an attachment (id=16957) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16957&action=view) libgcc dump -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38547

[Bug target/38547] duplicate symbols with g++ on AIX

2008-12-21 Thread tammer at tammer dot net
--- 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 --

[Bug target/38547] duplicate symbols with g++ on AIX

2008-12-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-21 23:00 --- .__divdi3 {/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/libgcc_s.a[shr.o]} ** Duplicate ** ../../gcc-4.2.4/gcc/libgcc2.c(/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/libgcc.a[