[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Incorrect argument to gcc for building dynamic library from archvies
From: |
Ralf Wildenhues |
Subject: |
Re: Incorrect argument to gcc for building dynamic library from archvies on solaris10 |
Date: |
Fri, 19 Jan 2007 07:58:41 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
* address@hidden wrote on Thu, Jan 18, 2007 at 11:45:51AM CET:
> I have found a bug on autoconf 2.61 on solaris 10 using gcc 3.4.6
> When building a dynamic library out of archives (.a) files the -z allextract
> -z defaultextract flags are given to gcc.
> The dynamic library build with theese argument is empty (no code is added).
> Giving only the -z allextract build the correct library with all the code
> inside.
Probably a Libtool bug, as Paul already noted. Please report to the
bug-libtool mailing list with the following information:
./libtool --config
Please also post the libtool link command that caused this output:
> gcc -shared -Wl,-h -Wl,libjasper.so.1 -o .libs/libjasper.so.1.0.0
> .libs/dummy.o -z allextract base/.libs/libbase.a bmp/.libs/libbmp.a
> jp2/.libs/libjp2.a jpc/.libs/libjpc.a jpg/.libs/libjpg.a mif/.libs/libmif.a
> pgx/.libs/libpgx.a pnm/.libs/libpnm.a ras/.libs/libras.a -lm -ljpeg -lc
Thanks,
Ralf