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

--- Comment #2 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 62149
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62149&action=edit
121588.tar.xz

```
$ ./test.sh
+ armv7a-unknown-linux-gnueabihf-gcc -nostdlib -nostartfiles -flto=auto
-fno-builtin -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing
-fno-PIE -Os -fno-stack-protector -fno-delete-null-pointer-checks
-Wa,-mimplicit-it=always -mthumb -mthumb-interwork -mabi=aapcs-linux
-mword-relocations -fno-pic -mno-unaligned-access -ffixed-r9 -msoft-float
-mgeneral-regs-only -march=armv7-a -Wl,-pie -Wl,-z -Wl,notext
-Wl,--no-error-execstack -Wl,-Bstatic -Wl,--no-dynamic-linker -Wl,-Ttext
-Wl,0x80800000 -o /dev/null -Wl,--whole-archive a-sctlr.s board_r.i efi_setup.i
-Wl,--no-whole-archive
a-sctlr.s: Assembler messages:
a-sctlr.s:5: Warning: [-mwarn-syms]: Assignment makes a symbol match an ARM
instruction: ldr
during IPA pass: icf
lto1: internal compiler error: Segmentation fault
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <https://bugs.gentoo.org/> for instructions.
lto-wrapper: fatal error: armv7a-unknown-linux-gnueabihf-gcc returned 1 exit
status
compilation terminated.
/usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
```

Reply via email to