1 |
On Wed, 2022-10-26 at 14:37 -0400, Rich Freeman wrote: |
2 |
> Another possible issue is bad -march settings. That usually is an |
3 |
> issue if you change your CPU and boot off of an existing hard drive. |
4 |
> If you're going to upgrade your CPU you should rebuild all of @system |
5 |
> (at least) with -march set to something very minimal. Don't assume |
6 |
> that a newer CPU does everything an existing one does - they sometimes |
7 |
> do drop instructions. You can set -mcpu to whatever you want, as a |
8 |
> bad -mcpu will only cause minor performance issues. |
9 |
|
10 |
Further reading on this: |
11 |
|
12 |
https://wiki.gentoo.org/wiki/Safe_CFLAGS |
13 |
|
14 |
I've always used this as a reference for helping ensure make.conf is |
15 |
not only going to be well optimized, but produce reliable binaries. |