Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Dec 2019 13:38:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [Bug 242506] [PowerPC] lang/gcc9: cc1: internal compiler error: Segmentation fault (on FreeBSD 12.1-RELEASE-p1)
Message-ID:  <bug-242506-25139-hQeVBSbFF9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242506-25139@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242506-25139@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242506

--- Comment #6 from Piotr Kubaj <pkubaj@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-checki=
ng
-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/../inc=
lude
 -DHAVE_CC_TLS  -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muld=
i3
-c /usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/libgc=
c2.c
-fvisibility=3Dhidden -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=20
macro '__muldi3'
  548 | __muldi3 (DWtype u, DWtype v)
      | ^~~~~~~~


Same after adding to MAKE_ARGS parameters that allow GCC8 to build
(CFLAGS_FOR_TARGET=3D"-O1" CXXFLAGS_FOR_TARGET=3D"-O1" BOOT_CFLAGS=3D"-O1").

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242506-25139-hQeVBSbFF9>