﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
3747	Glibc 2.21 does not like parallel build	chris@…	lfs-book@…	"When using ""make -j"" to build Glibc 2.21, it will sometimes fail to build. Here's the relevant part of the compile log:
{{{
make[2]: Entering directory '/usr/src/glibc/xxxbuild/glibc-2.21/elf'
.././scripts/mkinstalldirs /usr/src/glibc/xxxbuild/glibc-build/elf
.././scripts/mkinstalldirs /usr/src/glibc/xxxbuild/glibc-build/elf
.././scripts/mkinstalldirs /usr/src/glibc/xxxbuild/glibc-build/elf
echo '#define RUNTIME_LINKER ""/lib/ld-linux-x86-64.so.2""' \
        > /usr/src/glibc/xxxbuild/glibc-build/elf/runtime-linker.T
mkdir -p -- /usr/src/glibc/xxxbuild/glibc-build/elf
mkdir -p -- /usr/src/glibc/xxxbuild/glibc-build/elf
/bin/sh: /usr/src/glibc/xxxbuild/glibc-build/elf/runtime-linker.T: No such file or directory
}}}
The creation of ""runtime-linker.T"" can occur before the ""elf"" directory actually exists, causing a no such file error. Obviously the fix would be to ensure the ""elf"" directory is created first, but I wouldn't know exactly how to fix the Makefile to ensure that happens. Until a patch can be found for this issue, a temporary fix would be to add a note that Glibc should be built with ""make -j1""."	task	closed	normal	7.7	Book	SVN	normal	fixed		
