Summary: | [4.4/ICE] dwarf2out_frame_debug_expr, at dwarf2out.c with -mavx | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | A. Clark <kinetix> |
Component: | [OLD] Development | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | admwiggin, charles, chrulri, clemente.aguiar, demontager, gentoo, gentoo, herbert, jens, jlec, michael.stahn.42, michal.petrucha, nahgoe, pacho |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://gcc.gnu.org/PR43290 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
A. Clark
2011-03-03 23:24:45 UTC
Created attachment 264633 [details]
Build log
run `echo "" | gcc -march=native -v -E - 2>&1 | grep cc1` echo "" | gcc -march=native -v -E - 2>&1 | grep cc1 /usr/libexec/gcc/x86_64-pc-linux-gnu/4.4.4/cc1 -E -quiet -v - -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 This patch is going to be difficult to backport to 4.4 - the code has changed a lot. Unless upstream gets back to us we might just have to tell you to use -mno-avx with 4.4 or switch to 4.5. The latter would be hard to do on stable right now though. *** Bug 360927 has been marked as a duplicate of this bug. *** *** Bug 368111 has been marked as a duplicate of this bug. *** The -mno-avx did not work for me. The ebuild still fails. This is what it tries to build: Calculating dependencies... done! [ebuild R ] sys-devel/gcc-4.4.5 USE="fortran* mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite -gtk (-hardened) (-libffi) (-multilib) -multislot -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla" 0 kB This is my make.conf: CFLAGS="-O2 -march=native -pipe -mno-avx" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. CHOST="i686-pc-linux-gnu" LINGUAS="nl nl_NL" USE="apache2 acpi alsa autoipd avahi bonjour cdr curl cups dbus dvd exif expat fuse gd gs imagemagick imap jpeg jpeg2k libwww mdnsresponder-compat maildir mysql nls ntp pear pam pcre php python png $ APACHE2_MODULES="alias auth_basic auth_digest authn_default authn_file authz_user dav dav_fs dav_lock rewrite authz_host dir mime " APACHE2_MPMS="prefork" VIDEO_CARDS="radeon" ALSA_CARDS="AC97" GENTOO_MIRRORS="rsync://mirror.leaseweb.com/gentoo/ http://mirror.leaseweb.com/gentoo/ ftp://mirror.leaseweb.com/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.snt.utwente.nl/pub/os$ SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" The complete build.log can be found here: http://eotter1979.xs4all.nl/gentoobugs/gcc-4.4.5-build.log -mno-avx seems to get filtered from the ebuild. Try again with -march=core2 or whatever is appropriate for your cpu. *** Bug 373945 has been marked as a duplicate of this bug. *** *** Bug 373945 has been marked as a duplicate of this bug. *** (In reply to comment #7) > The -mno-avx did not work for me. The ebuild still fails. It did work, you're getting a different error now: xgcc: Internal error: Killed (program cc1) Please submit a full bug report. See <http://bugs.gentoo.org/> for instructions. make[3]: *** [insn-attrtab.o] Error 1 Which usually indicates you ran out of memory during the build. -mno-avx isn't stripped by the ebuild as you can see in the log. Referring specifically to what I reported in Bug 373945, sys-devel/gcc-4.4.5 does build with "-mno-avx". *** Bug 375471 has been marked as a duplicate of this bug. *** Only a question, should I set -mno-avx permanently on make.conf for all system or only for failing packages (gcc and libreoffice)? I mean, it's save have the system without that CFLAG and only specify it when a package fails? Thanks for the info *** Bug 378455 has been marked as a duplicate of this bug. *** *** Bug 379339 has been marked as a duplicate of this bug. *** *** Bug 393017 has been marked as a duplicate of this bug. *** *** Bug 407013 has been marked as a duplicate of this bug. *** 4.5 is stable now. |