Gentoo Archives: gentoo-user

From: Matt Connell <matt@×××××××.tech>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: repair of a seg-faulting bin-utils
Date: Wed, 26 Oct 2022 18:45:22
Message-Id: 61c1b37ffb962213c5ca0cce5fca3429f17f6bf2.camel@connell.tech
In Reply to: Re: [gentoo-user] Re: repair of a seg-faulting bin-utils by Rich Freeman
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.