Date: Thu, 2 Dec 2010 09:50:24 GMT From: Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/152771: LAPACK 3.3.0 port lacks some routines Message-ID: <201012020950.oB29oOPW093837@red.freebsd.org> Resent-Message-ID: <201012021000.oB2A0MAb082206@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 152771 >Category: ports >Synopsis: LAPACK 3.3.0 port lacks some routines >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 02 10:00:22 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Eijiro Shibusawa >Release: FreeBSD 8.1-RELEASE >Organization: >Environment: FreeBSD myhost.jp 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The lapack shared library liblapack.so.4 (installed port version 3.3.0) lacks following single precision routines. spotrs sgetrs sgetrf The patchfile files/shared-patch-SRC+Makefile fixes gcc's "multiple definition" error, however it also removes some objects that should be preserved. >How-To-Repeat: # cd /usr/ports/math/lapack # make install clean $ gcc45 -v Using built-in specs. COLLECT_GCC=gcc45 COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc45/gcc/x86_64-portbld-freebsd8.1/4.5.2/lto-wrapper Target: x86_64-portbld-freebsd8.1 Configured with: ./../gcc-4.5-20101125/configure --enable-lto=no --disable-nls --libdir=/usr/local/lib/gcc45 --libexecdir=/usr/local/libexec/gcc45 --program-suffix=45 --with-as=/usr/local/bin/as --with-gmp=/usr/local --with-gxx-include-dir=/usr/local/lib/gcc45/include/c++/ --with-ld=/usr/local/bin/ld --with-libiconv-prefix=/usr/local --with-system-zlib --disable-rpath --enable-libgcj --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/gcc45 --build=x86_64-portbld-freebsd8.1 Thread model: posix gcc version 4.5.2 20101125 (prerelease) (GCC) $ nm -D /usr/local/lib/liblapack.so.4 | grep spotrs U spotrs_ $ nm -D /usr/local/lib/liblapack.so.4 | grep sgetrs U sgetrs_ $ nm -D /usr/local/lib/liblapack.so.4 | grep sgetrf U sgetrf_ >Fix: Patch attached with submission follows: diff -uNr /usr/ports/math/lapack/./Makefile ./Makefile --- /usr/ports/math/lapack/./Makefile 2010-11-30 17:41:56.000000000 +0900 +++ ./Makefile 2010-12-02 18:36:56.000000000 +0900 @@ -7,6 +7,7 @@ PORTNAME= lapack PORTVERSION= 3.3.0 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= ftp://ftp.netlib.org/lapack/ \ http://netlib.org/lapack/ \ diff -uNr /usr/ports/math/lapack/./files/shared-patch-SRC+Makefile ./files/shared-patch-SRC+Makefile --- /usr/ports/math/lapack/./files/shared-patch-SRC+Makefile 2010-11-30 17:41:56.000000000 +0900 +++ ./files/shared-patch-SRC+Makefile 2010-12-02 18:37:09.000000000 +0900 @@ -1,5 +1,23 @@ ---- SRC/Makefile.org 2009-04-13 15:49:29.000000000 +0900 -+++ SRC/Makefile 2009-04-13 15:49:36.000000000 +0900 +--- SRC/Makefile.orig 2010-12-02 18:22:06.000000000 +0900 ++++ SRC/Makefile 2010-12-02 18:23:32.000000000 +0900 +@@ -98,7 +98,7 @@ + sgels.o sgelsd.o sgelss.o sgelsx.o sgelsy.o sgeql2.o sgeqlf.o \ + sgeqp3.o sgeqpf.o sgeqr2.o sgeqr2p.o sgeqrf.o sgeqrfp.o sgerfs.o \ + sgerq2.o sgerqf.o sgesc2.o sgesdd.o sgesv.o sgesvd.o sgesvx.o \ +- sgetc2.o sgetf2.o sgetri.o \ ++ sgetc2.o sgetf2.o sgetrf.o sgetri.o sgetrs.o \ + sggbak.o sggbal.o sgges.o sggesx.o sggev.o sggevx.o \ + sggglm.o sgghrd.o sgglse.o sggqrf.o \ + sggrqf.o sggsvd.o sggsvp.o sgtcon.o sgtrfs.o sgtsv.o \ +@@ -123,7 +123,7 @@ + sormr3.o sormrq.o sormrz.o sormtr.o spbcon.o spbequ.o spbrfs.o \ + spbstf.o spbsv.o spbsvx.o \ + spbtf2.o spbtrf.o spbtrs.o spocon.o spoequ.o sporfs.o sposv.o \ +- sposvx.o spotf2.o spotrf.o spotri.o spstrf.o spstf2.o \ ++ sposvx.o spotf2.o spotrf.o spotri.o spotrs.o spstrf.o spstf2.o \ + sppcon.o sppequ.o \ + spprfs.o sppsv.o sppsvx.o spptrf.o spptri.o spptrs.o sptcon.o \ + spteqr.o sptrfs.o sptsv.o sptsvx.o spttrs.o sptts2.o srscl.o \ @@ -146,7 +146,7 @@ sgeequb.o ssyequb.o spoequb.o sgbequb.o \ sbbcsd.o slapmr.o sorbdb.o sorcsd.o >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012020950.oB29oOPW093837>