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

--- Comment #3 from Petr Štetiar <ynezz at true dot cz> ---
Hi Richard,

thanks a lot for your fast response!

It's probably my first bug report to GCC so I'll probably need a little
guidance to get you output which might help you.

I can do or enable whatever is needed, even apply patches to GCC to help
tracking down and fix this issue. For the start I'll enable coredumps as you've
suggested, meanwhile I've found one log with the first ICE (different platform
cortex-a15) encountered, but I didn't paid much attention to it at that time.

CC      drivers/net/ethernet/freescale/sdk_dpaa/mac-api.o
In file included from ./include/linux/device.h:16:0,
                 from ./include/linux/of_platform.h:14,
                 from drivers/net/ethernet/freescale/sdk_dpaa/mac-api.c:44:
./include/linux/ioport.h:26:1: internal compiler error: Segmentation fault
 };
 ^
0x9e090f crash_signal
       
/home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/gcc/toplev.c:337
0x102f528 _cpp_process_line_notes
       
/home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/libcpp/lex.c:1165
0x102f650 _cpp_skip_block_comment
       
/home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/libcpp/lex.c:1224
0x103255c _cpp_lex_direct
       
/home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/libcpp/lex.c:2818
0x1036134 lex_expansion_token
       
/home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/libcpp/macro.c:3029
0x1039540 create_iso_definition
       
/home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/libcpp/macro.c:3201
0x1039540 _cpp_create_definition
       
/home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/libcpp/macro.c:3277
0x1023801 do_define
       
/home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.4.0_musl_eabi/gcc-7.4.0/libcpp/directives.c:644
0x1024fcf _cpp_handle_directive
       
/home/petr/testing/openwrt/build_dir/toolchain-arm_cortex-a15+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-a15+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-a15+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-a15+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-a15+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-a15+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-a15+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-a15+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-a15+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-a15+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-a15+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.
make[10]: *** [drivers/net/ethernet/freescale/sdk_dpaa/mac-api.o] Error 1

Reply via email to