https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77838
Bug ID: 77838 Summary: bootstrap broken on powerpc64*-linux Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: segher at gcc dot gnu.org CC: cmang at google dot com Target Milestone: --- r240657 breaks bootstrap on powerpc64-linux and powerpc64le-linux: ... echo timestamp > s-runtime-inc /home/segher/build/tot/./gcc/xgcc -B/home/segher/build/tot/./gcc/ -B/home/segher/tot/powerpc64-unknown-linux-gnu/bin/ -B/home/segher/tot/powerpc64-unknown-linux-gnu/lib/ -isystem /home/segher/tot/powerpc64-unknown-linux-gnu/include -isystem /home/segher/tot/powerpc64-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/home/segher/src/gcc/libgo -I /home/segher/src/gcc/libgo/runtime -I/home/segher/src/gcc/libgo/../libffi/include -I../libffi/include -pthread -fexceptions -fnon-call-exceptions -fplan9-extensions -fsplit-stack -Wall -Wextra -Wwrite-strings -Wcast-qual -Werror -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I /home/segher/src/gcc/libgo/../libgcc -I /home/segher/src/gcc/libgo/../libbacktrace -I ../../gcc/include -fPIC -g -O2 -MT libgobegin_a-go-main.o -MD -MP -MF .deps/libgobegin_a-go-main.Tpo -c -o libgobegin_a-go-main.o `test -f 'runtime/go-main.c' || echo '/home/segher/src/gcc/libgo/'`runtime/go-main.c In file included from /home/segher/src/gcc/libgo/runtime/runtime.h:116:0, from /home/segher/src/gcc/libgo/runtime/go-main.c:17: ./runtime.inc:3158:0: error: "_BIG_ENDIAN" redefined [-Werror] #define _BIG_ENDIAN 4321 <built-in>: note: this is the location of the previous definition cc1: all warnings being treated as errors