Created attachment 6561 [details] Patch enable glibc installer to copy libmvec.so Current github version of buildroot does not copy libmvec.so from glibc 2.23 to target directory. I'm attaching a simple patch to fix it
Hello, It is my understanding that libmvec is only available for x86_64 (at least for now, seeing that glibc only has code for it on x86_64), so we can't copy it unconditionally. Care to send a patch to the list, please? See the manual: https://buildroot.org/downloads/manual/manual.html#submitting-patches Also, it would be nice to handle the external toolchains, too. Would you look at it? Regards, Yann E. MORIN.
We had a discussion about this, and here is the conclusion: we will simply add libmvec.so to the list of libraries to copy, for both the internal toolchain backend (glibc.mk) and the external toolchain backend (toolchain-external.mk). The function used to copy libraries from the staging directory to the target directory already ignores libraries that don't exist, so it's not a problem to unconditionally try to copy libmvec.so. It will be silently ignored on systems/C libraries/architectures where it is not available.
Patches proposed on the mailing list: https://patchwork.ozlabs.org/patch/687364/ https://patchwork.ozlabs.org/patch/687362/
Patches have been merged: https://git.buildroot.org/buildroot/commit/package/glibc?id=2c877590b3b18df4853989a66378c184713ccd55 and https://git.buildroot.org/buildroot/commit/toolchain/toolchain-external?id=447e9051f32936a3a185af926c7ec394cbd61962. Therefore, the bug is fixed.