libtool: link order problem affecting gij
Bryce McKinlay
bryce@waitaki.otago.ac.nz
Tue May 15 22:35:00 GMT 2001
Jeff Sturm wrote:
> On Sun, 13 May 2001, Bryce McKinlay wrote:
> > libtool inserting lib flags ("-lgcc_s -lc -lgcc_s") into the gcj link
> > command line _before_ other lib flags which we are passing to it. This
> > means that libc is being linked before libpthread, which is bad:
>
> Yeah. This has been happening for a little while:
>
> http://gcc.gnu.org/ml/java/2001-04/msg00297.html
> Does Zack's patch help?
>
> http://gcc.gnu.org/ml/java-patches/2001-q2/msg00166.html
>
> By eliminating libsupc++ from the build, its side effects (linking with
> explicit -lc) should go away.
Zack's patch does indeed fix this problem and I notice that he has checked
it in. Thanks Zack!
regards
[ bryce ]
More information about the Java
mailing list