Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234782 - sci-libs/blas-atlas-3.9.2 fails to compile because of undefined reference to `ATL_flushCacheByAddr'
Summary: sci-libs/blas-atlas-3.9.2 fails to compile because of undefined reference to ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 372323
  Show dependency tree
 
Reported: 2008-08-15 05:19 UTC by Juergen Rose
Modified: 2013-01-31 11:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log w/ failure (sci-libs:blas-atlas-3.9.23:20100225-113430.log.gz,73.67 KB, text/plain)
2010-02-27 21:56 UTC, daid kahl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2008-08-15 05:19:32 UTC
emerge blas-atlas-3.9.2 fails with:
...
gcc -DL2SIZE=4194304 -I/var/tmp/portage/sci-libs/blas-atlas-3.9.2/work/ATLAS/gentoo-build/include -I/var/tmp/portage/sci-libs/blas-atlas-3.9.2/work/ATLAS/gentoo-build/..//include -I/var/tmp/portage/sci-libs/blas-atlas-3.9.2/work/ATLAS/gentoo-build/..//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_K7 -DATL_CPUMHZ=1210 -DATL_3DNow -DATL_GAS_x8632  -O2 -march=athlon -fomit-frame-pointer  -o xddot ddottime.o \
                   ATL_ddot_stub.o ddot.o \
              /var/tmp/portage/sci-libs/blas-atlas-3.9.2/work/ATLAS/gentoo-build/tune/sysinfo/time.o /var/tmp/portage/sci-libs/blas-atlas-3.9.2/work/ATLAS/gentoo-build/lib/libatlas.a -lm
ddottime.o: In function `DoOneTiming':
dottime.c:(.text+0xde0): undefined reference to `ATL_flushCacheByAddr'
dottime.c:(.text+0xdf4): undefined reference to `ATL_flushCacheByAddr'
collect2: ld returned 1 exit status
make[8]: *** [ddotcase] Error 1

It happens with gcc-4.2.4 and gcc-4.3.1

Reproducible: Always




