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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
But changing env to Ubuntu, upstream GCC produces an ICE:
```
Segmentation fault
0xf370cf crash_signal
        /home/apinski/src/upstream-gcc/gcc/gcc/toplev.cc:316
0x7f1bac5a351f ???
        ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0xf940b6 default_tree_printer(pretty_printer*, text_info*, char const*, int,
bool, bool, bool, bool*, char const**)
        /home/apinski/src/upstream-gcc/gcc/gcc/tree-diagnostic.cc:274
0xf940b6 default_tree_printer(pretty_printer*, text_info*, char const*, int,
bool, bool, bool, bool*, char const**)
        /home/apinski/src/upstream-gcc/gcc/gcc/tree-diagnostic.cc:251
0x21d2ef4 pp_format(pretty_printer*, text_info*, urlifier const*)
        /home/apinski/src/upstream-gcc/gcc/gcc/pretty-print.cc:1602
0x21ad9cb diagnostic_context::report_diagnostic(diagnostic_info*)
        /home/apinski/src/upstream-gcc/gcc/gcc/diagnostic.cc:1604
0x21b1dd7 diagnostic_impl
        /home/apinski/src/upstream-gcc/gcc/gcc/diagnostic.cc:1767
0x21b1dd7 warning(int, char const*, ...)
        /home/apinski/src/upstream-gcc/gcc/gcc/diagnostic.cc:1900
0x12bdd17 switch_to_section(section*, tree_node*)
        /home/apinski/src/upstream-gcc/gcc/gcc/varasm.cc:7935
0x12c9cd2 assemble_variable(tree_node*, int, int, int)
        /home/apinski/src/upstream-gcc/gcc/gcc/varasm.cc:2407
0x12ce2f9 varpool_node::assemble_decl()
        /home/apinski/src/upstream-gcc/gcc/gcc/varpool.cc:596
0x12cee6e varpool_node::assemble_decl()
        /home/apinski/src/upstream-gcc/gcc/gcc/varpool.cc:568
0x12cee6e symbol_table::output_variables()
        /home/apinski/src/upstream-gcc/gcc/gcc/varpool.cc:764
0xa4865a symbol_table::compile()
        /home/apinski/src/upstream-gcc/gcc/gcc/cgraphunit.cc:2402
0x9951d1 lto_main()
        /home/apinski/src/upstream-gcc/gcc/gcc/lto/lto.cc:685
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
lto-wrapper: fatal error: /home/apinski/upstream-gcc/bin/gcc returned 1 exit
status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status

```

Reply via email to