[Clfs-commits] [CLFS Trac] #1027: Glibc 2.22

CLFS Trac trac at clfs.org
Sat Aug 22 12:14:52 PDT 2015


#1027: Glibc 2.22
----------------------+---------------------------------
  Reporter:  chris@…  |      Owner:  clfs-commits@…
      Type:  task     |     Status:  new
  Priority:  major    |  Milestone:  CLFS Standard 3.1.0
 Component:  BOOK     |    Version:  CLFS Standard GIT
Resolution:           |   Keywords:
----------------------+---------------------------------

Comment (by chris@…):

 The modification of "ldd" to use /lib on Pure64 can be simplified. Instead
 of editing /usr/bin/ldd after being installed, this can be run immediately
 after entering the source dir:
 {{{
 sed -i '/RTLDLIST/d' sysdeps/unix/sysv/linux/*/ldd-rewrite.sed
 }}}
 This prevents the mention of "lib64" (and libx32) from being added to ldd
 at all. This at least works on x86_64-64, please try testing other archs.

 This is shorter and simpler than the current command, can use the same
 command for all archs (though of course this can be slightly modified to
 specify an arch rather than using "*" to edit all the scripts - e.g.
 "ia64" for x86_64), and I generally prefer making these modifications as
 early as possible in the build process.

 Also (again, for Pure64), "libc_cv_rtlddir=/lib" does not need to be
 specified in config.cache. The default for "rtlddir" is to be assigned the
 value for "slibdir", so only "slibdir" needs to be specified.

-- 
Ticket URL: <http://trac.clfs.org/ticket/1027#comment:7>
CLFS Trac <http://trac.clfs.org>
The Cross Linux From Scratch Project.


More information about the Clfs-commits mailing list