﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
3162	Glibc 2.16.0 Suggestions	Armin	lfs-book@…	"Hi there. I just built Glibc 2.16.0 on my currently running system that has GCC 4.7.1, Binutils 2.22, Glibc 2.14.1, running Linux Kernel 3.4.5 with other tools more or less as in SVN version of the book.

That means I didn't build temporary toolchain and use it to build glibc, but instead I've built it only for testing.

I've noticed few things there - in Chapter 6 Glibc:

""As in Chapter 5, add the needed compiler flags to CFLAGS for x86 machines. Here, the optimization of the library is also set for the gcc compiler to enhance compilation speed (-pipe) and package performance (-O3).""

I didn't use that command to create configparms and I was running 32bit operating system. It didn't fail with 2.16.0, but I do remember it failed with 2.13 when I missed that step.

""--libexecdir=/usr/lib/glibc""

The libexecdir now contains gconv or getconf dir (not sure), not only pt_chown program. I suggest you change it to just /usr/lib as other distros do.

""cp -v ../glibc-2.16.0/iconvdata/gconv-modules iconvdata""

I didn't run this one, but iconvdata/gconv-modules exists in my build dir. I guess it isn't necesary anymore.

""If you have mounted the LFS partition with the noatime option, the atime test will fail. As mentioned in Section 2.4, “Mounting the New Partition”, do not use the noatime option while building LFS.""

Strange enough, all my ext4 partitions are mounted with noatime including the partition where glibc was built and tested. No tests failed regarding that. So I guess that warning doesn't apply anymore.

and at last

{{{

grep Error glibc-check-log
make[2]: [/home/armin/build/posix/annexc.out] Error 1 (ignored)
make[2]: [/home/armin/build/conform/run-conformtest.out] Error 1 (ignored)
}}}

The run-conformtest.out are some strange tests which I've never seen untill today. They take good amount of time and their results are like gcc's or binutils' results."	task	closed	normal	7.2	Book	SVN	normal	fixed		
