make[5]: Entering directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/tune/blas/gemm' gcc -c -DL2SIZE=4194304 -I/var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/include -I/var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/..//include -I/var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/..//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_P4 -DATL_CPUMHZ=1800 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -O2 -march=pentium3 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb -m32 /var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/..//tune/blas/gemm/userflag.c /var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/..//tune/blas/gemm/userflag.c: In function ‘NumUserCases0’: /var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/..//tune/blas/gemm/userflag.c:58: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result /var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/..//tune/blas/gemm/userflag.c: In function ‘GetUserCase’: /var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/..//tune/blas/gemm/userflag.c:100: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result /var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/..//tune/blas/gemm/userflag.c:101: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result gcc -DL2SIZE=4194304 -I/var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/include -I/var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/..//include -I/var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/..//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_P4 -DATL_CPUMHZ=1800 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -O2 -march=pentium3 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb -m32 -o xuserflag userflag.o userflag.o: In function `GoGetThem': /var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/..//tune/blas/gemm/userflag.c:154: warning: the use of `tmpnam' is dangerous, better use `mkstemp' rm -f ATL_tMpFiLe /var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/bin/xsubstr -o ATL_tMpFiLe -i /var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/..//tune/blas/gemm/CASES/scases.SSE \ -s '^gcc' 'gcc -m32' -s ' gcc' ' gcc -m32' ./xuserflag -i ATL_tMpFiLe -o scases.SSE gcc -m32 -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c gcc -m32 -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c gcc -m32 -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c gcc -m32 -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c gcc -m32 -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c gcc -m32 -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c gcc -m32 -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c gcc -m32 -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c gcc -m32 -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c gcc -m32 -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c gcc -m32 -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c gcc -m32 -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c gcc -m32 -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c gcc -m32 -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c gcc -m32 -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c gcc -m32 -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c gcc -m32 -x c -c -DATL_BETA=1 FlagCheck.c gcc -m32 -x c -c -DATL_BETA=1 FlagCheck.c gcc -m32 -x c -c -DATL_BETA=1 FlagCheck.c gcc -m32 -x c -c -DATL_BETA=1 FlagCheck.c gcc -m32 -x c -c -DATL_BETA=1 FlagCheck.c gcc -m32 -x c -c -DATL_BETA=1 FlagCheck.c gcc -m32 -x c -c -DATL_BETA=1 FlagCheck.c gcc -m32 -x c -c -DATL_BETA=1 FlagCheck.c rm -f ATL_tMpFiLe make[5]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/tune/blas/gemm' make[5]: Entering directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/tune/blas/gemm' rm -f ATL_tMpFiLe /var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/bin/xsubstr -o ATL_tMpFiLe -i /var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/..//tune/blas/gemm/CASES/scases.flg \ -s '^gcc' 'gcc -m32' -s ' gcc' ' gcc -m32' ./xuserflag -i ATL_tMpFiLe -o scases.flg `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. FlagCheck.c:1: error: bad value (ultrasparc) for -mtune= switch `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. FlagCheck.c:1: error: bad value (ultrasparc) for -mtune= switch `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. FlagCheck.c:1: error: bad value (ultrasparc) for -mtune= switch `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. FlagCheck.c:1: error: bad value (ultrasparc) for -mtune= switch cc1: error: unrecognized command line option "-mips4" gcc -m32 -mcpu=ultrasparc -mtune=ultrasparc -fomit-frame-pointer -O -c -DATL_BETA=1 FlagCheck.c [cut] make[5]: Entering directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/tune/blas/gemm' rm -f ATL_tMpFiLe /var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/bin/xsubstr -o ATL_tMpFiLe -i /var/tmp/portage/sci-libs/blas-atlas-3.9.21/work/ATLAS/gentoo-build/..//tune/blas/gemm/CASES/dcases.flg \ -s '^gcc' 'gcc -m32' -s ' gcc' ' gcc -m32' ./xuserflag -i ATL_tMpFiLe -o dcases.flg `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. FlagCheck.c:1: error: bad value (ultrasparc) for -mtune= switch cc1: error: unrecognized command line option "-maltivec" cc1: error: unrecognized command line option "-mabi=altivec" `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. FlagCheck.c:1: error: bad value (ultrasparc) for -mtune= switch `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. FlagCheck.c:1: error: bad value (ultrasparc) for -mtune= switch `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. FlagCheck.c:1: error: bad value (ultrasparc) for -mtune= switch `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. FlagCheck.c:1: error: bad value (970) for -mtune= switch cc1: error: unrecognized command line option "-mips4" cc1: error: unrecognized command line option "-mips4" cc1: error: unrecognized command line option "-mips4" cc1: error: unrecognized command line option "-mips4" gcc -m32 -mcpu=ultrasparc -mtune=ultrasparc -fomit-frame-pointer -O -fno-schedule-insns -fno-schedule-insns2 -c -DATL_BETA=1 FlagCheck.c gcc -m32 -O -fno-schedule-insns -fno-schedule-insns2 -fomit-frame-pointer -c -DATL_BETA=1 FlagCheck.c gcc -m32 -fomit-frame-pointer -O2 -fno-schedule-insns -fno-schedule-insns2 -c -DATL_BETA=1 FlagCheck.c # emerge --info Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32 i686) ================================================================= System uname: Linux-2.6.32-i686-Mobile_Intel-R-_Pentium-R-_4_-_M_CPU_1.80GHz-with-gentoo-2.0.1 Timestamp of tree: Mon, 25 Jan 2010 10:45:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 4.0_p37 dev-java/java-config: 1.3.7-r1, 2.1.10 dev-lang/python: 2.5.4-r3, 2.6.4, 3.1.1-r1 dev-python/pycrypto: 2.1.0_beta1 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm Nero-EULA-US skype-eula" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind /var/lib/hsqldb /var/qmail/alias /var/qmail/control /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium3 -mmmx -msse -msse2 -pipe -fno-strict-aliasing -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages metadata-transfer news nostrip parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mirror.web4u.cz" LDFLAGS="-Wl,-O1" LINGUAS="en cs cz" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="7zip R X Xaw3d a52 aac aalib ace acl acpi alsa amr amrnb amrwb apache audacious audiofile bash-completion bcmath berkdb blas bluetooth boost branding bzip2 cairo caps cblas cddb cdparanoia cdr clamav cli colordiff compress consolekit cpio cracklib crypt cscope css ctype cups curl curlwrappers cxx dbi dbus dga dia directfb djbfft dri dts dv dvb dvd dvdr dvdread eds emacs emboss emf enblend encode enscript exif expat faad fam fame fat fbcon ffmpeg fftw firefox flac flash fortran fpx ftp gcj gd gdbm ggi gif gimp gimpprint glibc-compat20 glibc-omitfp glut gmp gnuplot gnutls gpgme gphoto2 gpm graphviz gs gsl gsm gstreamer gtk gtkhtml hal hdf hdf5 hp2xx i8x0 icc iconv icu id3 ieee1394 ifc imagemagick imlib inifile innodb ithreads jack java javascript jbig jce jikes jpeg jpeg2k kdtree kerberos lame lapack laptop lcms leim libcaca libedit libnotify libwww live lzo lzw mad maildir matroska mhash mikmod mime ming mjpeg mmap mmx mng mod_python modperl modplug modules motif mozilla moznoirc mp2 mp3 mp4 mpeg mpi mpi_njtree mpich2 mplayer mudflap mule musepack mxdatetime mysql mysqli ncurses netcdf netpbm network nls nntp nptl nptlonly nsplugin ntfs numeric ogg opengl openmp openssl pam pango pcmcia pcntl pcre pdf perl plotutils plugin png pnm postproc postscript ppds pppd procmail pymol python qt3support qt4 quicktime rar raw readline recode reflection reiserfs romio rpm samba sasl scanner scp seamonkey server session sftp sift slp smime sndfile soap sockets spell spl sqlite srt sse sse2 ssl startup-notification subtitles subversion svg svgz sysfs sysvipc t1lib tcl tcpd tetex theora threads thunar tidy tiff tk transcode truetype unicode urandom usb userlocales utils uuencode v4l v4l2 vcd vhook vim-syntax vim-with-x vorbis wifi win32codecs wmf wxwindows x264 x86 xanim xcf xfs xft xinerama xinetd xml xorg xpm xsl xslt xulrunner xv xvid xvmc yv12 zip zlib" ALSA_CARDS="intel-8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config mem_cache mime mime_magic rewrite setenvif speling status unique_id userdir usertrack vhost_alias negotiation" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs cz" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 217421 [details] build.log.bz2
Hi Martin, If I am not mistaken this is part of atlas' bootstrap procedure and I admit it's confusing. In a nutshell, atlas is trying a whole bunch of different compiler flag options and eliminates the ones that don't work (like utrasparc on x86). Have a look at the *.flg files in ATLAS/tune/blas/gemm/CASES for the kinds of things atlas tries. If you need a more detailed reasoning behind this procedure you please ask upstream. cheers, Markus