[lfs-book] [LFS Trac] #3162: Glibc 2.16.0 Suggestions

LFS Trac trac at linuxfromscratch.org
Sun Aug 19 04:59:53 PDT 2012


#3162: Glibc 2.16.0 Suggestions
--------------------+-------------------------------------------------------
 Reporter:  Krejzi  |       Owner:  lfs-book@…                   
     Type:  task    |      Status:  new                          
 Priority:  normal  |   Milestone:  7.2                          
Component:  Book    |     Version:  SVN                          
 Severity:  normal  |    Keywords:                               
--------------------+-------------------------------------------------------
 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.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3162>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.



More information about the lfs-book mailing list