<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>112410</bug_id>
          
          <creation_ts>2005-11-13 06:26 0000</creation_ts>
          <short_desc>lapack-reference-3.0-r1 fails to compile with ifc due to &quot;cbdsqr.lo: file not recognized: File format not recognized&quot;</short_desc>
          <delta_ts>2005-11-15 19:58:13 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>chris.zapart@yahoo.co.uk</reporter>
          <assigned_to>sci@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>chris.zapart@yahoo.co.uk</who>
            <bug_when>2005-11-13 06:26:05 0000</bug_when>
            <thetext>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 &apos;-mt&apos;; no argument  
required  
 ifc -O3 -xP -ip -mtune=pentium4 -i_dynamic -c izmax1.f -o izmax1.o  
&gt;/dev/null 2&gt;&amp;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 &apos;-mt&apos;; no argument  
required  
 ifc -O3 -xP -ip -mtune=pentium4 -i_dynamic -c dzsum1.f -o dzsum1.o  
&gt;/dev/null 2&gt;&amp;1  
ifortbin: Command line warning: ignoring option &apos;-mt&apos;; 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=&quot;x86&quot; 
AUTOCLEAN=&quot;yes&quot; 
CBUILD=&quot;i686-pc-linux-gnu&quot; 
CFLAGS=&quot;-O3 -xP -ip -mtune=pentium4 -i_dynamic 
-I /opt/intel/compiler90/include&quot; 
CHOST=&quot;i686-pc-linux-gnu&quot; 
CONFIG_PROTECT=&quot;/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&quot; 
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/splash /etc/terminfo /etc/env.d&quot; 
CXXFLAGS=&quot;-O3 -xP -ip -mtune=pentium4 -i_dynamic 
-I /opt/intel/compiler90/include&quot; 
DISTDIR=&quot;/usr/portage/distfiles&quot; 
FEATURES=&quot;autoconfig distlocks sandbox sfperms strict&quot; 
GENTOO_MIRRORS=&quot;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/&quot; 
LANG=&quot;en_GB.UTF-8&quot; 
LINGUAS=&quot;en_GB&quot; 
MAKEOPTS=&quot;-j3&quot; 
PKGDIR=&quot;/usr/portage/packages&quot; 
PORTAGE_TMPDIR=&quot;/var/tmp&quot; 
PORTDIR=&quot;/usr/portage&quot; 
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot; 
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot; 
USE=&quot;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&quot; 
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2005-11-13 10:48:24 0000</bug_when>
            <thetext>Created an attachment (id=72839)
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!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chris.zapart@yahoo.co.uk</who>
            <bug_when>2005-11-13 11:40:51 0000</bug_when>
            <thetext>Markus, 
 
Many thanks - the patch has fixed all compilation problems for lapack-reference too. 
It compiled with ifc and installed OK. 
 
Thanks 
Chris </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2005-11-15 19:58:13 0000</bug_when>
            <thetext>Hi Chris, 
 
Thanks a lot for testing. The patch was applied to the lapack-reference-3.0-r2.ebuild 
in CVS. </thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>72839</attachid>
            <date>2005-11-13 10:48 0000</date>
            <desc>fix linking error for shared libs when using ifc</desc>
            <filename>lapack-reference-ifc-link-gentoo.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGdlbnRvby1kZXZlbG9wbWVudC9nZW50b28teDg2L3NjaS1saWJzL2xhcGFjay1yZWZlcmVu
Y2UvbGFwYWNrLXJlZmVyZW5jZS0zLjAtcjEuZWJ1aWxkCTIwMDUtMTEtMTMgMDU6NDA6MjYuMDAw
MDAwMDAwICswMDAwCisrKyBsYXBhY2stcmVmZXJlbmNlLTMuMC1yMS5lYnVpbGQJMjAwNS0xMS0x
MyAxODowMTo1Mi4wMDAwMDAwMDAgKzAwMDAKQEAgLTgxLDggKzgxLDkgQEAKIAogCWlmIHVzZSBp
ZmM7IHRoZW4KIAkJIyBJbnRlbCBwb3J0YWJpbGl0eSBsaWJyYXJ5IHRoYXQgcHJvdmlkZXMgdGhl
IGV0aW1lIGZ1bmN0aW9uCi0JCSR7RkN9IC1zaGFyZWQgJHtGRkxBR1N9ICoubG8gJHtERVBfTElC
U30gLVdsLC1zb25hbWUgXAotCQkJLVdsLGxpYmxhcGFjay5zby4wIC1vIGxpYmxhcGFjay5zby4w
LjAuMCAtVmF4bGliIHx8IGRpZQorCQlsaWJ0b29sIC0tdGFnPUY3NyAtLW1vZGU9bGluayAke0ZD
fSAtc2hhcmVkICR7RkZMQUdTfSAqLmxvIFwKKwkJCSR7REVQX0xJQlN9IC1XbCwtc29uYW1lIC1X
bCxsaWJsYXBhY2suc28uMCBcCisJCQktbyBsaWJsYXBhY2suc28uMC4wLjAgLVZheGxpYiB8fCBk
aWUKIAkJYXIgY3J1IGxpYmxhcGFjay5hICoubyB8fCBkaWUKIAkJcmFubGliIGxpYmxhcGFjay5h
IHx8IGRpZQogCWVsc2UK
</data>        

          </attachment>
    </bug>

</bugzilla>