On 09/26/2015 12:50 PM, Michael Shell wrote:
Wayne,
OK, show us what the name of the illegal instruction using gdb's disas
command:
gdb g++ -c foo.cc
(gdb) run
(gdb) bt
(gdb) disas
Then we can see what CPU specific instruction is causing the trouble
and where it is located.
I had not yet installed gdb.
So I decided to install gdb and find out.
I'll give you 3 guesses of what happened. :-)
And the first 2 guesses don't count. :-)
Ok, :-) here is what happened:
../.././gnulib/import/frexp.c: In function 'rpl_frexp':
../.././gnulib/import/frexp.c:96:9: internal compiler error: Illegal instruction
for (i = 0, pow2_i = L_(2.0), powh_i = L_(0.5);
^
0x87815f crash_signal
../../gcc-4.9.2/gcc/toplev.c:337
0x7fd848b8f51f ???
/usr/src/glibc/glibc-2.21/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
Yep, this is what happened when I tried to build gdb. :-)
Wayne Sallee
[email protected]
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page