tarantel ~ # emerge --info
Portage 2.2_rc8 (default-linux/x86/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r5-i686-AMD_Athlon-tm-_Processor-with-glibc2.0
Timestamp of tree: Thu, 14 Aug 2008 23:04:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /
etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo ftp://ftp.wh2.tu-dresden.d
e/pub/mirrors/gentoo rsync://gd.tuwien.ac.at/opsys/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://gentoo.oregonstate.edu
 http://212.219.247.17/sites/www.ibiblio.org/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/ge
ntoo/ http://www.gigaload.org/gentoo.org/"
LDFLAGS=""
LINGUAS="de fr"
PKGDIR="/usr/portage/packages/"
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/arcon /usr/local/portage /usr/local/sci"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth 
bonobo boo boost bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli corba cracklib cran crypt cups curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi dri ds3490 dv dvb d
vd dvdr dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx galago gd gdal gdbm 
geos gif gimp gimpprint ginac glade glitz gml gmp gnokii gnome gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened hddtemp hdf hdf5 hlapi http iconv icq icu
 id3 imagemagick imap innodb ipv6 irda irmc isdnlog ithreads jabber java jbig john jpeg jpeg2k kerberos kexi keyring ladspa lame lapack latex lcms ldap libgda libsamplerate lirc lm_sensors lua 
lzo lzw mad maildir math matroska midi mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap musicbrainz mysql mysqli nautilus ncurses ne
Xt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs numarray numeric obex ocaml octave odbc ogdi ogg ole opengl openmp pam pcre pda pdf perl plotutils plugins png p
osix postgres postscript pppd preview-latex proj projectx pstricks python qhull quicktime readline real reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang
 slp sndfile snmp soup sox speex spell spl sqlite ssl stlport subtitles subversion suexec svg t1lib tcl tcpd tex theora threads thunderbird tidy tiff tk truetype unicode userlocales utempter v4
l2 vorbis win32codecs wmf wxwindows x86 xattr xemacs xext xine xml xmlreader xmlrpc xorg xpm xv xvid xvmc zlib zvbi" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsno
op 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_an
on authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expi
res ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite seten
vif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
 lcdm001 mtxorb ncurses text" LINGUAS="de fr" USERLAND="GNU" VIDEO_CARDS="ati vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2008-08-15 12:59:58 UTC
Hi Juergen,

Could you please check if your libatlas.a contains this 
object file via

# ar -t /var/tmp/portage/sci-libs/blas-atlas-3.9.2/work/ATLAS/gentoo-build/lib/libatlas.a | grep flushCache

If yes, could you extract it and check that the symbol is present

# ar -x /var/tmp/portage/sci-libs/blas-atlas-3.9.2/work/ATLAS/gentoo-build/lib/libatlas.a ATL_flushCacheByAddr.o
# nm ATL_flushCacheByAddr.o

Thanks,
Markus
Comment 2 Juergen Rose 2008-08-15 14:23:37 UTC
I did the following:
tarantel ~ #  ar -t /var/tmp/portage/sci-libs/blas-atlas-3.9.2/work/ATLAS/gentoo-build/lib/libatlas.a | grep flushCache
ATL_flushCacheByAddr.o
tarantel ~ # ar -x /var/tmp/portage/sci-libs/blas-atlas-3.9.2/work/ATLAS/gentoo-build/lib/libatlas.a ATL_flushCacheByAddr.o 
tarantel ~ # ll ATL_flushCacheByAddr.o 
-rw-r--r-- 1 root root 652 Aug 15 16:19 ATL_flushCacheByAddr.o
tarantel ~ # nm ATL_flushCacheByAddr.o 
tarantel ~ # nm -a ATL_flushCacheByAddr.o 
00000000 b .bss
00000000 n .comment
00000000 d .data
00000000 n .note.GNU-stack
00000000 t .text
00000000 a ATL_flushCacheByAddr.c

It looks for me, if there are not any symbols.

Regards,  Juergen
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2008-08-16 10:55:23 UTC
It definitely looks like there are a few symbols missing
from the file. I've just bumped atlas to 3.9.3 (it should
appear on the mirrors in an hour or so from now). Could
you please give this version a shot! If you experience
the same problems, could you please post your complete
emerge log.

Thanks,
Markus
Comment 4 Juergen Rose 2008-08-16 22:54:46 UTC
I still have the same problem also with blas-atlas-3.9.3:
gcc -DL2SIZE=4194304 -I/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/include -I/var/tmp/portage/sci-libs/blas-atlas
-3.9.3/work/ATLAS/gentoo-build/..//include -I/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/..//include/contrib -DAd
d_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_K7 -DATL_CPUMHZ=1210 -DATL_3DNow -DATL_GAS_x8632  -O2 -march=athlon -fom
it-frame-pointer  -o xddot ddottime.o \
                   ATL_ddot_stub.o ddot.o \
              /var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/tune/sysinfo/time.o /var/tmp/portage/sci-libs/blas-atla
