[lfs-dev] gcc 4.9.2 crash ....

Bruce Dubbs bruce.dubbs at gmail.com
Fri Feb 27 08:23:41 PST 2015


Bruce Dubbs wrote:
> Alexey Orishko wrote:
>> Hi guys,
>>
>> I have a concern about latest gcc version in RC1 book.
>> When compiling c-file, gcc 4.9.2 crashed:
>>
>> xxxx.c: In function ‘XXXX_Status’:
>> xxxx.c:2142:7: internal compiler error: Illegal instruction
>>         if (current < MIN_ACCEPTABLE)
>>         ^
>> 0x87815f crash_signal
>>      ../../gcc-4.9.2/gcc/toplev.c:337
>> 0x7f684ad3f51f ???
>>      /sources/glibc-2.21/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
>>
>> The same c-file was compiled perfectly fine on (B)LFS-7.5 system, but
>> new gcc crashes in both chroot and on live LFS-7.7-rc1 system with
>> latest (svn) BLFS (intel, x64) when I compile my c-app...
>
> Are you on a 32-bit system?  There is a fix.  See the sed in:
>
> http://www.linuxfromscratch.org/lfs/view/development/chapter05/glibc.html

Oh, I didn't see the x64 above.  Can you send me (or tell me where to find) your 
file and the gcc instruction to build?  I'd like to duplicate the problem.

   -- Bruce




More information about the lfs-dev mailing list