[Top][All Lists]
[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: |
Wed, 18 Jun 2008 23:32:08 +0200 |
User-agent: |
Mutt/1.5.18-vl-r22984 (2008-06-11) |
Hi Ralf,
On 2008-06-18 22:31:49 +0200, Ralf Wildenhues wrote:
> diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
> index a2a4534..4a8d3e5 100644
> --- a/libltdl/m4/libtool.m4
> +++ b/libltdl/m4/libtool.m4
> @@ -3703,8 +3703,15 @@ m4_if([$1], [CXX], [
> _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
> _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
> ;;
> - icpc* | ecpc* )
> - # Intel C++
> + ecpc* )
> + # old Intel C++ for x86_64 which still supported -KPIC.
> + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
> + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
> + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
> + ;;
> + 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,'
> _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
^^^^^
Shouldn't it be '-fPIC'?
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.
--
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)
- Re: Bug#485421: With icc, libtool tries -KPIC (removed option) instead of -fPIC, Ralf Wildenhues, 2008/06/18
- Re: Bug#485421: With icc, libtool tries -KPIC (removed option) instead of -fPIC,
Vincent Lefevre <=
- Re: Bug#485421: With icc, libtool tries -KPIC (removed option) instead of -fPIC, Ralf Wildenhues, 2008/06/19
- Re: Bug#485421: With icc, libtool tries -KPIC (removed option) instead of -fPIC, Vincent Lefevre, 2008/06/22
- Re: Bug#485421: With icc, libtool tries -KPIC (removed option) instead of -fPIC, Ralf Wildenhues, 2008/06/23
- Re: Bug#485421: With icc, libtool tries -KPIC (removed option) instead of -fPIC, Vincent Lefevre, 2008/06/23
- Re: Bug#485421: With icc, libtool tries -KPIC (removed option) instead of -fPIC, Ralf Wildenhues, 2008/06/23
- Re: Bug#485421: With icc, libtool tries -KPIC (removed option) instead of -fPIC, Vincent Lefevre, 2008/06/23
- Re: Bug#485421: With icc, libtool tries -KPIC (removed option) instead of -fPIC, Ralf Wildenhues, 2008/06/24
- Re: Bug#485421: With icc, libtool tries -KPIC (removed option) instead of -fPIC, Vincent Lefevre, 2008/06/23