[Bug 1124091] New: g++ internal compiler error: Illegal instruction
http://bugzilla.opensuse.org/show_bug.cgi?id=1124091 Bug ID: 1124091 Summary: g++ internal compiler error: Illegal instruction Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: HP OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: markku.j.pulkkinen@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 Build Identifier: When compiling code that uses standard C/C++ libraries, the following error is generated. In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from main.cpp:23: /usr/include/c++/8/limits:1599:7:internal compiler error: Illegal instruction min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; } ^~~ The program code (main.cpp) includes following headers in the beginning: Line 22: #include <string> Line 23: #include <thread> g++ version is as follows: g++ (SUSE Linux) 8.2.1 20190103 [gcc-8-branch revision 267549] Reproducible: Always Steps to Reproduce: 1. g++ -o a.out -no-pie -pthread -pipe -Wall -O3 -march=native -mtune=native \ -fprefetch-loop-arrays --param max-inline-insns-single=2000 -std=c++1y \ main.cpp Actual Results: g++ compiler gives following internal error message: In file included from /usr/include/c++/8/chrono:40, from /usr/include/c++/8/thread:38, from main.cpp:23: /usr/include/c++/8/limits:1599:7: internal compiler error: Illegal instruction min() _GLIBCXX_USE_NOEXCEPT { return __FLT_MIN__; } ^~~ Please submit a full bug report, with preprocessed source if appropriate. See http://bugs.opensuse.org/ for instructions. Expected Results: Program is build successfully -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1124091
http://bugzilla.opensuse.org/show_bug.cgi?id=1124091#c1
--- Comment #1 from Markku Pulkkinen
http://bugzilla.opensuse.org/show_bug.cgi?id=1124091
http://bugzilla.opensuse.org/show_bug.cgi?id=1124091#c2
--- Comment #2 from Markku Pulkkinen
http://bugzilla.opensuse.org/show_bug.cgi?id=1124091
http://bugzilla.opensuse.org/show_bug.cgi?id=1124091#c3
--- Comment #3 from Markku Pulkkinen
http://bugzilla.opensuse.org/show_bug.cgi?id=1124091
http://bugzilla.opensuse.org/show_bug.cgi?id=1124091#c5
Richard Biener
gdb --args
... gdb output ... (gdb) run ... the internal compiler error should occur ... (gdb) bt ... prints a backtrace, cut&paste it in this bug ... (gdb) disassemble ... prints disassebly, you might need to press return until a line ... starting with "=> ..." appears - that's the instruction that ... was illegal. Please cut&paste a bit of context around that ... instruction
I suspect it is GMP that is at fault. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1124091
http://bugzilla.opensuse.org/show_bug.cgi?id=1124091#c6
--- Comment #6 from Markku Pulkkinen
participants (1)
-
bugzilla_noreply@novell.com