emerging a newer lapack-reference-3.0-r1 produced compilation errors
due to linking problems:
libtool --mode=compile --tag=F77 ifc -O3 -xP -ip -mtune=pentium4
-i_dynamic -c izmax1.f
ifc -O3 -xP -ip -mtune=pentium4 -i_dynamic -c izmax1.f -fPIC
-o .libs/izmax1.o
ifortbin: Command line warning: ignoring option '-mt'; no argument
required
ifc -O3 -xP -ip -mtune=pentium4 -i_dynamic -c izmax1.f -o izmax1.o
>/dev/null 2>&1
libtool --mode=compile --tag=F77 ifc -O3 -xP -ip -mtune=pentium4
-i_dynamic -c dzsum1.f
ifc -O3 -xP -ip -mtune=pentium4 -i_dynamic -c dzsum1.f -fPIC
-o .libs/dzsum1.o
ifortbin: Command line warning: ignoring option '-mt'; no argument
required
ifc -O3 -xP -ip -mtune=pentium4 -i_dynamic -c dzsum1.f -o dzsum1.o
>/dev/null 2>&1
ifortbin: Command line warning: ignoring option '-mt'; no argument
required
cbdsqr.lo: file not recognized: File format not recognized
!!! ERROR: sci-libs/lapack-reference-3.0-r1 failed.
!!! Function src_compile, Line 85, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status
message.
The same problem has been encountered in upgrading the blas-reference
package. A solution (a patch for blas-reference) has been included in the
bug report http://bugs.gentoo.org/show_bug.cgi?id=112390
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r5 i686)
=================================================================
System uname: 2.6.13-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -xP -ip -mtune=pentium4 -i_dynamic
-I /opt/intel/compiler90/include"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -xP -ip -mtune=pentium4 -i_dynamic
-I /opt/intel/compiler90/include"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirror.nutsmaas.nl/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/
http://gentoo.tiscali.nl/gentoo/"
LANG="en_GB.UTF-8"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aac acl alsa apm arts audiofile avi berkdb bitmap-fonts
bonobo bzip2 cdr cjk crypt cups curl divx4linux dvd eds emboss encode
esd exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp
gnome gpm gstreamer gtk gtk2 gtkhtml guile idn ifc imagemagick imlib
immqt-bc ipv6 java joystick jpeg junit kde lcms libg++ libwww lirc lua mad
mikmod mjpeg mmx mmxext mng motif mozilla mp3 mpeg mysql nas
ncurses nls nptl ogg oggvorbis openal opengl oss pam pcre pdflib perl png
ppds python qt quicktime readline real recode scanner sdl spell sse sse2
sse3 ssl svga tcltk tcpd tetex threads tiff truetype truetype-fonts
type1-fonts udev unicode usb vorbis win32codecs xine xml xml2 xmms xv
xvid zlib video_cards_radeon linguas_en_GB userland_GNU kernel_linux
elibc_glibc"
Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Created an attachment (id=72839) [details]
fix linking error for shared libs when using ifc
Hi Chris,
Thanks for the report. Looks like libtool is needed to link the shared libs
in case of ifc (similar to your earlier report for blas-reference bug #112390).
The attached patch fixes this for me, please give it a spin. Thanks!