The atlas port build fails with a misleading message about not having a pre-2.9.6 version of gcc installed when building on a version of FreeBSD 7 or 8 where the native compiler is gcc 4.2.x. [snip] /usr/bin/gcc : v4.2.1 F77 = /usr/local/bin/gfortran42 -O CC = /usr/bin/cc -fomit-frame-pointer -O -mfpmath=387 -m32 MCC = /usr/bin/cc -fomit-frame-pointer -O -mfpmath=387 -m32 ATLAS has detected that you are running on an x86 architecture (eg., Athlon, P4, PIII, etc), but do not have a pre-2.96 gcc installed. Using gcc 3/2.96 will result in a performance loss of 10-20% IN THE BEST CASE over a gcc previous to 2.96. If your install goes slightly wrong, performance drops of 50% are more normal with these compilers. Full details of this problem can be found at: http://www.cs.utk.edu/~rwhaley/ATLAS/gcc30.html In the meantime, we suggest you abondon this ATLAS install, and install a gcc that delivers decent x86 performance, and restart the install then. You do not need to be root to install, and full instructions, along with all needed files, are given in the ATLAS errata file at: http://math-atlas.sourceforge.net/errata.html#UnixGccInst Stop ATLAS install? [y]: *** Error code 255 According to <http://math-atlas.sourceforge.net/errata3.6.0.html#gcc4>, gcc 4.2.x should work well for building ATLAS, but 4.0.x and 4.1.x should not be used. Fix: Either upgrade the port to the new stable version of ATLAS (3.8.0), or apply the following patch to the port: How-To-Repeat: Attempt to build the atlas port on an i386 machine with a version of FreeBSD that uses gcc 4.2.x as its native compiler.
Responsible Changed From-To: freebsd-ports-bugs->maho Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=118270 Adding to audit trail from misfiled PR ports/118276: Date: Tue, 27 Nov 2007 11:12:44 +0900 (JST)
maho 2007-12-19 22:47:57 UTC FreeBSD ports repository Modified files: math/atlas Makefile distinfo pkg-descr pkg-plist math/atlas/files Makefile.test patch-tune+sysinfo+L1CacheSize.c thread-patch Added files: math/atlas/files patch-CONFIG+src+SpewMakeInc.c patch-CONFIG+src+atlcomp.txt patch-CONFIG+src+backend+archinfo_freebsd.c patch-CONFIG+src+backend+archinfo_x86.c Removed files: math/atlas/files blas.h lapack.h patch-ATL_cmmJIK.c patch-ATL_dmm4x4x8_US.c patch-Make.top patch-USIII.flg patch-config.c patch-ilaenv.f patch-mmsearch.c patch-tfc.c timing_tolerance-patch Log: Update to 3.8.0. Only verified on i386 and amd64 FreeBSD 7BETA. Discussions with: bf <bf2006a@yahoo.com>, truckman and Tijl Coosemans <tijl@ulyssis.org>. PR: 118270 and 118271 Revision Changes Path 1.53 +137 -119 ports/math/atlas/Makefile 1.11 +3 -3 ports/math/atlas/distinfo 1.3 +12 -12 ports/math/atlas/files/Makefile.test 1.4 +0 -857 ports/math/atlas/files/blas.h (dead) 1.4 +0 -5085 ports/math/atlas/files/lapack.h (dead) 1.2 +0 -14 ports/math/atlas/files/patch-ATL_cmmJIK.c (dead) 1.2 +0 -14 ports/math/atlas/files/patch-ATL_dmm4x4x8_US.c (dead) 1.1 +21 -0 ports/math/atlas/files/patch-CONFIG+src+SpewMakeInc.c (new) 1.1 +119 -0 ports/math/atlas/files/patch-CONFIG+src+atlcomp.txt (new) 1.1 +75 -0 ports/math/atlas/files/patch-CONFIG+src+backend+archinfo_freebsd.c (new) 1.1 +10 -0 ports/math/atlas/files/patch-CONFIG+src+backend+archinfo_x86.c (new) 1.2 +0 -13 ports/math/atlas/files/patch-Make.top (dead) 1.2 +0 -27 ports/math/atlas/files/patch-USIII.flg (dead) 1.16 +0 -197 ports/math/atlas/files/patch-config.c (dead) 1.2 +0 -220 ports/math/atlas/files/patch-ilaenv.f (dead) 1.2 +0 -16 ports/math/atlas/files/patch-mmsearch.c (dead) 1.2 +0 -13 ports/math/atlas/files/patch-tfc.c (dead) 1.2 +5 -5 ports/math/atlas/files/patch-tune+sysinfo+L1CacheSize.c 1.4 +12 -11 ports/math/atlas/files/thread-patch 1.2 +0 -12 ports/math/atlas/files/timing_tolerance-patch (dead) 1.5 +16 -10 ports/math/atlas/pkg-descr 1.10 +9 -64 ports/math/atlas/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Fixed by upgrading to 3.8.0.