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: Vincent Lefevre
Subject: Re: Bug#485421: With icc, libtool tries -KPIC (removed option) instead of -fPIC
Date: Tue, 24 Jun 2008 03:19:25 +0200
User-agent: Mutt/1.5.18-vl-r22984 (2008-06-11)

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.

>   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

>   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

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?

> * Vincent Lefevre wrote on Mon, Jun 23, 2008 at 01:07:53PM CEST:
> > Concerning the testsuite with icc (CC=icc ./configure), I get the
> > following failure (but this isn't related to icc):
> > 
> > FAIL: tests/sh.test
> 
> Please post output of
>   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

-- 
Vincent Lefèvre <address@hidden> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)




reply via email to

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