https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88544
Bug ID: 88544 Summary: ICE on ARM Cortex A7 Product: gcc Version: 7.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ynezz at true dot cz Target Milestone: --- Hi, while build testing new 4.19.9 kernel in OpenWrt for arm_cortex-a7+neon-vfpv4 target, I've hit following ICE: In file included from ./include/linux/kernel.h:207:0, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/hardirq.h:5, from ./include/net/sock.h:43, from net/l2tp/l2tp_netlink.c:19: ./arch/arm/include/asm/div64.h:1:0: internal compiler error: Illegal instruction /* SPDX-License-Identifier: GPL-2.0 */ CC [M] drivers/usb/storage/datafab.o CC [M] drivers/usb/serial/keyspan.o 0x9e090f crash_signal /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/gcc/toplev.c:337 0x103a203 munge /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/libcpp/mkdeps.c:61 0x103a4c5 deps_add_dep(deps*, char const*) /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/libcpp/mkdeps.c:258 0x102ce0f _cpp_stack_file /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/libcpp/files.c:912 0x102d06c _cpp_stack_include /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/libcpp/files.c:1049 0x102449a do_include_common /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/libcpp/directives.c:858 0x1024fcf _cpp_handle_directive /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/libcpp/directives.c:547 0x1032f2c _cpp_lex_token /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/libcpp/lex.c:2566 0x1038ecf cpp_get_token_1 /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/libcpp/macro.c:2523 0x618c8e c_lex_with_flags(tree_node**, unsigned int*, unsigned char*, int) /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/gcc/c-family/c-lex.c:398 0x5b5410 c_lex_one_token /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/gcc/c/c-parser.c:251 0x5d95c2 c_parser_peek_token /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/gcc/c/c-parser.c:435 0x5d95c2 c_parser_next_token_is /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/gcc/c/c-parser.h:161 0x5d95c2 c_parser_next_token_is_not /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/gcc/c/c-parser.h:170 0x5d95c2 c_parser_translation_unit /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/gcc/c/c-parser.c:1346 0x5d95c2 c_parse_file() /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/gcc/c/c-parser.c:18183 0x61e992 c_common_parse_file() /home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/gcc/c-family/c-opts.c:1161 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://www.lede-project.org/bugs/> for instructions. CC [M] fs/xfs/xfs_buf.o CC [M] drivers/usb/host/xhci-pci.o scripts/Makefile.build:309: recipe for target 'net/l2tp/l2tp_netlink.o' failed make[7]: *** [net/l2tp/l2tp_netlink.o] Error 1 scripts/Makefile.build:544: recipe for target 'net/l2tp' failed make[6]: *** [net/l2tp] Error 2 Makefile:1052: recipe for target 'net' failed make[5]: *** [net] Error 2 make[5]: *** Waiting for unfinished jobs.... It happens from time to time, I'm not able to reproduce it reliably, sorry.