Internal Compiler Error (ICE) building gcc 8.3.0 on ppc64 Linux

Peter Bergner bergner@linux.ibm.com
Thu Mar 28 03:19:00 GMT 2019


On 3/25/19 5:05 PM, Brian Groose wrote:
> I am trying to build gcc 8.3.0 on linux ppc64.  I have successfully
> built 5.3.0 without issue on this machine.  When I build 8.3.0,
> however, I hit this error:
[snip]
> In file included from
> /root/gcc/act-gcc-8.3.0-sandbox/gcc-8.3.0/libgcc/libgcc2.c:56:
> /root/gcc/act-gcc-8.3.0-sandbox/gcc-8.3.0/libgcc/libgcc2.c: In
> function ‘__multi3’:
> /root/gcc/act-gcc-8.3.0-sandbox/gcc-8.3.0/libgcc/libgcc2.h:203:20:
> internal compiler error: Segmentation fault
>  #define __NDW(a,b) __ ## a ## ti ## b

This seems familiar and I think it had to do with a broken installed
header file.  Since GCC 6 and GCC 7 built successfully, can you use
one of those compilers to build GCC 8?  If so, that would lead me
to think the system compiler has issues.

Peter




More information about the Gcc-help mailing list