[Bug 757852] New: g++ internal compiler error when running as kvm-amd guest
https://bugzilla.novell.com/show_bug.cgi?id=757852 https://bugzilla.novell.com/show_bug.cgi?id=757852#c0 Summary: g++ internal compiler error when running as kvm-amd guest Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: openSUSE 12.1 Status: NEW Severity: Major Priority: P5 - None Component: Development AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: volker@openbios.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=486754) --> (http://bugzilla.novell.com/attachment.cgi?id=486754) Output of 'hwinfo' of VM on Phenom2 host. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 Hi, the problem is that g++ bails out with an internal compiler error on .cpp input files. Opensuse 12.1 x86-64 typical install on a kvm based VM, recent updates applied. Virtualization-host is centos 5.8 on 'AMD Phenom(tm) II X6 1090T Processor'. There a no other problems with the VM or the installed 12.1. Installation was without any trouble and running fine without noticeable errors or warnings in /var/log/messages. Also, there a couple of other opensuse VMs running on the same host of various types 11.3, 11.4 i386 and x86_64 without any compiler problems. The compiler error disappears when the -O2 flag is removed. The compiler error disappears when the VM is moved to a Intel (Nehalem) based host (away from the AMD Phenom2 host). Compiler error happens with shipped g++ 4.6.2. g++ 4.7 from repository devel:gcc gives the same errors. Example of error (from google protobuffer 2.4.1 project): g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT structurally_valid.lo -MD -MP -MF .deps/structurally_valid.Tpo -c google/protobuf/stubs/structurally_valid.cc -fPIC -DPIC -o .libs/structurally_valid.o google/protobuf/stubs/structurally_valid.cc: In function ‘int google::protobuf::internal::UTF8GenericScan(const UTF8ScanObj*, const char*, int, int*)’: google/protobuf/stubs/structurally_valid.cc:536:1: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See http://bugs.opensuse.org/ for instructions. make: *** [structurally_valid.lo] Error 1 Another source tried is Qt 4.7.4, where g++ bails out on almost every file. Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=757852
https://bugzilla.novell.com/show_bug.cgi?id=757852#c1
--- Comment #1 from Volker _
https://bugzilla.novell.com/show_bug.cgi?id=757852
https://bugzilla.novell.com/show_bug.cgi?id=757852#c
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=757852
https://bugzilla.novell.com/show_bug.cgi?id=757852#c2
Richard Guenther
participants (1)
-
bugzilla_noreply@novell.com