Created attachment 875404 [details] example file Steps to reproduce the bug: 1. be in an x86 (i686) environment (chroot) 2. use clang+lld as the default compiler 3. emerge app-arch/gzip with "-Wl,--icf=all" in LDFLAGS 4. attempt to compress a certain file with gzip In the described environment, app-arch/gzip-1.12-r4 will cause a segmentation fault in the attempt to compress certain files. Removing "-Wl,--icf=all" will allow the compression to go through. I'm attaching an example file that gzip will fail on. This happens also with app-arch/gzip-1.13. And also with -Wl,--icf=safe.
Created attachment 875405 [details] emerge --info
Created attachment 875407 [details] gdb backtrace
Created attachment 875408 [details] valgrind output