Wind River Support Network

HomeDefectsLIN5-18018
Fixed

LIN5-18018 : Documentation doesn't explain how to patch and build glibc

Created: Feb 13, 2014    Updated: Dec 19, 2017
Resolved Date: Sep 4, 2014
Found In Version: 5.0.1.11
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Docs

Description

I need to patch glibc, but the documentation does NOT explain how to do it.
The User's guide mentions a build-libc feature, which does not seem to exist.
'configure --help' mentions the --enable-build-libc configure argument, but the doc doesn't.
Once you use the --enable-build-libc configure argument, how do you patch glibc? I would create a wrl-glibc-rebuild.bbappend recipe, but, again, without documentation, that's just a guess.

Workaround

Create a layer with this wrl-glibc-rebuild.bbappend recipe with this content:
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI_append = " file://my1st.patch file://my2nd.patch"
Store the patches in the layer/files/ directory.
Create a project with this layer and the --enable-build-libc configure argument.

Steps to Reproduce

Read documentation.
Search the information about how to patch glibc: it is not there.

Other Downloads


Live chat
Online