Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/eglibc.xml

    r686839b r7d97f36  
    5858unset LINKER</userinput></screen>
    5959
     60    <para os="p1">The following patch fixes an issue where EGLIBC will
     61    improperly handle a condition where an elf binary has missing
     62    dependencies:</para>
     63
     64<screen os="p2"><userinput>patch -Np1 -i ../&eglibc-dl_dep_fix-patch;</userinput></screen>
     65
    6066    <para os="b">The EGLIBC build system is self-contained and will install
    6167    perfectly, even though the compiler specs file and linker are still
     
    6571    of achieving a clean build.</para>
    6672
    67     <para os="s1">Allow EGLIBC to detect Make-4.x:</para>
    68 
    69 <screen os="s2"><userinput>sed -r -i 's/(3..89..)/\1 | 4.*/' configure</userinput></screen>
    70 
    71     <para os="e">The EGLIBC documentation recommends building EGLIBC outside of     the source directory in a dedicated build directory:</para>
     73    <para os="e">The EGLIBC documentation recommends building EGLIBC outside of the
     74    source directory in a dedicated build directory:</para>
    7275
    7376<screen os="f"><userinput>mkdir -v ../eglibc-build
     
    7780
    7881<screen os="h"><userinput>../eglibc-&eglibc-version;/configure --prefix=/usr \
    79     --disable-profile --enable-kernel=2.6.32 --libexecdir=/usr/lib/eglibc \
    80     --enable-obsolete-rpc</userinput></screen>
     82    --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
     83    --libexecdir=/usr/lib/eglibc</userinput></screen>
    8184
    8285    <variablelist os="i">
     
    8689        <term><parameter>--libexecdir=/usr/lib/eglibc</parameter></term>
    8790        <listitem>
    88           <para>This changes the location of the <command>getconf</command>
    89           utility from its default of <filename
     91          <para>This changes the location of the <command>pt_chown</command>
     92          program from its default of <filename
    9093          class="directory">/usr/libexec</filename> to <filename
    9194          class="directory">/usr/lib/eglibc</filename>.</para>
     
    108111<!-- items n,o,p no longer the master, use x86_64 which has no failures -->
    109112
    110 <screen os="n"><userinput remap="test">cp -v ../eglibc-&eglibc-version;/iconvdata/gconv-modules iconvdata
     113<screen os="n"><userinput>cp -v ../eglibc-&eglibc-version;/iconvdata/gconv-modules iconvdata
    111114make -k check 2&gt;&amp;1 | tee eglibc-check-log; grep Error eglibc-check-log</userinput></screen>
    112115
     
    243246EOF</userinput></screen>
    244247
    245     <para>Install timezone data:</para>
    246 <screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz
    247 
    248 ZONEINFO=/usr/share/zoneinfo
    249 mkdir -pv $ZONEINFO/{posix,right}
    250 
    251 for tz in etcetera southamerica northamerica europe africa antarctica  \
    252           asia australasia backward pacificnew solar87 solar88 solar89 \
    253           systemv; do
    254     zic -L /dev/null   -d $ZONEINFO       -y "sh yearistype.sh" ${tz}
    255     zic -L /dev/null   -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz}
    256     zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz}
    257 done
    258 
    259 cp -v zone.tab iso3166.tab $ZONEINFO
    260 zic -d $ZONEINFO -p America/New_York
    261 unset ZONEINFO</userinput></screen>
    262 
    263     <variablelist>
    264       <title>The meaning of the zic commands:</title>
    265 
    266       <varlistentry>
    267         <term><parameter>zic -L /dev/null ...</parameter></term>
    268         <listitem>
    269           <para>This creates posix timezones, without any leap seconds.  It is
    270           conventional to put these in both
    271           <filename class="directory">zoneinfo</filename> and
    272           <filename class="directory">zoneinfo/posix</filename>. It is
    273           necessary to put the POSIX timezones in
    274           <filename class="directory">zoneinfo</filename>, otherwise various
    275           test-suites will report errors. On an embedded system, where space is
    276           tight and you do not intend to ever update the timezones, you could save
    277           1.9MB by not using the <filename class="directory">posix</filename>
    278           directory, but some applications or test-suites might give less good
    279           results</para>
    280         </listitem>
    281       </varlistentry>
    282       <varlistentry>
    283         <term><parameter>zic -L leapseconds ...</parameter></term>
    284         <listitem>
    285           <para>This creates right timezones, including leap seconds. On an
    286           embedded system, where space is tight and you do not intend to
    287           ever update the timezones, or care about the correct time, you could
    288           save 1.9MB by omitting the <filename class="directory">right</filename>
    289           directory.</para>
    290         </listitem>
    291       </varlistentry>
    292       <varlistentry>
    293         <term><parameter>zic ... -p ...</parameter></term>
    294         <listitem>
    295           <para>This creates the <filename>posixrules</filename> file. We use
    296           New York because POSIX requires the daylight savings time rules
    297           to be in accordance with US rules.</para>
    298         </listitem>
    299       </varlistentry>
    300     </variablelist>
    301 
    302248    <para>To determine the local time zone, run the following script:</para>
    303249
     
    377323      <seglistitem>
    378324        <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
    379         ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd,
    380         pcprofiledump, pldd, rpcgen, sln, sprof, tzselect, xtrace,zdump,
    381         and zic</seg>
     325        ldd, lddlibc4, locale, localedef, mtrace, nscd,
     326        pcprofiledump, pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
     327        zdump, and zic</seg>
    382328        <seg>ld.so, libBrokenLocale.[a,so], libSegFault.so, libanl.[a,so],
    383329        libbsd-compat.a, libc.[a,so], libc_nonshared.a, libcidn.[a,so],
     
    519465      </varlistentry>
    520466
    521       <varlistentry id="makedb">
    522         <term><command>makedb</command></term>
    523         <listitem>
    524           <para>Creates a simple database from textual input</para>
    525           <indexterm zone="ch-system-eglibc makedb">
    526             <primary sortas="b-makedb">makedb</primary>
    527           </indexterm>
    528         </listitem>
    529       </varlistentry>
    530 
    531467      <varlistentry id="mtrace">
    532468        <term><command>mtrace</command></term>
     
    561497      </varlistentry>
    562498
    563       <varlistentry id="pldd">
    564         <term><command>pldd</command></term>
    565         <listitem>
    566           <para>Lists dynamic shared objects used by running processes</para>
    567           <indexterm zone="ch-system-eglibc pldd">
    568             <primary sortas="b-pldd">pldd</primary>
     499      <varlistentry id="pt_chown">
     500        <term><command>pt_chown</command></term>
     501        <listitem>
     502          <para>A helper program for <command>grantpt</command> to set the owner,
     503          group and access permissions of a slave pseudo terminal</para>
     504          <indexterm zone="ch-system-eglibc pt_chown">
     505            <primary sortas="b-pt_chown">pt_chown</primary>
    569506          </indexterm>
    570507        </listitem>
     
    582519      </varlistentry>
    583520
     521      <varlistentry id="rpcinfo">
     522        <term><command>rpcinfo</command></term>
     523        <listitem>
     524          <para>Makes an RPC call to an RPC server</para>
     525          <indexterm zone="ch-system-eglibc rpcinfo">
     526            <primary sortas="b-rpcinfo">rpcinfo</primary>
     527          </indexterm>
     528        </listitem>
     529      </varlistentry>
     530
    584531      <varlistentry id="sln">
    585532        <term><command>sln</command></term>
     
    588535          <indexterm zone="ch-system-eglibc sln">
    589536            <primary sortas="b-sln">sln</primary>
    590           </indexterm>
    591         </listitem>
    592       </varlistentry>
    593 
    594       <varlistentry id="sotruss">
    595         <term><command>sotruss</command></term>
    596         <listitem>
    597           <para>Traces shared library procedure calls of a specified command</para>
    598           <indexterm zone="ch-system-eglibc sotruss">
    599             <primary sortas="b-sotruss">sotruss</primary>
    600537          </indexterm>
    601538        </listitem>
Note: See TracChangeset for help on using the changeset viewer.