Bug 112390 - sci-libs/blas-reference-19940131-r2 fails to compile due to "caxpy.lo: file not recognized: File format not recognized"
Bug#: 112390 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sci@gentoo.org Reported By: chris.zapart@yahoo.co.uk
Component: Applications
URL: 
Summary: sci-libs/blas-reference-19940131-r2 fails to compile due to "caxpy.lo: file not recognized: File format not recognized"
Keywords:  
Status Whiteboard: 
Opened: 2005-11-13 02:18 0000
Description:   Opened: 2005-11-13 02:18 0000
emerging a new version sci-libs/blas-reference-19940131-r2 fails with 
the following error message: 
 
 ifc -O3 -xP -mtune=pentium4 -i_dynamic -c ztrsv.f  -fPIC -o .libs/ztrsv.o 
ifortbin: Command line warning: ignoring option '-mt'; no argument 
required 
 ifc -O3 -xP -mtune=pentium4 -i_dynamic -c ztrsv.f -o ztrsv.o >/dev/null 
2>&1 
ar cru libblas.a caxpy.o ccopy.o cdotc.o cdotu.o cgbmv.o cgemm.o 
cgemv.o cgerc.o cgeru.o chbmv.o chemm.o chemv.o cher.o cher2.o 
cher2k.o cherk.o chpmv.o chpr.o chpr2.o crotg.o cscal.o csrot.o csscal.o 
cswap.o csymm.o csyr2k.o csyrk.o ctbmv.o ctbsv.o ctpmv.o ctpsv.o 
ctrmm.o ctrmv.o ctrsm.o ctrsv.o dasum.o daxpy.o dcabs1.o dcopy.o ddot.o 
dgbmv.o dgemm.o dgemv.o dger.o dnrm2.o drot.o drotg.o drotm.o 
drotmg.o dsbmv.o dscal.o dsdot.o dspmv.o dspr.o dspr2.o dswap.o 
dsymm.o dsymv.o dsyr.o dsyr2.o dsyr2k.o dsyrk.o dtbmv.o dtbsv.o dtpmv.o 
dtpsv.o dtrmm.o dtrmv.o dtrsm.o dtrsv.o dzasum.o dznrm2.o icamax.o 
idamax.o isamax.o izamax.o lsame.o sasum.o saxpy.o scasum.o scnrm2.o 
scopy.o sdot.o sdsdot.o sgbmv.o sgemm.o sgemv.o sger.o snrm2.o srot.o 
srotg.o srotm.o srotmg.o ssbmv.o sscal.o sspmv.o sspr.o sspr2.o sswap.o 
ssymm.o ssymv.o ssyr.o ssyr2.o ssyr2k.o ssyrk.o stbmv.o stbsv.o stpmv.o 
stpsv.o strmm.o strmv.o strsm.o strsv.o xerbla.o zaxpy.o zcopy.o zdotc.o 
zdotu.o zdrot.o zdscal.o zgbmv.o zgemm.o zgemv.o zgerc.o zgeru.o zhbmv.o 
zhemm.o zhemv.o zher.o zher2.o zher2k.o zherk.o zhpmv.o zhpr.o zhpr2.o 
zrotg.o zscal.o zswap.o zsymm.o zsyr2k.o zsyrk.o ztbmv.o ztbsv.o ztpmv.o 
ztpsv.o ztrmm.o ztrmv.o ztrsm.o ztrsv.o 
ranlib libblas.a 
ifortbin: Command line warning: ignoring option '-mt'; no argument 
required 
caxpy.lo: file not recognized: File format not recognized 
 
!!! ERROR: sci-libs/blas-reference-19940131-r2 failed. 
!!! Function src_compile, Line 64, Exitcode 1 
!!! (no error message) 
!!! If you need support, post the topmost build error, NOT this status 
message. 
 
I'm using the Intel Fortran Compiler version 8.1 to do the compilation. 

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

------- Comment #1 From Markus Dittrich 2005-11-13 05:17:58 0000 -------
Created an attachment (id=72816) [details]
use libtool to properly link shared libs using ifc

I guess we need to use libtool to properly link the shared libraries using
ifc. Could you please test if the patch fixes your compile issues!

------- Comment #2 From Christopher Zapart 2005-11-13 05:45:27 0000 -------
Yes, the patch fixed the compliation issue with blas-reference. It compiled and 
installed OK with ifc. 

However, I've just tried upgrading lapack-reference and it suffered from the
same 
compilation problem as blas did at first. I guess a similar patch is needed to
fix 
lapack-reference. 

Thanks 
Chris 

------- Comment #3 From Markus Dittrich 2005-11-13 08:57:26 0000 -------
Hi Chris,  
  
Thanks for testing! The patch is in portage and I'll close the bug.  
Thanks also for filing the lapack-reference bug, I'll have a look.