[Bug 671262] New: internal compiler error: Aborted
https://bugzilla.novell.com/show_bug.cgi?id=671262 https://bugzilla.novell.com/show_bug.cgi?id=671262#c0 Summary: internal compiler error: Aborted Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: mt@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- While a try to manually compile rsyslog from Base:System on factory-tested, the compiler aborts: # rpmbuild -bc $(pwd)/rsyslog.spec [...] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR=\"/lib64/rsyslog/:/usr/lib64/rsyslog/\" -pthread -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing -W -Wall -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT librsyslog_la-conf.lo -MD -MP -MF deps/librsyslog_la-conf.Tpo -c conf.c -fPIC -DPIC -o libs/librsyslog_la-conf.o conf.c: In function 'cflineProcessTradPRIFilter': conf.c:1294:1: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.opensuse.org/> for instructions. make[2]: *** [librsyslog_la-conf.lo] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/rsyslog-5.6.3/runtime' Do I make something wrong or is there really a compiler problem? -- 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=671262 https://bugzilla.novell.com/show_bug.cgi?id=671262#c1 --- Comment #1 from Marius Tomaschewski <mt@novell.com> 2011-02-11 12:37:27 UTC --- Created an attachment (id=413554) --> (http://bugzilla.novell.com/attachment.cgi?id=413554) cpp output The cpp output: cpp -E -DHAVE_CONFIG_H -I. -I.. -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR=\"/lib64/rsyslog/:/usr/lib64/rsyslog/\" -pthread -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing -W -Wall -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute conf.c > ../../conf.c.cppout -- 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=671262 https://bugzilla.novell.com/show_bug.cgi?id=671262#c2 --- Comment #2 from Marius Tomaschewski <mt@novell.com> 2011-02-11 12:40:07 UTC --- # rpm -qa | grep gcc gcc45-4.5.1_20101208-6.1.x86_64 libgcc45-4.5.1_20101208-6.1.x86_64 gcc-4.5-16.1.x86_64 -- 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=671262 https://bugzilla.novell.com/show_bug.cgi?id=671262#c3 --- Comment #3 from Marius Tomaschewski <mt@novell.com> 2011-02-11 12:42:33 UTC --- To build it, I've installed: # zypper in openssl-devel pcre-devel zlib-devel krb5-devel mysql-devel net-snmp-devel postgresql-devel libgnutls-devel libdbi-devel librelp-devel libnet-devel gcc kernel-devel glibc-devel linux-glibc-devel autoconf libtool automake patch make -- 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=671262 https://bugzilla.novell.com/show_bug.cgi?id=671262#c Philipp Thomas <pth@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@novell.com AssignedTo|pth@novell.com |rguenther@novell.com -- 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=671262 https://bugzilla.novell.com/show_bug.cgi?id=671262#c4 Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|rguenther@novell.com |pth@novell.com --- Comment #4 from Richard Guenther <rguenther@novell.com> 2011-02-11 13:31:39 UTC --- The compiler directly does not call abort() but at least gmp/mpfr may do so when they run out of memory. So it would be interesting to see where abort is called from (if you append -v to the compile command you'll see a line that executes cc1, you can cut&paste that command and run it from inside gdb and get a backtrace). I can't reproduce it. -- 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=671262 https://bugzilla.novell.com/show_bug.cgi?id=671262#c Richard Guenther <rguenther@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|pth@novell.com |rguenther@novell.com -- 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=671262 https://bugzilla.novell.com/show_bug.cgi?id=671262#c5 --- Comment #5 from Marius Tomaschewski <mt@novell.com> 2011-02-17 13:45:44 UTC --- Compiler executable checksum: c3d615ae7069d2cd95402430a80aea8a .. Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data> <visibility> <early_local_cleanups> Program received signal SIGABRT, Aborted. 0x00007ffff61feab5 in raise () from /lib64/libc.so.6 (gdb) bt #0 0x00007ffff61feab5 in raise () from /lib64/libc.so.6 #1 0x00007ffff61fffb6 in abort () from /lib64/libc.so.6 #2 0x00007ffff69928d5 in __gmpn_cpuvec_init () from /usr/lib64/libgmp.so.10 #3 0x00007ffff6992ade in ?? () from /usr/lib64/libgmp.so.10 #4 0x0000000000000000 in ?? () (gdb) quit Going to install debug packages... -- 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=671262 https://bugzilla.novell.com/show_bug.cgi?id=671262#c6 --- Comment #6 from Marius Tomaschewski <mt@novell.com> 2011-02-17 14:03:17 UTC --- # gdb /usr/lib64/gcc/x86_64-suse-linux/4.5/cc1 (gdb) run -v -I. -I.. -MD conf.d -MF .deps/librsyslog_la-conf.Tpo -MP -MT librsyslog_la-conf.lo -D_REENTRANT -DHAVE_CONFIG_H -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR="/lib64/rsyslog/:/usr/lib64/rsyslog/" -D_FORTIFY_SOURCE=2 conf.c -dumpbase conf.c -m64 -mtune=generic -march=x86-64 -auxbase conf -g -g -O2 -W -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -version -fmessage-length=0 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing -o /tmp/ccFnAc45.s Starting program: /usr/lib64/gcc/x86_64-suse-linux/4.5/cc1 -v -I. -I.. -MD conf.d -MF .deps/librsyslog_la-conf.Tpo -MP -MT librsyslog_la-conf.lo -D_REENTRANT -DHAVE_CONFIG_H -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR="/lib64/rsyslog/:/usr/lib64/rsyslog/" -D_FORTIFY_SOURCE=2 conf.c -dumpbase conf.c -m64 -mtune=generic -march=x86-64 -auxbase conf -g -g -O2 -W -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -version -fmessage-length=0 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing -o /tmp/ccFnAc45.s GNU C (SUSE Linux) version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (x86_64-suse-linux) compiled by GNU C version 4.5.1 20101208 [gcc-4_5-branch revision 167585], GMP version 5.0.1, MPFR version 3.0.0-p3, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=63 --param ggc-min-heapsize=62919 [...] Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data> <visibility> <early_local_cleanups> Program received signal SIGABRT, Aborted. 0x00007ffff61feab5 in raise (sig=6) at ./nptl/sysdeps/unix/sysv/linux/raise.c:64 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden. in ../nptl/sysdeps/unix/sysv/linux/raise.c (gdb) Starting program: /usr/lib64/gcc/x86_64-suse-linux/4.5/cc1 -v -I. -I.. -MD conf.d -MF .deps/librsyslog_la-conf.Tpo -MP -MT librsyslog_la-conf.lo -D_REENTRANT -DHAVE_CONFIG_H -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR="/lib64/rsyslog/:/usr/lib64/rsyslog/" -D_FORTIFY_SOURCE=2 conf.c -dumpbase conf.c -m64 -mtune=generic -march=x86-64 -auxbase conf -g -g -O2 -W -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -version -fmessage-length=0 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing -o /tmp/ccFnAc45.s Undefined command: "Starting". Try "help". (gdb) bt #0 0x00007ffff61feab5 in raise (sig=6) at ./nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007ffff61fffb6 in abort () at abort.c:92 #2 0x00007ffff69928d5 in __gmpn_cpuvec_init () at fat.c:140 #3 0x00007ffff6992ade in ?? () at tmp-fat_entry.s:314 from /usr/lib64/libgmp.so.10 #4 0x0000000000000000 in ?? () (gdb) quit -- 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=671262 https://bugzilla.novell.com/show_bug.cgi?id=671262#c8 --- Comment #8 from Michael Matz <matz@novell.com> 2011-02-17 14:15:13 UTC --- The abort is this: if (strcmp (vendor_string, "GenuineIntel") == 0) { .... } else if (strcmp (vendor_string, "AuthenticAMD") == 0) { switch (family) { case 5: case 6: here>>>> abort (); break; case 15: /* CPUVEC_SETUP_athlon */ break; } So, you have an AMD processor with family 5 or 6, which is nearly impossible :-) -- 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=671262 https://bugzilla.novell.com/show_bug.cgi?id=671262#c9 --- Comment #9 from Michael Matz <matz@novell.com> 2011-02-17 14:26:23 UTC --- qemu problem: vendor_id : AuthenticAMD cpu family : 6 model : 2 model name : QEMU Virtual CPU version 0.12.5 qemu passes through the host vendor name, but not the CPU family (it just sets it to '6', which for AMD CPUs is non-sense). -- 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=671262 https://bugzilla.novell.com/show_bug.cgi?id=671262#c10 --- Comment #10 from Marius Tomaschewski <mt@novell.com> 2011-02-17 14:45:15 UTC --- Yea, while the host is amd64: vendor_id : AuthenticAMD cpu family : 15 model : 107 model name : AMD Athlon(tm) Dual Core Processor 5050e Hmm.. I'd say this is a libvirt bug on SLES-11-SP1 (host). I hope, this is correct way to do check it ...: exodus:~ # virsh capabilities > kk.xml exodus:~ # vi kk.xml exodus:~ # cat kk.xml <cpu> <arch>x86_64</arch> <model>qemu64</model> <topology sockets='1' cores='2' threads='1'/> <feature name='3dnowprefetch'/> <feature name='cr8legacy'/> <feature name='extapic'/> <feature name='cmp_legacy'/> <feature name='lahf_lm'/> <feature name='3dnow'/> <feature name='3dnowext'/> <feature name='rdtscp'/> <feature name='fxsr_opt'/> <feature name='mmxext'/> <feature name='cx16'/> <feature name='ht'/> <feature name='vme'/> </cpu> exodus:~ # virsh cpu-compare kk.xml CPU described in kk.xml is incompatible with host CPU -- 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.
participants (1)
-
bugzilla_noreply@novell.com