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: Mon, 23 Jun 2008 03:08:17 +0200
User-agent: Mutt/1.5.18-vl-r22984 (2008-06-11)

On 2008-06-19 19:39:09 +0200, Ralf Wildenhues wrote:
> > Unfortunately I can't try the patch on the same machine because the
> > icc license has expired a few days ago (it was just an evaluation
> > version). However I have access to another machine with icc installed;
> > this is a different version, but it's also a version that doesn't
> > accept -KPIC, so I assume the test will be significant.
> 
> I've applied the patch with the above fixed now.  I'll find a system or
> a person to test this for me.

OK, finally I've just seen that on the other machine I mentioned
(itanium), the old libtool was working, i.e. it selected -fPIC. If
I understand the libtool code, libtool was selecting -KPIC only if
the GCC test failed, and this would mean that this test was failing
on x86_64 with icc 10.1 20080312. I was wondering why, and this is
because MPFR's configure.in unsets GCC if __ICC is defined (I don't
know why, I didn't write this code). It is defined on x86_64, but
not on itanium!!! The icc version is a bit older on itanium, but
this code was written on 2004-09-20 anyway.

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