Sam James e897f91e8e toolchain.eclass: abort if hybrid CPU detected w/ -march=native
Unfortunately, the previous approach can't work. --param doesn't fully
wipe out the previous value added by -march=native, so we still get a failed
comparison.

Users hitting this should install app-misc/resolve-march-native, run
resolve-march-native, and use that in their *FLAGS instead of -march=native -
at least for sys-devel/gcc via package.env, if not in make.conf.

Therefore, our only real option is to just abort when we detect a problematic
situation and tell users what to do.

The only other idea I had was to try taskset in src_compile which feels super
brittle and not sure it'd even work at all.

Thanks to Andrei for testing and debugging with us on IRC & the bug.

Bug: https://bugs.gentoo.org/904426
Bug: https://bugs.gentoo.org/908523
Bug: https://bugs.gentoo.org/915389
Bug: https://bugs.gentoo.org/927688
Thanks-to: Andrei Liavonchykau <andreil499@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
2024-03-24 17:47:08 +00:00
2024-03-23 12:54:58 +01:00
2024-03-24 22:17:32 +09:00
2024-03-22 13:37:25 +01:00
2024-03-23 13:43:35 +00:00
2024-03-03 23:31:16 +07:00
2024-03-16 00:58:55 +01:00
2024-03-23 17:59:45 +01:00
2024-03-17 23:36:28 +02:00
2024-03-22 17:22:42 +01:00
2024-03-18 21:00:02 +01:00
2024-03-12 03:30:51 +00:00
2024-03-23 18:03:17 +01:00
2024-03-24 16:24:35 +00:00
2024-03-21 16:35:45 +01:00
2024-03-23 08:28:58 +00:00
2024-03-23 17:12:26 +00:00
2024-03-07 10:51:51 -05:00
2024-03-17 07:46:25 +01:00
2024-03-21 01:26:30 -04:00
2024-03-22 13:10:23 +10:00
…
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%