[Bug lto/83816] New: [7 Regression] lto1: internal compiler error: compressed stream: data error

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 12 15:38:00 GMT 2018


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

            Bug ID: 83816
           Summary: [7 Regression] lto1: internal compiler error:
                    compressed stream: data error
           Product: gcc
           Version: 7.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: olegendo at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

This happens when building a bigger app on RX with LTO during linking:

0x7f619a lto_end_uncompression(lto_compression_stream*)
        ../../gcc7/gcc/lto-compress.c:293
0x7f43e8 lto_get_section_data(lto_file_decl_data*, lto_section_type, char
const*, unsigned long*, bool)
        ../../gcc7/gcc/lto-section-in.c:164
0x561ebf lto_file_finalize
        ../../gcc7/gcc/lto/lto.c:2033
0x561ebf lto_create_files_from_ids
        ../../gcc7/gcc/lto/lto.c:2050
0x561ebf lto_file_read
        ../../gcc7/gcc/lto/lto.c:2091
0x561ebf read_cgraph_and_symbols
        ../../gcc7/gcc/lto/lto.c:2803
0x561ebf lto_main()
        ../../gcc7/gcc/lto/lto.c:3308

Not sure how to make a reproducer for that.  I can't post the full source of
the whole thing.

Any advice on how to get info out of the compiler to solve this is appreciated.


More information about the Gcc-bugs mailing list