On 03 Jan 2017 19:53, Victor Rodriguez wrote: > The idea of the patch is to provide AVX2 capability to glibc, original > patch from: Dimitri John Ledkov . > It has been proved that the use of AVX2 improves the performance of current > numerical applications. With this patch the Linux distributions will be able to > handle AVX2 in glibc i don't think this description is accurate/relevant. looks like you're trying to add a new search path to ldconfig/ld.so.cache so that people can build libs w/-mavx2 turned on and then put them under a path e.g. /lib64/avx2/ ? you can't add arch-specific functionality to common code like this. this patch will break all non-x86 arches. i think you want to actually be updating these files: sysdeps/i386/dl-procinfo.[ch] sysdeps/x86_64/dl-procinfo.[ch] -mike