Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733808 - sys-devel/gcc-9.3.0-r1 - .../gcc/ggc-page.c during RTL pass: gimple-match.c: In function ‘bool gimple_simplify_MULT_EXPR(gimple_match_op*, gimple**, tree_node* (*)(tree), code_helper, tree, tree, tree)’: gimple-match.c:55148:1: ICE: Segmentation fault
Summary: sys-devel/gcc-9.3.0-r1 - .../gcc/ggc-page.c during RTL pass: gimple-match.c: ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-24 19:44 UTC by ernsteiswuerfel
Modified: 2020-07-24 20:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (gcc-9.3.0-r1:20200723-111035.log.xz,92.64 KB, application/x-xz)
2020-07-24 19:44 UTC, ernsteiswuerfel
Details
emerge --info (file_733808.txt,6.46 KB, text/plain)
2020-07-24 19:45 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel 2020-07-24 19:44:41 UTC
Created attachment 650602 [details]
build.log.xz

Got this at trying to build gcc-9.3.0-r1 on my G4 DP. Tried to build a 2nd time and got exactly the same error.

I tried to work through https://wiki.gentoo.org/wiki/Gcc-ICE-reporting-guide but failed to replicate the command as I only got "/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/gcc/ggc-page.c:20:10: fatal error: config.h: No such file or directory" executing the command out from /var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/build.


[...]
/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/build/./prev-gcc/xg++ -B/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/build/./prev-gcc/ -B/usr/powerpc-unknown-linux-gnu/bin/ -nostdinc++ -B/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/build/prev-powerpc-unknown-linux-gnu/libstdc++-v3/src/.libs -B/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/build/prev-powerpc-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs  -isystem /var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/build/prev-powerpc-unknown-linux-gnu/libstdc++-v3/include/powerpc-unknown-linux-gnu  -isystem /var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/build/prev-powerpc-unknown-linux-gnu/libstdc++-v3/include  -isystem /var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/libstdc++-v3/libsupc++ -L/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/build/prev-powerpc-unknown-linux-gnu/libstdc++-v3/src/.libs -L/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/build/prev-powerpc-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -fno-PIE -c -fno-PIE    -mcpu=7450 -pipe -O2 -fchecking=1 -DIN_GCC     -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/gcc -I/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/gcc/. -I/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/gcc/../include -I/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/gcc/../libbacktrace   -o ggc-page.o -MT ggc-page.o -MMD -MP -MF ./.deps/ggc-page.TPo /var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/gcc/ggc-page.c
during RTL pass: *stack_ptr_mod
gimple-match.c: In function ‘bool gimple_simplify_MULT_EXPR(gimple_match_op*, gimple**, tree_node* (*)(tree), code_helper, tree, tree, tree)’:
gimple-match.c:55148:1: internal compiler error: Segmentation fault
55148 | }
      | ^
0x10849313 crash_signal
	/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/gcc/toplev.c:326
0x103d10b0 rtl_verify_bb_pointers
	/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/gcc/cfgrtl.c:2734
0x103d10b0 rtl_verify_flow_info_1
	/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/gcc/cfgrtl.c:2789
0x103d1ccb rtl_verify_flow_info
	/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/gcc/cfgrtl.c:3034
0x103b2d27 verify_flow_info()
	/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/gcc/cfghooks.c:263
0x10751e33 execute_function_todo
	/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/gcc/passes.c:2009
0x10753023 execute_todo
	/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/gcc-9.3.0/gcc/passes.c:2051
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
make[3]: *** [Makefile:1118: gimple-match.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rm gfortran.pod gcc.pod
make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/build/gcc'
make[2]: *** [Makefile:4749: all-stage3-gcc] Error 2
make[2]: Leaving directory '/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/build'
make[1]: *** [Makefile:22385: stage3-bubble] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-9.3.0-r1/work/build'
make: *** [Makefile:22460: bootstrap-lean] Error 2
 * ERROR: sys-devel/gcc-9.3.0-r1::gentoo failed (compile phase):
 *   emake failed

I backed up gcc's build directory just in case.
Comment 1 ernsteiswuerfel 2020-07-24 19:45:27 UTC
Created attachment 650604 [details]
emerge --info