Bug 12265 - Can't build older versions of glibc when host features version 2.26
Summary: Can't build older versions of glibc when host features version 2.26
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ major
Target Milestone: 2.5 M2
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard: Backport 2.3.3 and 2.4.1?
Depends on:
Blocks:
 
Reported: 2017-10-22 11:25 UTC by Gino Badouri
Modified: 2018-01-10 09:42 UTC (History)
5 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 Gino Badouri 2017-10-22 11:25:06 UTC

    
Comment 1 Gino Badouri 2017-10-22 11:33:31 UTC
When the host OS (Fedora 27 in my case) features glibc 2.26.
It's not possible to build older versions of glibc within OE-core.
"rocko" features version 2.26 as well, so that will build fine.
However morty and pyro will not build at all due to their libc version being older.

See the error log for Pyro: https://pastebin.com/Dz1AiN82

Morty gives the exact same error.
Comment 2 Martin Jansa 2017-10-24 18:52:25 UTC
You can work around this by adding:
LOCALE_GENERATION_WITH_CROSS-LOCALEDEF_forcevariable = "0"
in your local.conf, it will cause glibc-locale to show couple QA issues, but at least it will allow you to build the rest of the system before this issue is resolved.
Comment 3 Gino Badouri 2017-10-25 11:40:35 UTC
Thank you, it works :)