Bug 11591 - Enable x86: Set dl_platform and dl_hwcap from CPU features
Summary: Enable x86: Set dl_platform and dl_hwcap from CPU features
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium enhancement
Target Milestone: 2.4 M4
Assignee: Juro Bystricky
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-05-29 22:21 UTC by Victor Rodriguez
Modified: 2017-10-17 22:52 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Rodriguez 2017-05-29 22:21:32 UTC
GLIBC 2.26 will have the patch x86: Set dl_platform and dl_hwcap from CPU features [BZ #21391]: https://sourceware.org/git/?p=glibc.git;a=commit;h=1432d38ea04ab5e96f21a382101856db5b49ad8a

Is possible to adopt this patch to yocto to catch optimized libraries for specific platforms
Comment 1 Joshua Lock 2017-06-01 14:57:49 UTC
Glibc 2.26 is due 2017-08-01[1] and YP 2.4 M3 closes 2017-08-21[2]. Based on past experience I'd expect Khem to have a glibc 2.6 series proposed for 2.4.

1. https://sourceware.org/glibc/wiki/Glibc%20Timeline
2. https://wiki.yoctoproject.org/wiki/Yocto_Project_v2.4_Status
Comment 2 Khem Raj 2017-06-01 15:58:08 UTC
Indeed there already is a patch on kraj/master on openembedded-core-contrib repo
Which is tracking master of glibc soon to be 2.26 release
I will propose it after gcc7 is merged
Comment 3 Richard Purdie 2017-10-17 22:28:28 UTC
FWIW the 2.4 Yocto Project release will have glibc 2.26
Comment 4 Juro Bystricky 2017-10-17 22:44:12 UTC
(In reply to comment #3)
> FWIW the 2.4 Yocto Project release will have glibc 2.26

Yes, and the patch seems to be there, too.

https://sourceware.org/git/?p=glibc.git;a=patch;h=1432d38ea04ab5e96f21a382101856db5b49ad8a

Will verify more, though
Comment 5 Juro Bystricky 2017-10-17 22:52:59 UTC
I verified, we already have glibc 2.26 in 2.4 and the patch is there as well.