Summary: | sys-devel/gcc-4.6.3: ICE in .../work/qemu-kvm-1.1.1/target-i386/op_helper.c:3650:1: internal compiler error: in dwarf2out_frame_debug_expr, at dwarf2out.c:2387 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aidecoe, brytonlee01, luke-jr+gentoobugs, pageexec, qemu+disabled |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://gcc.gnu.org/PR54694 | ||
See Also: | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54694 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
/tmp/op_helper.o |
Description
Toralf Förster
![]() Created attachment 323670 [details]
build log
please go to the build dir, find the failing gcc command, and then replace the compile flag (-c) with -E and then attach the output (.o) from that here. Created attachment 323978 [details]
/tmp/op_helper.o
(In reply to comment #3) what was the command you ran exactly ? when i try to build, i get bp reg errors. I made "make -n" and then copy+paste+replaced it : i686-pc-linux-gnu-gcc -I/var/tmp/portage/app-emulation/qemu-kvm-1.1.1-r3/work/qemu-kvm-1.1.1/slirp -I. -I/var/tmp/portage/app-emulation/qemu-kvm-1.1.1-r3/work/qemu-kvm-1.1.1 -I/var/tmp/portage/app-emulation/qemu-kvm-1.1.1-r3/work/qemu-kvm-1.1.1/fpu -I/var/tmp/portage/app-emulation/qemu-kvm-1.1.1-r3/work/qemu-kvm-1.1.1/linux-headers -I/var/tmp/portage/app-emulation/qemu-kvm-1.1.1-r3/work/qemu-kvm-1.1.1/tcg -I/var/tmp/portage/app-emulation/qemu-kvm-1.1.1-r3/work/qemu-kvm-1.1.1/tcg/i386 -fPIE -DPIE -m32 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -I/usr/include/libpng15 -DHAS_AUDIO -DHAS_AUDIO_CHOICE -DTARGET_PHYS_ADDR_BITS=64 -I../linux-headers -I.. -I/var/tmp/portage/app-emulation/qemu-kvm-1.1.1-r3/work/qemu-kvm-1.1.1/target-i386 -DNEED_CPU_H -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/var/tmp/portage/app-emulation/qemu-kvm-1.1.1-r3/work/qemu-kvm-1.1.1/include -I/usr/include/libpng15 -fomit-frame-pointer -MMD -MP -MT op_helper.o -MF ./op_helper.d -O2 -O2 -march=native -pipe -E -o op_helper.o /var/tmp/portage/app-emulation/qemu-kvm-1.1.1-r3/work/qemu-kvm-1.1.1/target-i386/op_helper.c can't reproduce it over here. gcc 4.6.3 compiles it just fine. (In reply to comment #6) > can't reproduce it over here. gcc 4.6.3 compiles it just fine. upstream accepted it : http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54694#c5 (In reply to comment #7) yes, it's because your -march=native expands differently from mine *** Bug 410985 has been marked as a duplicate of this bug. *** *** Bug 365147 has been marked as a duplicate of this bug. *** Workaround: Append -mno-avx to CFLAGS. (In reply to comment #11) > Workaround: Append -mno-avx to CFLAGS. works - thx for this hint (In reply to comment #12) > (In reply to comment #11) > > Workaround: Append -mno-avx to CFLAGS. > > works - thx for this hint FWIW - 1.2.1 compiles fine without changing the CFLAGS gcc devs fixed the issue : http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54694 seems like it'd be easy for us to backport to gcc-4.6 https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=206667 4 years old ... Fixed in all since 4.9.0 |