Changeset 877cfcd for BOOK/final-system


Ignore:
Timestamp:
Oct 17, 2015, 3:01:45 PM (9 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
sysvinit
Children:
baaf11d
Parents:
65db39d
git-author:
William Harrington <kb0iic@…> (10/17/15 15:01:41)
git-committer:
William Harrington <kb0iic@…> (10/17/15 15:01:45)
Message:

Update GLIBC from 2.21 to 2.22 and remove rttldir from config.cache.

Location:
BOOK/final-system
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/mips64-64/glibc.xml

    r65db39d r877cfcd  
    5353    href="../x86_64-64/glibc.xml"
    5454    xpointer="xpointer(//*[@os='l6'])"/>
     55
     56    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     57    href="../x86_64-64/glibc.xml"
     58    xpointer="xpointer(//*[@os='l7'])"/>
     59
     60    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     61    href="../x86_64-64/glibc.xml"
     62    xpointer="xpointer(//*[@os='l8'])"/>
    5563
    5664    <para>Now we will force Glibc to build as 64-bit instead of the default
  • BOOK/final-system/multilib/glibc-64bit.xml

    r65db39d r877cfcd  
    4646    <filename class="directory">/lib64</filename>:</para>
    4747
    48 <screen os="m2"><userinput>echo "libc_cv_rtlddir=/lib64" &gt;&gt; config.cache
    49 echo "libc_cv_slibdir=/lib64" &gt;&gt; config.cache</userinput></screen>
     48<screen os="m2"><userinput>echo "libc_cv_slibdir=/lib64" &gt;&gt; config.cache</userinput></screen>
    5049
    5150    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/ppc64-64/glibc.xml

    r65db39d r877cfcd  
    5353    href="../x86_64-64/glibc.xml"
    5454    xpointer="xpointer(//*[@os='l6'])"/>
     55
     56    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     57    href="../x86_64-64/glibc.xml"
     58    xpointer="xpointer(//*[@os='l7'])"/>
     59
     60    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     61    href="../x86_64-64/glibc.xml"
     62    xpointer="xpointer(//*[@os='l8'])"/>
    5563
    5664    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    119127    xpointer="xpointer(//*[@os='t'])"/>
    120128
    121     <para>Now we can remove this symlink. We also need to correct the <command>
    122     /usr/bin/ldd</command> script - if you look at this, you will see it references
    123     not only the 32-bit linker, but also /lib64 where it thinks the 64-bit linker
    124     is. The following <command>sed</command> will correct this:</para>
     129    <para>Now we can remove this symlink:</para>
    125130
    126     <screen><userinput>rm -v /lib/ld.so.1
    127 sed -i.bak '/RTLDLIST/s%/ld.so.1 /lib64%%' /usr/bin/ldd</userinput></screen>
    128 
    129     <para>Check the script to make sure the sed worked correctly, then delete
    130     the backup.</para>
    131 
    132     <screen><userinput>rm -v /usr/bin/ldd.bak</userinput></screen>
     131    <screen><userinput>rm -v /lib/ld.so.1</userinput></screen>
    133132
    134133    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/sparc64-64/glibc.xml

    r65db39d r877cfcd  
    6161    href="../x86_64-64/glibc.xml"
    6262    xpointer="xpointer(//*[@os='l6'])"/>
     63
     64    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     65    href="../x86_64-64/glibc.xml"
     66    xpointer="xpointer(//*[@os='l7'])"/>
     67
     68    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     69    href="../x86_64-64/glibc.xml"
     70    xpointer="xpointer(//*[@os='l8'])"/>
    6371
    6472    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/x86_64-64/glibc.xml

    r65db39d r877cfcd  
    4949    <filename class="directory">/lib</filename>:</para>
    5050
    51 <screen os="l6"><userinput>echo "libc_cv_rtlddir=/lib" &gt;&gt; config.cache
    52 echo "libc_cv_slibdir=/lib" &gt;&gt; config.cache</userinput></screen>
     51<screen os="l6"><userinput>echo "libc_cv_slibdir=/lib" &gt;&gt; config.cache</userinput></screen>
     52
     53    <para os="l7">Modify the <command>ldd</command> rewrite script to remove
     54    <filename class="directory">lib64</filename> and
     55    <filename class="directory">libx32</filename> from RTLDLIST.</para>
     56
     57<screen os="l8"><userinput>sed -i '/RTLDLIST/d' sysdeps/unix/sysv/linux/*/ldd-rewrite.sed</userinput></screen>
    5358
    5459    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    127132    xpointer="xpointer(//*[@os='t'])"/>
    128133
    129     <para>Now we can remove this symlink.  We also need to correct the <command>
    130     /usr/bin/ldd</command> script - if you look at this, you will see it references
    131     not only the 32-bit linker, but also /lib64 where it thinks the 64-bit linker
    132     is. The following <command>sed</command> will correct this:</para>
     134    <para>Now we can remove this symlink:</para>
    133135
    134     <screen><userinput>rm -v /lib/ld-linux.so.2
    135 sed -i.bak '/RTLDLIST/s%/ld-linux.so.2 /lib64%%' /usr/bin/ldd</userinput></screen>
    136 
    137     <para>Check the script to make sure the sed worked correctly, then delete
    138     the backup.</para>
    139 
    140     <screen><userinput>rm -v /usr/bin/ldd.bak</userinput></screen>
     136    <screen><userinput>rm -v /lib/ld-linux.so.2</userinput></screen>
    141137
    142138    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note: See TracChangeset for help on using the changeset viewer.