Skip to contentSkip to conversation

New: glibc 2.23: libmvec.so not copied

Buildroot bugzilla at busybox.net 1 participant 5 messages Jul 29, 2016 – Nov 3, 2016

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=9111

Bug ID: 9111
Summary: glibc 2.23: libmvec.so not copied
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: eljedi at gmail.com
CC: buildroot at uclibc.org
Target Milestone: ---

Created attachment 6561
--> https://bugs.busybox.net/attachment.cgi?id=6561&action=edit
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

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 9111] glibc 2.23: libmvec.so not copied

https://bugs.busybox.net/show_bug.cgi?id=9111

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |yann.morin.1998 at free.fr

--- Comment #1 from Yann E. MORIN <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 9111] glibc 2.23: libmvec.so not copied

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=9111

--- Comment #2 from Thomas Petazzoni <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 9111] glibc 2.23: libmvec.so not copied

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=9111

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Thomas Petazzoni <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.