Date: Sun, 16 Sep 2007 06:00:12 GMT From: "Thomas D. Dean" <tomdean@speakeasy.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/116166: math/scilab: Scilab 4.1.1 exits with corrupt stack. Message-ID: <200709160600.l8G60Cvo034701@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/116166; it has been noted by GNATS. From: "Thomas D. Dean" <tomdean@speakeasy.org> To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/116166: math/scilab: Scilab 4.1.1 exits with corrupt stack. Date: Sat, 15 Sep 2007 22:57:02 -0700 (PDT) Steve Kargl <sgk@troutmask.apl.washington.edu> pointed out the lapack problem. http://www.netlib.org/lapack/faq.html#1.25 1.25) Problems compiling dlamch.f? The routine dlamch.f (and its dependent subroutines dlamc1, dlamc2, dlamc3, dlamc4, dlamc5) MUST be compiled without optimization. If you downloaded the entire lapack distribution this will be taken care of by the LAPACK/SRC/Makefile. However, if you downloaded a specific LAPACK routine plus dependencies, you need to take care that slamch.f (if you downloaded a single precision real or single precision complex routine) or dlamch.f (if you downloaded a double precision real or double precision complex routine) has been included. # cd /usr/ports/math/lapack # make clean # script 200709152133.build # make # exit # grep -n lamc 200709152133.build 18:( cd INSTALL; make; ./testlsame; ./testslamch; ./testdlamch; ./testsecond; ./testdsecnd; cp lsame.f ../BLAS/SRC/; cp lsame.f ../SRC; cp slamch.f ../SRC/; cp dlamch.f ../SRC/; cp second.f ../SRC/; cp dsecnd.f ../SRC/; cp etime_.c ../SRC/ ) 22:gfortran42 -c slamch.f 23:gfortran42 -O -c slamchtst.f 24:gfortran42 -o testslamch slamch.o lsame.o slamchtst.o 25:gfortran42 -c dlamch.f 26:gfortran42 -O -c dlamchtst.f 27:gfortran42 -o testdlamch dlamch.o lsame.o dlamchtst.o 370:gfortran42 -O -c slamch.f 1013:gfortran42 -O -c dlamch.f 1664:gfortran42 -pg -O -o slamch.po -c slamch.f 2307:gfortran42 -pg -O -o dlamch.po -c dlamch.f 2958:gfortran42 -fpic -DPIC -O -o slamch.So -c slamch.f 3601:gfortran42 -fpic -DPIC -O -o dlamch.So -c dlamch.f slamch.f and dlamch.f are compiled three times. One time without optimizaton and two times WITH optimization! tomdean
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709160600.l8G60Cvo034701>