Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854495 - sys-devel/binutils: segfault when building sys-libs/efivar-38 with LTO
Summary: sys-devel/binutils: segfault when building sys-libs/efivar-38 with LTO
Status: RESOLVED DUPLICATE of bug 831366
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-06-27 02:17 UTC by Randall
Modified: 2022-06-27 02:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (file_854495.txt,47.82 KB, text/plain)
2022-06-27 02:17 UTC, Randall
Details
emerge --info (file_854495.txt,12.17 KB, text/plain)
2022-06-27 02:18 UTC, Randall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randall 2022-06-27 02:17:15 UTC
sys-libs/efivar-38 is failing to build with LTO.

Reproducible: Always
Comment 1 Randall 2022-06-27 02:17:39 UTC
Created attachment 787844 [details]
build.log
Comment 2 Randall 2022-06-27 02:18:10 UTC
Created attachment 787847 [details]
emerge --info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-27 02:18:38 UTC
```
'libefisec.so.1' -> 'libefisec.so'
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped
compilation terminated.
make[1]: *** [/var/tmp/portage/sys-libs/efivar-38/work/efivar-38/sr
```

You'll need to report this to binutils if it's reproducible, with a core dump.
Comment 4 Randall 2022-06-27 02:19:57 UTC
I forgot to mention, I fixed it by `filter-flag -flto`
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-27 02:22:42 UTC
Ah, dupe & fixed in 2.38.

*** This bug has been marked as a duplicate of bug 831366 ***