[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nacl and CPU frequency.

On Sun, 23 Sep 2012, "Thomas Preud'homme" <robotux@celest.fr> wrote:
> Le dimanche 23 septembre 2012 01:42:01, Ben Hutchings a écrit :
> > So the build process is trying to determine which method will work?
> > Then what if it settles on some method that is available on the build
> > machine's kernel, but not the target distribution's kernel?  I think you
> > need to either (1) make it defer this to run-time or (2) force the
> > decision at build-time, and be conservative.
> If I understood correctly he is ready to patch the build system to use a
> specific method for this precise reason but is asking which method would
> work on all Debian system.

How can build-time recognition of CPU features be useful in any way for 
Debian?  We can usually be certain that most systems which run the code will 
have different CPUs to the system used for building.

If hard-coding the number to some reasonable value isn't good enough then code 
needs to be written to detect it at run-time.

My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

Reply to: