Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 196430

Summary: sci-libs/blas-atlas-3.8.0 compilation fails with segfault
Product: Gentoo Linux Reporter: BedOS_Gui <eric_chaligny>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-log
emerge--info

Description BedOS_Gui 2007-10-19 17:13:26 UTC
/var/tmp/portage/sci-libs/blas-atlas-3.8.0/work/ATLAS/gentoo-build/..//CONFIG/src/backend/flibchkC.c:16: note: file flibchkC.gcda not found, execution counts estimated
/bin/sh: line 1: 24788 Erreur de segmentation  ./xconfig -d s /var/tmp/portage/sci-libs/blas-atlas-3.8.0/work/ATLAS/gentoo-build/../ -d b /var/tmp/portage/sci-libs/blas-atlas-3.8.0/work/ATLAS/gentoo-build -C ac x86_64-pc-linux-gnu-gcc -F ac '-march=native -mtune=native -O3 -pipe -msse3 -ftree-vectorize -fstack-protector -mfpmath=sse -funroll-all-loops -fforce-addr -fgcse-sm -fgcse-las -fgcse-after-reload -funswitch-loops -finline-functions -ftracer -fvariable-expansion-in-unroller -fprofile-use -momit-leaf-frame-pointer' -C if gfortran -F if -O2 -Ss pmake '$(MAKE) -j3' -Si cputhrchk 0 -b 64
xconfig exited with 139
 * 
 * ERROR: sci-libs/blas-atlas-3.8.0 failed.
 * Call stack:
 *                 ebuild.sh, line 1695:  Called dyn_unpack
 *                 ebuild.sh, line  811:  Called qa_call 'src_unpack'
 *                 ebuild.sh, line   44:  Called src_unpack
 *   blas-atlas-3.8.0.ebuild, line   90:  Called die
 * The specific snippet of code:
 *      ../configure \
 *              --cc="$(tc-getCC)" \
 *              --cflags="${CFLAGS}" \
 *              --prefix="${D}/${DESTTREE}" \
 *              --libdir="${D}/${DESTTREE}"/$(get_libdir)/atlas \
 *              --incdir="${D}/${DESTTREE}"/include \
 *              -C ac "$(tc-getCC)" -F ac "${CFLAGS}" \
 *              -C if ${FORTRANC} -F if "${FFLAGS:--O2}" \
 *              -Ss pmake "\$(MAKE) ${MAKEOPTS}" \
 *              -Si cputhrchk 0 ${archselect} \
 *              || die "configure failed"
 *  The die message:
 *   configure failed


Reproducible: Always
Comment 1 BedOS_Gui 2007-10-19 17:13:55 UTC
Created attachment 133905 [details]
emerge-log
Comment 2 BedOS_Gui 2007-10-19 17:15:05 UTC
Created attachment 133907 [details]
emerge--info
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-19 17:21:31 UTC
<snip>
CFLAGS="-march=native -mtune=native -O3 -pipe -msse3 -ftree-vectorize -fstack-protector -mfpmath=sse -funroll-all-loops -fforce-addr -fgcse-sm -fgcse-las -fgcse-after-reload -funswitch-loops -finline-functions -ftracer -fvariable-expansion-in-unroller -fprofile-use -momit-leaf-frame-pointer"
CXXFLAGS="-march=native -mtune=native -O3 -pipe -msse3 -ftree-vectorize -fstack-protector -mfpmath=sse -funroll-all-loops -fforce-addr -fgcse-sm -fgcse-las -fgcse-after-reload -funswitch-loops -finline-functions -ftracer -fvariable-expansion-in-unroller -fprofile-use -momit-leaf-frame-pointer"
</snip>

Sorry, the above is completely unsupported, marking INVALID. Please review the following before reporting similar bugs:

http://devmanual.gentoo.org/ebuild-writing/functions/src_compile/build-environment/index.html
http://www.gentoo.org/doc/en/gcc-optimization.xml