Your message dated Sun, 13 May 2012 15:03:32 -0500
with message-id <20120513200332.GA27203@burratino>
and subject line Re: With icc, libtool tries -KPIC (removed option) instead of 
-fPIC
has caused the Debian Bug report #485421,
regarding With icc, libtool tries -KPIC (removed option) instead of -fPIC
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
485421: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485421
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 produce PIC... -KPIC
checking if icc PIC flag -KPIC works... no
[...]
brocoli:~/software/mpfr-2.3.1> =make
[...]
ld: .libs/exceptions.o: relocation R_X86_64_TPOFF32 against `__gmpfr_emax' can 
not be used when making a shared object; recompile with -fPIC
.libs/exceptions.o: could not read symbols: Bad value
make[1]: *** [libmpfr.la] Error 1
make[1]: Leaving directory `/home/vlefevre/software/mpfr-2.3.1'
make: *** [all-recursive] Error 1
zsh: exit 2     =make

and recompiling with -fPIC in $CFLAGS works.

Note: the icc man page says:

[...]
       -f[no-]pic, -f[no-]PIC
              see Data
[...]
       -f[no-]pic, -f[no-]PIC
              i32 and i64em: This option generates position independent  code.
              By default this option is OFF.

              i64: This option generates code allowing full symbol preemption.
              By default this option is OFF.
[...]
DEPRECATED AND REMOVED OPTIONS
[...]
   Removed Options
       The following options are removed in this release of the compiler:
[...]
       -Kpic, -KPIC
              Suggested replacement -fpic.

       -Knopic, -KNOPIC
              Suggested replacement -fpic.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25.4-20080521 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages libtool depends on:
ii  autotools-dev                 20080123.1 Update infrastructure for config.{
ii  cpp                           4:4.3.0-8  The GNU C preprocessor (cpp)
ii  file                          4.24-2     Determines file type using "magic"
ii  gcc [c-compiler]              4:4.3.0-8  The GNU C compiler
ii  gcc-3.3 [c-compiler]          1:3.3.6-15 The GNU C compiler
ii  gcc-3.4 [c-compiler]          3.4.6-7    The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.2-22   The GNU C compiler
ii  gcc-4.2 [c-compiler]          4.2.4-2    The GNU C compiler
ii  gcc-4.3 [c-compiler]          4.3.1-1    The GNU C compiler
ii  libc6-dev [libc-dev]          2.7-12     GNU C Library: Development Librari

Versions of packages libtool recommends:
ii  libltdl3-dev                  1.5.26-4   A system independent dlopen wrappe

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 2.2.10-1

Vincent Lefevre wrote:

> Build of shared libraries fails with icc 10.1 20080312 because libtool
> tries -KPIC instead of -fPIC:

Fixed by v2.2.6~27 (Newer Intel compilers do not grok -KPIC any more,
2008-06-19), hopefully.  Thanks for making it happen.  Closing
optimistically.

Ciao,
Jonathan


--- End Message ---

Reply via email to