The ebuils for blas-atlas and lapack-atlas override build flags with CFLAGS from make.conf using -C ac $c_compiler -F ac $CFLAGS (plus if). According to Whaley, in general that's a bad idea -- it overrides the architecture defaults which he's tuned. I'm not sure what happens if you set CFLAGS to "" in /etc/portage/env/sci-libs/blas-atlas... It may be a better idea to drop those altogether from the configure line altogether, and instead add BLAS_EXTRA and LAPACK_EXTRA variables that can be set from the env files, if one has the expertise to set those flags. Additionally, that would allow the user to set other flags, such as the thread number. Reproducible: Always Steps to Reproduce:
Mmmh, this might fix some of our weird issues we have lately.
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.