dead code in build.sh?

Gaetan Nadon memsize at videotron.ca
Tue Sep 21 15:08:17 PDT 2010


On Tue, 2010-09-21 at 14:50 -0700, Alan Coopersmith wrote:

> libtool 2.x is better than 1.x, which made it impossible to correctly
> build 64-bit libraries on Solaris, since it hardcoded in the libtool
> script the ld flag for 64-bit builds, and thus failed when using
> $(LD)=$(CC) as recommended to ensure the right language-specific
> bits/flags are passed to the linker by the compiler.
> 

We just had a discussion about making libtool v2 the minimum required
version.
I did not investigate thoroughly, but when the module as an m4 directory
libtool copies
its macros there and they are used on system with v 1.5. So as long as
the tarball
is created with v2, you know it won't be linked using v1.5. Unless of
course someone autoreconf
the tarball with v1.5. 

> I've still had other problems with 2.x deciding to drop linker options
> it didn't want me to use.   And of course, hacking install.sh to never
> install a .la file improves things a lot.

AC_DISABLE_STATIC (called before AC_PROG_LIBTOOL) should do that, or
calling ./configure
with --disable-static. Sorry, I can only suggests trivial solutions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100921/8047b302/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100921/8047b302/attachment.pgp>


More information about the xorg-devel mailing list