https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93583
Bug ID: 93583
Summary: [10 Regression] bootstrap failure on
powerpc64le-linux-gnu
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at ubuntu dot com
Target Milestone: ---
seen with trunk 20200204 5124c34fcc62f0f880ae947542678e28aa2ce703 on
powerpc64le-linux-gnu.
during RTL pass: expand
../../src/gcc/config/rs6000/driver-rs6000.c: In function
'host_detect_local_cpu':
../../src/gcc/config/rs6000/driver-rs6000.c:342:25: internal compiler error:
Segmentation fault
342 | return describe_cache (l1_sizekb, l1_line, l1_assoc, l2_sizekb);
| ^
0x1077f863 crash_signal
../../src/gcc/toplev.c:328
0x101f0a60 expand_call(tree_node*, rtx_def*, int)
../../src/gcc/calls.c:4672
0x103664ff expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
../../src/gcc/expr.c:11130
0x1020249f expand_expr
../../src/gcc/expr.h:282
0x1020249f expand_call_stmt
../../src/gcc/cfgexpand.c:2703
0x1020249f expand_gimple_stmt_1
../../src/gcc/cfgexpand.c:3682
0x1020249f expand_gimple_stmt
../../src/gcc/cfgexpand.c:3847
0x10209117 expand_gimple_basic_block
../../src/gcc/cfgexpand.c:5887
0x10209117 execute
../../src/gcc/cfgexpand.c:6542
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
make[6]: *** [/tmp/cc4GyZt0.mk:5: /tmp/cpp.EgoT71.ltrans1.ltrans.o] Error 1
make[6]: *** Waiting for unfinished jobs....
lto-wrapper: fatal error: /usr/bin/make returned 2 exit status
compilation terminated.
/usr/bin/powerpc64le-linux-gnu-ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:2089: cpp] Error 1
make[5]: *** Waiting for unfinished jobs....
this is a compiler defaulting to hardening options, configured with
Configured with: -v
--enable-languages=c,c++,go,d,fortran,objc,obj-c++
--prefix=/usr
--with-gcc-major-version-only
--program-suffix=-10
--program-prefix=powerpc64le-linux-gnu-
--enable-shared
--enable-linker-build-id
--libexecdir=/usr/lib
--without-included-gettext
--enable-threads=posix
--libdir=/usr/lib
--enable-nls
--enable-clocale=gnu
--enable-libstdcxx-debug
--enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new
--enable-gnu-unique-object
--enable-plugin
--enable-default-pie
--with-system-zlib
--disable-libphobos
--enable-objc-gc=auto
--enable-secureplt
--with-cpu=power8
--enable-targets=powerpcle-linux
--disable-multilib
--enable-multiarch
--disable-werror
--with-long-double-128
--enable-offload-targets=nvptx-none
--without-cuda-driver
--enable-checking=release
--build=powerpc64le-linux-gnu
--host=powerpc64le-linux-gnu
--target=powerpc64le-linux-gnu
--with-build-config=bootstrap-lto-lean
--enable-link-mutex