mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
f44d1becbe468a4e1c36a4819a6276b9ee0c9da2
After discussing my bug with dalias on #musl I was informed that LTO has a negative impact on Musl so fixing the issue I highlight rather than filtering wouldn't be the desired outcome for the user. This will also help crossdev users as a bonus as -flto applies to the crosstoolchain and can be hard to spot at first. Chat log to comfirm: immolo: I ran into the -flto issue while testing musl built with lto and the only thing I can find on it was a workaround in 2015. immolo: My question though is it even worth having lto enabled on musl in the first place as every distro just seems to filter it so there must be a reason dalias: not only is it not worth it. it's negative value dalias: makes musl larger and slower dalias: if you wanted libc.a to get LTO'd into static programs, that might have some value dalias: but LTO on libc.so is worse than worthless Closes: https://bugs.gentoo.org/877343 Thanks-to: dalias Signed-off-by: Ian Jordan <immoloism@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/27824 Signed-off-by: Sam James <sam@gentoo.org>
…
…
…
…
…
Description
No description provided
9.8 GiB
Languages
Shell
97.9%
Roff
1.4%
Emacs Lisp
0.2%
C
0.1%