[Bug 242506] [PowerPC] lang/gcc9: cc1: internal compiler error: Segmentation fault (on FreeBSD 12.1-RELEASE-p1)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Dec 9 13:38:33 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242506
--- Comment #6 from Piotr Kubaj <pkubaj at FreeBSD.org> ---
With base GCC:
/usr/local/poudriere/ports/default/lang/gcc9/work/.build/./gcc/xgcc
-B/usr/local/poudriere/ports/default/l
ang/gcc9/work/.build/./gcc/ -B/usr/local/powerpc64-portbld-freebsd12.1/bin/
-B/usr/local/powerpc64-portbld
-freebsd12.1/lib/ -isystem /usr/local/powerpc64-portbld-freebsd12.1/include
-isystem /usr/local/powerpc64-portbld-freebsd12.1/sys-include -fno-checking
-g -O2 -pipe -DLIBICONV_PLUG -fno-strict-aliasing -m32 -fPIC -mstrict-align -O2
-g -O2 -pipe -DLIBICONV_PLUG -fno-strict-aliasing -DIN_GCC -W -Wall
-Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC
-pthread -mno-minimal-toc -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector -fPIC -pthread -mno-minimal-toc -I. -I. -I../../.././gcc
-I/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc
-I/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/.
-I/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/../gcc
-I/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/../include
-DHAVE_CC_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3
-c /usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/libgcc2.c
-fvisibility=hidden -DHIDE_EXPORTS
during GIMPLE pass: store-merging
In file included from
/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/libgcc2.c:56:
/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/libgcc2.c:
In function '__muldi3':
/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/libgcc2.h:219:20:
internal compiler err
or: Segmentation fault
219 | #define __NDW(a,b) __ ## a ## di ## b
| ^~
/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/libgcc2.h:273:18:
note: in expansion of
macro '__NDW'
273 | #define __muldi3 __NDW(mul,3)
| ^~~~~
/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/libgcc2.c:548:1:
note: in expansion of
macro '__muldi3'
548 | __muldi3 (DWtype u, DWtype v)
| ^~~~~~~~
Same after adding to MAKE_ARGS parameters that allow GCC8 to build
(CFLAGS_FOR_TARGET="-O1" CXXFLAGS_FOR_TARGET="-O1" BOOT_CFLAGS="-O1").
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ppc
mailing list