https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78553

Sergei Trofimovich <slyfox at inbox dot ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slyfox at inbox dot ru

--- Comment #1 from Sergei Trofimovich <slyfox at inbox dot ru> ---
Also seems to happen on powerpc64-unknown-linux-gnu

[sf]
/tmp/portage/cross-powerpc64-unknown-linux-gnu/gcc-7.2.0/work/build/powerpc64-unknown-linux-gnu/libstdc++-v3/src:gdb
--args
/tmp/portage/cross-powerpc64-unknown-linux-gnu/gcc-7.2.0/work/build/./gcc/cc1plus
-quiet -nostdinc++ -v -I
/tmp/portage/cross-powerpc64-unknown-linux-gnu/gcc-7.2.0/work/build/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I
/tmp/portage/cross-powerpc64-unknown-linux-gnu/gcc-7.2.0/work/build/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I
/tmp/portage/cross-powerpc64-unknown-linux-gnu/gcc-7.2.0/work/gcc-7.2.0/libstdc++-v3/libsupc++
-iprefix
/tmp/portage/cross-powerpc64-unknown-linux-gnu/gcc-7.2.0/work/build/gcc/../../../../lib/gcc/powerpc64-unknown-linux-gnu/7.2.0/
-isystem
/tmp/portage/cross-powerpc64-unknown-linux-gnu/gcc-7.2.0/work/build/./gcc/include
-isystem
/tmp/portage/cross-powerpc64-unknown-linux-gnu/gcc-7.2.0/work/build/./gcc/include-fixed
-D_GNU_SOURCE -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux
-D__linux -Asystem=linux -Asystem=unix -Asystem=posix -D PIC -D _GNU_SOURCE -D
PIC -D _GLIBCXX_SHARED -isystem /usr/powerpc64-unknown-linux-gnu/include
-isystem /usr/powerpc64-unknown-linux-gnu/sys-include
/tmp/portage/cross-powerpc64-unknown-linux-gnu/gcc-7.2.0/work/gcc-7.2.0/libstdc++-v3/src/c++98/compatibility.cc
-msecure-plt -fstack-check -quiet -dumpbase compatibility.cc -auxbase-strip
.libs/compatibility.o -g -O2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi
-std=gnu++98 -version -fno-implicit-templates -fvtable-verify=std
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-frandom-seed=compatibility.lo -fPIC -o /tmp/ccKqbE0M.s


Program received signal SIGSEGV, Segmentation fault.
0x0000000000889de8 in symtab_node::ultimate_alias_target(availability*,
symtab_node*) ()
(gdb) bt
#0  0x0000000000889de8 in symtab_node::ultimate_alias_target(availability*,
symtab_node*) ()
#1  0x0000000000a47d05 in cgraph_node::ultimate_alias_target(availability*,
symtab_node*) ()
#2  0x00000000012b9d27 in call_ABI_of_interest(tree_node*) ()
#3  0x00000000012b9fee in init_cumulative_args(rs6000_args*, tree_node*,
rtx_def*, int, int, int, tree_node*, machine_mode) ()
#4  0x00000000009ed43b in expand_call(tree_node*, rtx_def*, int) ()
#5  0x0000000000b5a63a in expand_expr_real_1(tree_node*, rtx_def*,
machine_mode, expand_modifier, rtx_def**, bool) ()
#6  0x0000000000b50a9b in expand_expr_real(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool) ()
#7  0x0000000000b4a04a in store_expr_with_bounds(tree_node*, rtx_def*, int,
bool, bool, tree_node*) ()
#8  0x0000000000b49477 in expand_assignment(tree_node*, tree_node*, bool) ()
#9  0x0000000000a034ab in expand_call_stmt(gcall*) ()
#10 0x0000000000a060aa in expand_gimple_stmt_1(gimple*) ()
#11 0x0000000000a06665 in expand_gimple_stmt(gimple*) ()
#12 0x0000000000a0c925 in expand_gimple_basic_block(basic_block_def*, bool) ()
#13 0x0000000000a0dee6 in (anonymous
namespace)::pass_expand::execute(function*) ()
#14 0x0000000000e14a0d in execute_one_pass(opt_pass*) ()
#15 0x0000000000e14d72 in execute_pass_list_1(opt_pass*) ()
#16 0x0000000000e14dfb in execute_pass_list(function*, opt_pass*) ()
#17 0x0000000000a518e9 in cgraph_node::expand() ()
#18 0x0000000000a51da4 in expand_all_functions() ()
#19 0x0000000000a528f2 in symbol_table::compile() ()
#20 0x0000000000a52b5a in symbol_table::finalize_compilation_unit() ()
#21 0x0000000000f2f13e in compile_file() ()
#22 0x0000000000f3177a in do_compile() ()
#23 0x0000000000f31a57 in toplev::main(int, char**) ()
#24 0x00000000017c994e in main ()

gcc was compiled on x86_64 to target powerpc64 as:

/tmp/portage/cross-powerpc64-unknown-linux-gnu/gcc-7.2.0/work/build/./gcc/xgcc
-v
Используются внутренние спецификации.
COLLECT_GCC=/tmp/portage/cross-powerpc64-unknown-linux-gnu/gcc-7.2.0/work/build/./gcc/xgcc
Целевая архитектура: powerpc64-unknown-linux-gnu
Параметры конфигурации:
/tmp/portage/cross-powerpc64-unknown-linux-gnu/gcc-7.2.0/work/gcc-7.2.0/configure
--host=x86_64-pc-linux-gnu --target=powerpc64-unknown-linux-gnu
--build=x86_64-pc-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/powerpc64-unknown-linux-gnu/gcc-bin/7.2.0
--includedir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/7.2.0/include
--datadir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/7.2.0
--mandir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/7.2.0/man
--infodir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/7.2.0/info
--with-gxx-include-dir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/7.2.0/include/g++-v7
--with-python-dir=/share/gcc-data/powerpc64-unknown-linux-gnu/7.2.0/python
--enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror
--with-system-zlib --enable-nls --without-included-gettext
--enable-checking=release --with-bugurl=https://bugs.gentoo.org/
--with-pkgversion='Gentoo Hardened 7.2.0 p1.1' --enable-esp
--enable-libstdcxx-time --enable-poison-system-directories
--with-sysroot=/usr/powerpc64-unknown-linux-gnu --disable-bootstrap
--enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --disable-altivec
--disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp
--disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx
--enable-vtable-verify --enable-libvtv --disable-libquadmath --enable-lto
--with-isl --disable-isl-version-check --enable-libsanitizer
--enable-default-pie --enable-default-ssp
Модель многопоточности: posix
gcc версия 7.2.0 (Gentoo Hardened 7.2.0 p1.1)

Reply via email to