libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#485421: With icc, libtool tries -KPIC (removed option) instead o


From: Ralf Wildenhues
Subject: Re: Bug#485421: With icc, libtool tries -KPIC (removed option) instead of -fPIC
Date: Tue, 24 Jun 2008 20:34:25 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

* Vincent Lefevre wrote on Tue, Jun 24, 2008 at 03:19:25AM CEST:
> On 2008-06-23 20:00:43 +0200, Ralf Wildenhues wrote:
> > - put its $bindir early in PATH, or set LIBTOOLIZE=$bindir/libtoolize,
> 
> I did: export LIBTOOLIZE=$HOME/x86_64/libtool-snapshot/bin/libtoolize
> 
> >   and
> > - either add a line containing the path $libtool_prefix/share/aclocal to
> >   the file $automake_prefix/share/aclocal/dirlist,
> 
> I can't modify it.

One (non-cheap) alternative is to install Autoconf and Automake under
the same prefix as Libtool.

> >   or use 'libtoolize --install' to install libtool.m4 etc. into your
> >   project m4/ directory prior to running autoreconf,
> 
> Running
> 
>   $HOME/x86_64/libtool-snapshot/bin/libtoolize --install
> 
> just installs a symlink ltmain.sh to
> /home/vlefevre/x86_64/libtool-snapshot/share/libtool/config/ltmain.sh

Ah, sorry about that.  I somehow assumed your project uses something
like AC_CONFIG_MACRO_DIR([m4]) in configure.ac and
'ACLOCAL_AMFLAGS = -I m4' in Makefile.am.

> >   or set ACLOCAL="aclocal -I $libtool_prefix/share/aclocal".
> 
> I had already tried that manually, but I'm not sure this one solves
> the problem either:
> 
> $ export ACLOCAL="aclocal -I $HOME/x86_64/libtool-snapshot/share/aclocal"
> $ autoreconf
> /usr/share/aclocal/snacc.m4:24: warning: underquoted definition of 
> AM_PATH_SNACC
> /usr/share/aclocal/snacc.m4:24:   run info '(automake)Extending aclocal'
> /usr/share/aclocal/snacc.m4:24:   or see 
> http://sources.redhat.com/automake/automake.html#Extending-aclocal

The warning is harmless, unlike the rest:

> and aclocal.m4 still contains the libtool.m4 data from Debian's libtool.
> In fact it contains both:
> 
> # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
> 
> # serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL
> [...]
> # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
> #
> #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
> #                 2006, 2007, 2008 Free Software Foundation, Inc.
> [...]
> 
> Is that correct?

That looks wrong.  Hmm, weird.  Could be a bug in libtool.m4, I'd need
to test that.

> >   make check TESTSUITEFLAGS=-V TESTS=tests/sh.test VERBOSE=yes
> 
> /usr/bin/make  check-TESTS check-local
> make[3]: Entering directory `/home/vlefevre/software/libtool-2.2.5a'
> sh.test: ===  Running sh.test
> /home/vlefevre/software/libtool-2.2.5a/libltdl/config/ltmain.sh:3008:         
>    if test $? -eq 0 && test -n "${func_to_host_path_tmp1}"; then
> use `test "$..."' instead of `test $'
> FAIL: tests/sh.test

OK thanks, will fix this (harmless) issue.

Cheers,
Ralf




reply via email to

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