Wind River Support Network

HomeOther DownloadsFix for the build error with the option --enable-build-libc=yes
Optional Type: Patch

Fix for the build error with the option --enable-build-libc=yes

Released: Aug 2, 2007     Updated: Aug 2, 2007

Description

Symptoms of the problem:
------------------------
The build of a WR Linux Platform Project based on the template for intel_mpcbl0001 fails if --enable-build-libc=yes.

The complete configure options to reproduce this failure are:

--enable-board=intel_mpcbl0001
--enable-rootfs=glibc_cgl
--enable-kernel=cgl
--enable-build=production
--enable-quilt=yes
--enable-build-libc=yes
--enable-prebuilt-libs=yes
--enable-jobs=4

Relief:
-------
The problem is this: In the "glibc-*/manual/Makefile", the script
"libm-err-tab.pl" is called for all directories of the form
"libm-test-ulps":

stamp-libm-err: libm-err-tab.pl $(wildcard $(foreach dir,$(sysdirs),\
$(dir)/libm-test-ulps))

This script "libm-err-tab.pl" examines every file for math error data,
and every file is expected to be readable or else it fails at that
point.

HOWEVER, (a) quilt maintains parallel directories by that name in its
"wrlinux_quilt_pc" or ".pc" sub-directory, and (b) it keeps the
untouched versions of the source files as zero length placeholder files
with no access rights. These files cause the halt.
IDENTIFIER = WIND00094364-PCDLE


Product Version

Linux Platforms 1.x

Downloads


Installation Notes

Installation Notes

Installation instructions:
--------------------------

1) Copy and unzip the patch in /updates directory

2) Go to the /updates directory

3) Run ./setup_linux to install the patch

To verify the patch
--------------------
1) Open WB 2.6 (or use command line) with PNE LE 1.4
2) Create a new project with "--enable-build-libc=yes"
3) make all ("make -C build glibc" is the specific test)
4) The build will succeed (would have failed without the patch)


Live chat
Online