On Wed, Jul 06, 2016 at 04:54:01PM -0400, Lennart Sorensen wrote: > On Wed, Jul 06, 2016 at 09:54:02PM +0200, Riccardo Mottola wrote: > > "upstream" replied with this: > > > > https://github.com/libjpeg-turbo/libjpeg-turbo/commit/6c0b7613b4d48dd35e54fc968f4a808d495f2fef > > That is garbage in my opinion, given there exists a proper interface > for getting that info.
Seconded, getauxval (not getauxvec!) is simpler, officially supported for a long time, and while the intent is not to modify the format of /proc/cpuinfo in a way that would break existing uses, it is not set in stone. For a start, the /proc/cpuinfo format does not scale well to hundreds or thousands of cores/threads, and you could say the same of other /proc files, like /proc/interrupts. Gabriel