s-3.9.3/work/ATLAS/gentoo-build/lib/libatlas.a -lm
ddottime.o: In function `DoOneTiming':
dottime.c:(.text+0xde0): undefined reference to `ATL_flushCacheByAddr'
dottime.c:(.text+0xdf4): undefined reference to `ATL_flushCacheByAddr'
collect2: ld returned 1 exit status
make[8]: *** [ddotcase] Error 1
make[8]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/tune/blas/level1'
NO GENERAL CASE SURVIVED!!  ABORTING!!
 ddotcase N=5000 urout=dot1_x0y0.c fout="-f res/dDOT1_a2b2x1y1" opt=""
TIM: make ddotcase N=5000 urout=dot1_x1y1.c fout="-f res/dDOT2_a2b2x1y1" opt=""
TIM: make ddotcase N=5000 urout=dot8p8_x1y1.c fout="-f res/dDOT3_a2b2x1y1" opt=""
TIM: make ddotcase N=5000 urout=dot4p80_x1y1.c fout="-f res/dDOT4_a2b2x1y1" opt=""
make[7]: *** [dinstall_dot] Error 255
make[7]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/tune/blas/level1'
make[6]: *** [Make_ddot] Error 2
make[6]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/src/blas/level1'
make[5]: *** [dgen] Error 2
make[5]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/src/blas/level1'
make[4]: *** [dlib] Error 2
make[4]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/src/blas/level1'
make[3]: *** [lib.grd] Error 2
make[3]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/src/auxil'
make[2]: *** [IStage1] Error 2
make[2]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/bin'
ERROR 437 DURING CACHESIZE SEARCH!!.  CHECK INSTALL_LOG/Stage1.log FOR DETAILS.
make[2]: Entering directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/bin'
cd /var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build ; make error_report
make[3]: Entering directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build'
make -f Make.top error_report
make[4]: Entering directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build'
uname -a 2>&1 >> bin/INSTALL_LOG/ERROR.LOG
gcc -v 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/
4.3.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1 --mandir=/usr/shar
e/gcc-data/i686-pc-linux-gnu/4.3.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/info --with-gxx-include-dir=/usr/lib/gcc/i6
86-pc-linux-gnu/4.3.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-include
d-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-lib
ssp --enable-cld --enable-java-awt=gtk --with-arch=i686 --enable-languages=c,c++,java,treelang,fortran --enable-shared --enable-threads=
posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.1-r1 p1.1'
Thread model: posix
gcc version 4.3.1 (Gentoo 4.3.1-r1 p1.1) 
gcc -V 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
gcc: '-V' option must have argument
make[4]: [error_report] Error 1 (ignored)
gcc --version 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
tar cf error_K7323DNow.tar Make.inc bin/INSTALL_LOG/*
gzip --best error_K7323DNow.tar
mv error_K7323DNow.tar.gz error_K7323DNow.tgz
make[4]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build'
make[3]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build'
make[2]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/bin'
Error report error_<ARCH>.tgz has been created in your top-level ATLAS

It is only one PC, where it is happened, The differences I see, are in the case of error:
   AMD Athlon(tm) Processor,  cpu family      : 6
   blas-atlas-3.9.3 thinks K7323DNow
else Core2Duo, P4, AMD Athlon(tm) 64 Processor 3200+

Regards Juergen
Comment 5 Markus Dittrich (RETIRED) gentoo-dev 2008-08-17 10:48:56 UTC
Could you please post your build log.

Thanks,
Markus
Comment 6 Juergen Rose 2008-08-17 11:58:51 UTC
The size of build.log is 1.3 MB. http://bugs.gentoo.org does not accept attachment of this size. I tried also to attach a bzipped build.log, but it was also not accepted.
What should I do?

Juergen
Comment 7 Markus Dittrich (RETIRED) gentoo-dev 2008-08-18 12:52:51 UTC
Please just email me a bziped version so I can
look through it a bit. Thanks in advance!

Best,
Markus
Comment 8 Markus Dittrich (RETIRED) gentoo-dev 2008-08-20 13:58:10 UTC
I've looked at the build logs and nothing really stuck out.
However, there may be an issue with your libtool. What
version of libtool do you have installed and could you
check if upgrading/downgrading libtool helps at all?

Thanks,
Markus 
Comment 9 Juergen Rose 2008-11-30 18:11:32 UTC
Several revdep-rebuilds and 'emerge -evD system' later, I am still not able to emerge blas-atlas at this special computer. Now it fails with:

TIM: make ddotcase N=5000 urout=dot4p80_x1y1.c fout="-f res/dDOT4_a2b2x1y1" opt=""
make[7]: *** [dinstall_dot] Error 255
make[7]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/tune/blas/level1'
make[6]: *** [Make_ddot] Error 2
make[6]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/src/blas/level1'
make[5]: *** [dgen] Error 2
make[5]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/src/blas/level1'
make[4]: *** [dlib] Error 2
make[4]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/src/blas/level1'
make[3]: *** [lib.grd] Error 2
make[3]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/src/auxil'
make[2]: *** [IStage1] Error 2
make[2]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/bin'
ERROR 437 DURING CACHESIZE SEARCH!!.  CHECK INSTALL_LOG/Stage1.log FOR DETAILS.
make[2]: Entering directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/bin'
cd /var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build ; make error_report
make[3]: Entering directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build'
make -f Make.top error_report
make[4]: Entering directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build'
uname -a 2>&1 >> bin/INSTALL_LOG/ERROR.LOG
gcc -v 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.2 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --enable-java-awt=gtk --with-arch=i686 --enable-languages=c,c++,java,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.2 p1.1'
Thread model: posix
gcc version 4.3.2 (Gentoo 4.3.2 p1.1) 
gcc -V 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
gcc: '-V' option must have argument
make[4]: [error_report] Error 1 (ignored)
gcc --version 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
tar cf error_K7323DNow.tar Make.inc bin/INSTALL_LOG/*
gzip --best error_K7323DNow.tar
mv error_K7323DNow.tar.gz error_K7323DNow.tgz
make[4]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build'
make[3]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build'
make[2]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/bin'
Error report error_<ARCH>.tgz has been created in your top-level ATLAS
directory.  Be sure to include this file in any help request.
cat: ../../CONFIG/error.txt: No such file or directory
cat: ../../CONFIG/error.txt: No such file or directory
make[1]: *** [build] Error 255
Comment 10 Juergen Rose 2008-11-30 18:15:18 UTC
I just found, that it is the same error as before:


gcc -DL2SIZE=4194304 -I/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/include -I/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/..//include -I/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/..//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_K7 -DATL_CPUMHZ=1210 -DATL_3DNow -DATL_GAS_x8632  -O2 -march=athlon -fomit-frame-pointer  -DDREAL -c ddot.c
gcc -DL2SIZE=4194304 -I/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/include -I/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/..//include -I/var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/..//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_K7 -DATL_CPUMHZ=1210 -DATL_3DNow -DATL_GAS_x8632  -O2 -march=athlon -fomit-frame-pointer  -o xddot ddottime.o \
	           ATL_ddot_stub.o ddot.o \
              /var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/tune/sysinfo/time.o /var/tmp/portage/sci-libs/blas-atlas-3.9.3/work/ATLAS/gentoo-build/lib/libatlas.a -lm
ddottime.o: In function `DoOneTiming':
dottime.c:(.text+0xde0): undefined reference to `ATL_flushCacheByAddr'
dottime.c:(.text+0xdf4): undefined reference to `ATL_flushCacheByAddr'
collect2: ld returned 1 exit status
make[8]: *** [ddotcase] Error 1
Comment 11 Markus Dittrich (RETIRED) gentoo-dev 2010-01-22 02:37:58 UTC
Is this still an issue? If yes please try the most recent
3.9.21 versions which I've committed a few hours ago.

Thanks,
Markus
Comment 12 daid kahl 2010-02-25 14:50:42 UTC
(In reply to comment #11)
> Is this still an issue? If yes please try the most recent
> 3.9.21 versions which I've committed a few hours ago.
> 
> Thanks,
> Markus
> 

Yeah, I just hit it.

Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.4.3/work/gcc-4.4.3/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.4.3 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.3/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.4.3/python --enable-java-awt=gtk --with-arch=i686 --enable-languages=c,c++,java,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.3 p1.0'
Thread model: posix
gcc version 4.4.3 (Gentoo 4.4.3 p1.0) 
gcc -V 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
gcc: '-V' option must have argument
make[4]: [error_report] Error 1 (ignored)
gcc --version 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
tar cf error_Core232SSE3.tar Make.inc bin/INSTALL_LOG/*
gzip --best error_Core232SSE3.tar
mv error_Core232SSE3.tar.gz error_Core232SSE3.tgz
make[4]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.23/work/ATLAS/gentoo-build'
make[3]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.23/work/ATLAS/gentoo-build'
make[2]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.23/work/ATLAS/gentoo-build/bin'
Error report error_<ARCH>.tgz has been created in your top-level ATLAS
directory.  Be sure to include this file in any help request.
cat: ../../CONFIG/error.txt: No such file or directory
cat: ../../CONFIG/error.txt: No such file or directory
make[1]: *** [build] Error 255 
make[1]: Leaving directory `/var/tmp/portage/sci-libs/blas-atlas-3.9.23/work/ATLAS/gentoo-build'
make: *** [build] Error 2
 * ERROR: sci-libs/blas-atlas-3.9.23 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 3047:  Called die 
 * The specific snippet of code:
 *       emake -j1 || die "emake failed";
 * 
 * If you need support, post the output of 'emerge --info =sci-libs/blas-atlas-3.9.23',
 * the complete build log and the output of 'emerge -pqv =sci-libs/blas-atlas-3.9.23'.
 * The complete build log is located at '/var/log/portage/sci-libs:blas-atlas-3.9.23:20100225-113430.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/blas-atlas-3.9.23/temp/environment'.
 * S: '/var/tmp/portage/sci-libs/blas-atlas-3.9.23/work/ATLAS'

>>> Failed to emerge sci-libs/blas-atlas-3.9.23, Log file:

>>>  '/var/log/portage/sci-libs:blas-atlas-3.9.23:20100225-113430.log'

I'm doing a rather horrible update right now, but I'd done a revdep-rebuild upon hitting this (nothing that looked relevant), I continued the emerge -uND world, the package order was slightly re-arranged, the same error was hit in blas-atlas, and I changed gcc and then it compiled without incident.

The two compilers in question:
i686-pc-linux-gnu-4.3.4 (full compile and install for blas-atlas)
i686-pc-linux-gnu-4.4.3 (gave this error)

The combination of some packages in my system may be strange, as I'm shifting from x86 to ~x86.  If it's interesting, I can try again after world is updated with the latest (4.4.3) gcc and report back at that time.

daid@flux ~ $ emerge --info
Portage 2.1.7.17 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.11-r1, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 25 Feb 2010 05:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.3
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       3.4.6-r2, 4.1.2, 4.2.4-r1, 4.3.2-r3, 4.3.4, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA skype-eula dlj-1.1 sun-bcla-java-vm IBM-J1.4"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="hda-intel"
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"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CCACHE_DIR="/var/tmp/ccache/"
CCACHE_SIZE="2G"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
COLORTERM="Terminal"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=core2 -pipe"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-DueWYD4KFu,guid=821b11c80d50d935704075a74b86039a"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vi"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--ask --verbose"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FEATURES="assume-digests buildsyspkg ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
GCC_SPECS=""
GDK_USE_XFT="1"
GENERATION="2"
GENTOO_MIRRORS="http://ftp.jaist.ac.jp/pub/Linux/Gentoo http://ftp.iij.ad.jp/pub/linux/gentoo http://gentoo.gg3.net"
GLADE_CATALOG_PATH=":"
GLADE_MODULE_PATH=":"
GLADE_PIXMAP_PATH=":"
GTK_PATH=":/usr/lib/gtk-2.0"
HOME="/home/daid"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.4/info"
INPUT_DEVICES="keyboard mouse synaptics evdev"
JAVAC="/home/daid/.gentoo/java-config-2/current-user-vm/bin/javac"
JAVACC_HOME="/usr/share/javacc/"
JAVADIR="/usr/lib/jvm/sun-jdk-1.6"
JAVA_HOME="/home/daid/.gentoo/java-config-2/current-user-vm"
JDK_HOME="/home/daid/.gentoo/java-config-2/current-user-vm"
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LDFLAGS="-Wl,-O1"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBGLADE_MODULE_PATH=":/usr/lib/libglade/2.0"
LINGUAS="en en_US ja"
LIRC_DEVICES="macmini"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/daid"
MAKEOPTS="-j3"
MANPATH="/home/daid/.gentoo/java-config-2/current-user-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.4/man:/opt/sun-jdk-1.4.2.17/man:/etc/java-config/system-vm/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man"
MOCADI_DATA="/home/daid/physics/rib_model/mocadi/data"
MOCADI_DIR="/home/daid/physics/rib_model/mocadi"
MOCADI_SPLINES_GZ="/home/daid/physics/rib_model/mocadi/splines_gz"
MYSQL="/usr/include/mysql:/usr/lib/mysql"
MYSQL_TCP_PORT="3306"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OLDPWD="/home/daid/library/articles"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.4:/opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/home/daid/scripts:/sbin:/usr/non-portage:/home/daid/.gentoo/java-config-2/current-user-vm/bin:/usr/sbin:/usr/local/warlock2:/usr/local/sbin:/home/daid/physics/transport_for_crib/transport1.6/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="info warn error log"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="10"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH_MASK="/usr/lib/klibc"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/home/daid/library/articles/2004"
PYTHONDONTWRITEBYTECODE="1"
PYTHONPATH="/usr/lib/root"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.4:/opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
ROOTSYS="/usr"
ROOT_LIBRARIES="/usr/lib/root"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18"
SESSION_MANAGER="local/flux:@/tmp/.ICE-unix/2573,unix/flux:/tmp/.ICE-unix/2573"
SGML_CATALOG_FILES="/etc/sgml/sgml-ent.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/sgml-docbook.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/dsssl-docbook-stylesheets.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/xml-docbook-4.4.cat:/etc/sgml/xml-docbook-4.1.2.cat"
SHELL="/bin/bash"
SHLVL="2"
SSH_AGENT_PID="2565"
SSH_AUTH_SOCK="/tmp/ssh-dffizF2564/agent.2564"
SUDO_COMMAND="/bin/env PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.4:/opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/home/daid/scripts:/sbin:/usr/non-portage:/home/daid/.gentoo/java-config-2/current-user-vm/bin:/usr/sbin:/usr/local/warlock2:/usr/local/sbin:/home/daid/physics/transport_for_crib/transport1.6/bin emerge --info"
SUDO_GID="1009"
SUDO_UID="1000"
SUDO_USER="daid"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
TERM="xterm"
USE="X Xaw3d aac acl acpi alsa apm bash-completion berkdb branding bzip2 cdr cjk cli cracklib crypt css cups cxx dbus dri dvd dvdr encode esd firefox flac fortran ftp gdbm gif gimp glibc-omitfp gnome-keyring gpm gstreamer gtk hal hfs iconv ieee1394 imagemagick imap ipv6 isight java javascript jpeg kerberos lapack latex ldap libg++ lirc lm_sensors lock loop-aes mad madwifi mime mmx modules mono mozilla mp3 mpeg mplayer mudflap mysql ncurses network networkmanager nls nptl nptlonly nsplugin ntfs ogg oggvorbis openmp oss pam pcre pdf perl png portaudio posix ppds pppd python readline reflection samba session spell spl sse sse2 ssl startup-notification subversion svg sysfs tcpd tetex theora thunar tiff truetype unicode usb userlocales v4l v4l2 vim-syntax vorbis wifi win32codecs winbind x86 xcb xine xml xml2 xorg xpm xulrunner xv" ALSA_CARDS="hda-intel" 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US ja" LIRC_DEVICES="macmini" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i810 intel vesa" 
USER="root"
USERLAND="GNU"
USERNAME="root"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="i810 intel vesa"
VMHANDLE="sun-jdk-1.4"
WINDOWID="39845936"
XAUTHORITY="/home/daid/.Xauthority"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/kde/3.5/share:/usr/share:/usr/share"
_="/usr/bin/sudo"


Comment 13 Markus Dittrich (RETIRED) gentoo-dev 2010-02-27 05:14:27 UTC
You didn't post the actual build failure. 
Could you please post your gziped build log
so I can have a look.

cheers,
Markus
Comment 14 daid kahl 2010-02-27 21:56:13 UTC
Created attachment 221485 [details]
build log w/ failure
Comment 15 Christian Lerrahn 2010-03-08 03:21:33 UTC
I see the same segfault in version 3.9.23-r1 as daid kahl's build.log shows.

BEGIN L2-BLOCKED TUNING
   1:ATL_gerk_axpy.c gets 317.49 MFLOPS
   2:ATL_gerk_4x4_1.c gets 317.49 MFLOPS
   3:ATL_gerk_1x4_0.c gets 317.49 MFLOPS
   4:ATL_gerk_8x4_0.c gets 352.77 MFLOPS
DONE L2-BLOCKED TUNING, CHOSE 'ATL_gerk_8x4_0.c' (352.77)
     M       N     lda  percL1       mflop
======  ======  ======  ======  ==========
  2300    2300    2300     150     317.49
  2300    2300    2300     800     352.77
  2300    2300    2300     450     317.49
  2300    2300    2300     300     352.77
  2300    2300    2300     200     352.77
  2300    2300    2300     250     352.76
  2300    2300    2300     350     352.77
  2300    2300    2300     400     352.77
  2300    2300    2300     600     317.49
  2300    2300    2300     500     352.77
  2300    2make[3]: *** [res/dR1SUMM] Segmentation fault

My emerge --info looks like this

Portage 2.1.8.1 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.27.3rothlaender i686)
=================================================================
System uname: Linux-2.6.27.3rothlaender-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 08 Mar 2010 02:45:02 +0000
app-shells/bash:     4.1_p2
dev-java/java-config: 2.1.10
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.4-r1, 3.1.1-r1
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.0-r2
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.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20-r1
sys-devel/gcc:       3.4.6-r2, 4.1.2, 4.2.4-r1, 4.3.4, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_AU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3"
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 /home/christian/cvs/gnome"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi alsa apache2 bash-completion berkdb bluetooth branding bzip2 cairo cdr clamav cli consolekit cracklib crypt cups curl cxx dbus dga dillo divx dri dts dv dvd dvdr dvdread eds emacs emboss encode esd evo examples expat fam fbcon ffmpeg fftw firefox flac fontconfig fortran fts3 gcj gd gdbm gif glade gnome gnutls gpm gsl gstreamer gtk gtkhtml hal iconv icu imap imlib ipv6 jpeg jpeg2k kde lapack ldap lensfun libnotify lzo mad mikmod mjpeg mmx mng modules mp3 mp4 mpeg mpi msn mudflap mule mysql ncurses netcdf nls nptl nptlonly nsplugin objc objc++ objc-gc ocaml ogg opengl openmp oss pam pcre pdf perl png policykit ppds pppd python qt3support qt4 quicktime readline reflection ruby sdl session smp spamassassin spell spl sqlite sse sse2 ssl startup-notification svg svga sysfs tcl tcltk tcpd threads thunar tiff tk truetype unicode usb v4l2 vorbis win32codecs wmf wmp x264 x86 xface xinerama xml xmms xorg xpm xprint xulrunner xv xvid zip zlib" ALSA_CARDS="hda-intel" 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 dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 16 Justin Lecher (RETIRED) gentoo-dev 2010-03-08 07:40:29 UTC
(In reply to comment #15)
> I see the same segfault in version 3.9.23-r1 as daid kahl's build.log shows.

This looks more like 303185
Comment 17 Christian Lerrahn 2010-03-08 21:23:08 UTC
You are right. However, I can't find the undefined reference as described in the original report in the attached build log. So, maybe this is fixed, anyway? I only went by the build log not the description.
Comment 18 Justin Lecher (RETIRED) gentoo-dev 2013-01-31 11:06:35 UTC
Dropped all atlas packages from tree.
Please use sci-libs/atlas from sci overlay.
If problem still exist with that package, please reopen the bug or file a new one.