Fixed
Created: Apr 16, 2014
Updated: Dec 3, 2018
Resolved Date: Sep 4, 2014
Previous ID: LIN5-18537
Found In Version: 6.0.0.2
Fix Version: 6.0.0.12
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Docs
Customer needs 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 template argument, but the doc doesn't.
-with-template=feature/build_libc
(See also the --with-template option.)
Rebuild glibc from source. Only meaningful with the WR toolchain. The resulting binaries are not supported; problems must be reproduced on the
prebuilt binaries.
Note: to configure the rebuilt glibc, you will need to edit the local.conf and follow the instructions around the DISTRO_FEATURES_LIBC
variable.
I would create a eglibc-sourcery-compile.bbappend recipe, but, again, without documentation, that's just a guess.
Please provide clear steps for customers to achieve the glibc patching objective.
Create a layer with this eglibc-sourcery-compile.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 --with-template option for libc.
Read documentation.
Search the information about how to patch glibc: it is not there.