[Bug 242506] [PowerPC] lang/gcc9: cc1: internal compiler error: Segmentation fault (on FreeBSD 12.1-RELEASE-p1)

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242506

--- Comment #7 from Piotr Kubaj <[email protected]> ---
I tried to build with -O0 in those parameters instead and it errored later on:
/usr/local/poudriere/ports/default/lang/gcc9/work/.build/./gcc/xgcc
-B/usr/local/poudriere/ports/default/lang/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 -O0 -m32
-fPIC -mstrict-align -O2  -O0 -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 _clear_cache.o -MT _clear_cache.o -MD -MP -MF
_clear_cache.dep -DL_clear_cache -c
/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/libgcc2.c
-fvisibility=hidden -DHIDE_EXPORTS
during GIMPLE pass: uncprop
/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/crtstuff.c:
In function '__do_global_ctors_aux':
/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/crtstuff.c:663:1:
internal compiler error: Segmentation fault
  663 | __do_global_ctors_aux (void)
      | ^~~~~~~~~~~~~~~~~~~~~
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
during GIMPLE pass: uncprop
/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/crtstuff.c:
In function 'deregister_tm_clones':
/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/crtstuff.c:275:1:
internal compiler error: Segmentation fault
  275 | deregister_tm_clones (void)
      | ^~~~~~~~~~~~~~~~~~~~
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
during GIMPLE pass: uncprop
/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/crtstuff.c:
In function '__do_global_ctors_aux':
/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/crtstuff.c:663:1:
internal compiler error: Segmentation fault
  663 | __do_global_ctors_aux (void)
      | ^~~~~~~~~~~~~~~~~~~~~
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
during GIMPLE pass: uncprop
/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/crtstuff.c:
In function 'deregister_tm_clones':
/usr/local/poudriere/ports/default/lang/gcc9/work/gcc-9.2.0/libgcc/crtstuff.c:275:1:
internal compiler error: Segmentation fault
  275 | deregister_tm_clones (void)
      | ^~~~~~~~~~~~~~~~~~~~

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.