[Bug target/13391] AIX: collect2 emits bad code with duplicated symbols
dje at watson dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Thu Mar 4 17:28:00 GMT 2004
------- Additional Comments From dje at watson dot ibm dot com 2004-03-04 17:28 -------
Subject: Re: AIX: collect2 emits bad code with duplicated symbols
The static libraries are being included in the libstc++ archive
because of a bug in ltconfig. Please try the following patch.
* ltconfig: Disable building static libraries if building shared
libraries on AIX 5L.
Index: ltconfig
===================================================================
RCS file: /cvs/gcc/gcc/ltconfig,v
retrieving revision 1.29
diff -c -p -r1.29 ltconfig
*** ltconfig 19 Nov 2003 05:29:32 -0000 1.29
--- ltconfig 4 Mar 2004 17:19:42 -0000
*************** aix3*)
*** 1592,1598 ****
fi
;;
! aix4*)
test "$enable_shared" = yes && enable_static=no
;;
esac
--- 1593,1599 ----
fi
;;
! aix4* | aix5*)
test "$enable_shared" = yes && enable_static=no
;;
esac
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13391
More information about the Gcc-bugs
mailing list