Bugzilla – Bug 1213647
gcc13 fails to build highway with: internal compiler error: in const_unop, at fold-const.cc:1884
Last modified: 2023-08-30 08:41:21 UTC
gcc13 fails to build highway for aarch64 in Tumbleweed with internal compiler error: in const_unop, at fold-const.cc:1884 [ 1701s] [ 85%] Linking CXX executable tests/swizzle_test [ 1701s] /usr/bin/cmake -E cmake_link_script CMakeFiles/swizzle_test.dir/link.txt --verbose=1 [ 1701s] /usr/bin/c++ -mbranch-protection=standard -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -DHWY_COMPILE_ALL_ATTAINABLE -O2 -g -DNDEBUG -flto=auto -Wl,--as-needed -Wl,-z,now -fPIE -pie CMakeFiles/swizzle_test.dir/hwy/tests/swizzle_test.cc.o -o tests/swizzle_test -Wl,-rpath,/home/abuild/rpmbuild/BUILD/highway-1.0.5/build libhwy_test.so.1.0.5 libhwy_contrib.so.1.0.5 /usr/lib64/libgtest.so /usr/lib64/libgtest_main.so libhwy.so.1.0.5 /usr/lib64/libgtest.so [ 1701s] during GIMPLE pass: fre [ 1701s] /home/abuild/rpmbuild/BUILD/highway-1.0.5/hwy/tests/swizzle_test.cc: In function 'TestTblLookupPer4LaneBlkShuf.constprop': [ 1701s] /home/abuild/rpmbuild/BUILD/highway-1.0.5/hwy/tests/swizzle_test.cc:192:28: internal compiler error: in const_unop, at fold-const.cc:1884 [ 1701s] 192 | static HWY_NOINLINE void TestTblLookupPer4LaneBlkShuf( [ 1701s] | ^ [ 1701s] 0xb5b69f internal_error(char const*, ...) [ 1701s] ???:0 [ 1701s] 0xb5049b fancy_abort(char const*, int, char const*) [ 1701s] ???:0 [ 1701s] 0xca7177 const_unop(tree_code, tree_node*, tree_node*) [ 1701s] ???:0 [ 1701s] 0xd59d2f gimple_simplify(gimple*, gimple_match_op*, gimple**, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*)) [ 1701s] ???:0 [ 1701s] 0xedc577 gimple_fold_stmt_to_constant_1(gimple*, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*)) [ 1701s] ???:0 [ 1701s] Please submit a full bug report, with preprocessed source (by using -freport-bug). [ 1701s] Please include the complete backtrace with any bug report. [ 1701s] See <https://bugs.opensuse.org/> for instructions. [ 1701s] make[3]: *** [/tmp/ccx9e5ef.mk:53: /tmp/ccuXHB3Y.ltrans17.ltrans.o] Error 1 [ 1701s] lto-wrapper: fatal error: make returned 2 exit status [ 1701s] compilation terminated. [ 1701s] /usr/lib64/gcc/aarch64-suse-linux/13/../../../../aarch64-suse-linux/bin/ld: error: lto-wrapper failed [ 1701s] collect2: error: ld returned 1 exit status Full build log: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:ARM/highway/standard/aarch64
Awaiting (delayed) backport upstream.
Fixed.