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

2008-06-24 Thread Ralf Wildenhues
* 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

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

2008-06-23 Thread Vincent Lefevre
On 2008-06-23 07:25:59 +0200, Ralf Wildenhues wrote: What I'd like to know is if mpfr works with patched Libtool, and how the Libtool testsuite fares with icc (see README for how to invoke it). I have installed the patched libtool from http://pogma.com/libtool/ in my home directory, but I don't

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

2008-06-23 Thread Vincent Lefevre
On 2008-06-23 07:25:59 +0200, Ralf Wildenhues wrote: What I'd like to know is if mpfr works with patched Libtool, and how the Libtool testsuite fares with icc (see README for how to invoke it). Concerning the testsuite with icc (CC=icc ./configure), I get the following failure (but this isn't

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

2008-06-23 Thread Ralf Wildenhues
* Vincent Lefevre wrote on Mon, Jun 23, 2008 at 10:26:45AM CEST: On 2008-06-23 07:25:59 +0200, Ralf Wildenhues wrote: What I'd like to know is if mpfr works with patched Libtool, and how the Libtool testsuite fares with icc (see README for how to invoke it). I have installed the patched

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

2008-06-23 Thread Vincent Lefevre
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

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

2008-06-22 Thread Vincent Lefevre
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

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

2008-06-22 Thread Ralf Wildenhues
* Vincent Lefevre wrote on Mon, Jun 23, 2008 at 03:08:17AM CEST: 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

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

2008-06-19 Thread Ralf Wildenhues
* Vincent Lefevre wrote on Wed, Jun 18, 2008 at 11:32:08PM CEST: On 2008-06-18 22:31:49 +0200, Ralf Wildenhues wrote: + icpc* ) + # Intel C++, used to be incompatible with GCC. + # ICC 10 doesn't accept -KPIC any more. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'

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

2008-06-09 Thread Vincent Lefevre
Package: libtool Version: 1.5.26-4 Severity: normal Build of shared libraries fails with icc 10.1 20080312 because libtool tries -KPIC instead of -fPIC: brocoli:~/software/mpfr-2.3.1 CC=icc ./configure --prefix=$HOME/icc64 --enable-shared --enable-thread-safe [...] checking for icc option to

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

2008-06-09 Thread Vincent Lefevre
BTW, a search on Google gave: http://www.mail-archive.com/[EMAIL PROTECTED]/msg03958.html -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/ Work: CR INRIA - computer arithmetic / Arenaire project (LIP,

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

2008-06-09 Thread Ralf Wildenhues
Hi Vincent, * Vincent Lefevre wrote on Mon, Jun 09, 2008 at 02:04:15PM CEST: Build of shared libraries fails with icc 10.1 20080312 because libtool tries -KPIC instead of -fPIC: checking for icc option to produce PIC... -KPIC checking if icc PIC flag -KPIC works... no DEPRECATED AND

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

2008-06-09 Thread Vincent Lefevre
On 2008-06-09 14:16:24 +0200, Vincent Lefevre wrote: BTW, a search on Google gave: http://www.mail-archive.com/[EMAIL PROTECTED]/msg03958.html Oops, the patch there is not complete (it was for ifort*, not for icc*). -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ 100%

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

2008-06-09 Thread Vincent Lefevre
Hi Ralf, On 2008-06-09 14:24:00 +0200, Ralf Wildenhues wrote: Sigh. They can't even keep compatibility with their own compiler. (IIRC at the point this code was introduced, -KPIC worked and -fPIC didn't.) Didn't they mark it as deprecated before being removed? Does the configure script