Ian Jordan f44d1becbe sys-libs/musl: Filter LTO
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>
2022-10-17 21:31:10 +01:00
2022-10-16 11:38:58 -04:00
2022-10-16 17:19:05 -05:00
2022-10-17 10:50:25 -07:00
2022-10-12 20:38:23 +01:00
2022-10-17 14:44:41 -05:00
2022-09-21 21:56:51 +02:00
2022-10-17 04:05:58 +02:00
2022-10-04 22:33:45 +02:00
2022-10-17 20:50:18 +02:00
2022-10-12 23:57:36 +01:00
2022-10-17 07:24:47 +02:00
2022-10-07 20:00:06 +01:00
2022-10-17 20:23:02 +01:00
2022-10-12 23:57:13 +01:00
2022-10-17 21:42:16 +03:00
2022-10-11 08:03:21 +02:00
2022-10-17 21:24:12 +02:00
2022-10-17 00:04:51 +01:00
2022-10-15 21:33:35 +02:00
2022-09-23 03:13:37 +01:00
2022-10-03 14:34:07 -04:00
2022-10-15 09:47:46 +03:00
2022-10-15 16:09:44 +01:00
2022-10-17 07:24:47 +02:00
2022-10-16 00:51:03 +01:00
2022-10-16 17:49:01 +01:00
2022-10-17 21:31:10 +01:00
2022-10-13 00:39:23 +01:00
2022-10-17 08:49:25 -04:00
2022-10-17 07:24:46 +02:00
2022-10-17 04:01:23 -04:00
S
Description
No description provided
9.8 GiB
Languages
Shell 97.9%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%