bug-autoconf
[Top][All Lists]
Advanced

[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: Sat, 20 Jan 2007 10:36:19 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* Frederic Goudal wrote on Fri, Jan 19, 2007 at 09:56:01AM CET:
> * Ralf Wildenhues <address@hidden> wrote:
> >* address@hidden wrote on Thu, Jan 18, 2007 at 11:45:51AM CET:
> >
> >> 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
> 
> Ok. I don't really understand how autoconf and libtool are working togather.
> Effectivelly the ./libtool --config gives a line with  :

Look, Frederic.  We may be able to explain what's going wrong, or
whether you will need to upgrade Libtool, and if you need to, how to
achieve this.  But before I can do that, I need to know more
information.  And I need *exactly* the information that I asked for, at
least; possibly more, but I will ask for that later then.  Also I ask
you not to try to upgrade the Libtool files in your package *just yet*,
because then your bug will be a moving target for me.  I cannot help you
if all you tell me is your guesswork.  Here's a good text to read:
<http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>.

So please do exactly as I asked.  Post the complete output, and please
post to the bug-libtool list; this topic is not the right one for the
bug-autoconf list.  This is so that both I will be able to find this
discussion again two years from now, and that other users that have the
same problem but know that it's about Libtool, will be able to search
for it efficiently.

Here's what I asked last time, again:

>>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

If you do not understand the above, don't hesitate to ask.

Hope that helps.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]