|
@@ -43,14 +43,14 @@
|
|
|
<sect2 role="installation">
|
|
|
<title>Installation of Glibc</title>
|
|
|
|
|
|
- <para>Fix a bug that prevents Glibc from building with GCC-&gcc-version;:</para>
|
|
|
+ <para>Address a header check that fails due to an incomplete build
|
|
|
+ environment at this point:</para>
|
|
|
|
|
|
- <screen><userinput remap="pre">patch -Np1 -i ../&glibc-gcc_fix-patch;</userinput></screen>
|
|
|
+ <screen><userinput remap="pre">sed -i 's#$ac_includes_default#\n\n#' sysdeps/i386/configure</userinput></screen>
|
|
|
|
|
|
- <para>Also address a header check that fails due to an incomplete build
|
|
|
- environment at this point:</para>
|
|
|
+ <para>Fix a path that is hardcoded:</para>
|
|
|
|
|
|
- <screen><userinput remap="pre">patch -Np1 -i ../&glibc-cpuid-patch;</userinput></screen>
|
|
|
+ <screen><userinput remap="pre">sed -i 's#/var/db#/tools/var/db#' Makeconfig</userinput></screen>
|
|
|
|
|
|
<para>The Glibc documentation recommends building Glibc outside of the source
|
|
|
directory in a dedicated build directory:</para>
|
|
@@ -83,6 +83,7 @@ esac</userinput></screen>
|
|
|
--enable-kernel=2.6.25 \
|
|
|
--with-headers=/tools/include \
|
|
|
libc_cv_forced_unwind=yes \
|
|
|
+ libc_cv_ctors_header=yes \
|
|
|
libc_cv_c_cleanup=yes</userinput></screen>
|
|
|
|
|
|
<variablelist>
|
|
@@ -151,6 +152,14 @@ esac</userinput></screen>
|
|
|
cleanup handling support is configured.</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
+ <varlistentry>
|
|
|
+ <term><parameter>libc_cv_ctors_header=yes</parameter></term>
|
|
|
+ <listitem>
|
|
|
+ <para>Simlarly, we pass libc_cv_ctors_header=yes through to the
|
|
|
+ <command>configure</command> script so that the test is skipped and
|
|
|
+ gcc constructor support is configured.</para>
|
|
|
+ </listitem>
|
|
|
+ </varlistentry>
|
|
|
|
|
|
</variablelist>
|
|
|
|