On Wed, Dec 04, 2019 at 10:53:44AM +1300, Joseph Heled wrote:

> Perhaps the GNUBG code can be structured in a way that it can be
> compiled with all those "advance features", yet they are used *only*
> in rollouts and so everything else works on older systems?
> 
> Is that possible or am I just showing my ignorance?


> On Wed, 4 Dec 2019 at 10:42, Russ Allbery <[email protected]> wrote:

> > Trying to build the binary multiple times with different compiler flags
> > and select an appropriate version for the local CPU at runtime was more
> > work than I had time or energy to do, and felt like overkill.


Reasonably recent versions of gcc and clang have a feature (ifuncs) that 
should allow to to this in one single binary. I don't know how onerous 
it would be at package building stage, but I think a few parts of Linux, 
for instance glibc, use that feature, so at least it wouldn't be unknown 
territory.


Reply via email to