https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85870
--- Comment #6 from sudi at gcc dot gnu.org --- Still fails for me on aarch64-none-linux-gnu-gcc and aarch64-none-elf-gcc on trunk and gcc-8.2.1 with the same error Reading object files: test_1.o test_2.olto1: internal compiler error: in linemap_line_start, at libcpp/line-map.c:794 0x1414d7b linemap_line_start(line_maps*, unsigned int, unsigned int) /aarch64-none-elf/build/src/gcc/libcpp/line-map.c:794 0x9a264f lto_location_cache::apply_location_cache() /aarch64-none-elf/build/src/gcc/gcc/lto-streamer-in.c:194 0x5e946c lto_read_decls /aarch64-none-elf/build/src/gcc/gcc/lto/lto.c:1852 0x5ea533 lto_file_finalize /aarch64-none-elf/build/src/gcc/gcc/lto/lto.c:2121 0x5ea533 lto_create_files_from_ids /aarch64-none-elf/build/src/gcc/gcc/lto/lto.c:2131 0x5ea533 lto_file_read /aarch64-none-elf/build/src/gcc/gcc/lto/lto.c:2172 0x5ea533 read_cgraph_and_symbols /aarch64-none-elf/build/src/gcc/gcc/lto/lto.c:2845 0x5ea533 lto_main() /aarch64-none-elf/build/src/gcc/gcc/lto/lto.c:3362 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. aarch64-none-linux-gnu-gcc --version aarch64-none-linux-gnu-gcc (fsf-trunk.1693) 9.0.0 20181005 (experimental) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. aarch64-none-linux-gnu-gcc --version aarch64-none-linux-gnu-gcc (fsf-8.90) 8.2.1 20181007 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. aarch64-none-elf-gcc --version aarch64-none-elf-gcc (fsf-trunk.1693) 9.0.0 20181005 (experimental) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. aarch64-none-elf-gcc --version aarch64-none-elf-gcc (fsf-8.90) 8.2.1 20181007 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.