diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2013-03-13 17:08:08 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2013-03-13 17:08:08 +0000 |
commit | 64aa6f7e383bbc77537ed2209c0b9a0b4bbfbc83 (patch) | |
tree | 1ca49735a00cc83a41079cd41257e2ea5ed8bb5f | |
parent | 53dbac2ee881c4dfa41796682e010aa711fa182b (diff) |
Add --with-sysroot to Binutils' pass 2 to fix build issues on certain hosts.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10203 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 6 | ||||
-rw-r--r-- | chapter05/binutils-pass2.xml | 13 |
2 files changed, 18 insertions, 1 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 0577a7654..762befa90 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,12 @@ <para>2013-03-13</para> <itemizedlist> <listitem> + <para>[matthew] - Fix a build issue with Check-0.9.9 on some hosts by + adding the "sysroot" feature to Binutils. Thanks to Billy + O'Connor, Yaacov-Yoseph Weiss and Pierre Labastie for the reports, and + to Pierre again for the fix.</para> + </listitem> + <listitem> <para>[matthew] - Upgrade to Perl-5.16.3. Fixes <ulink url="&lfs-ticket-root;3303">#3303</ulink>.</para> </listitem> diff --git a/chapter05/binutils-pass2.xml b/chapter05/binutils-pass2.xml index ca947482f..1cac61a18 100644 --- a/chapter05/binutils-pass2.xml +++ b/chapter05/binutils-pass2.xml @@ -56,7 +56,8 @@ RANLIB=$LFS_TGT-ranlib \ ../binutils-&binutils-version;/configure \ --prefix=/tools \ --disable-nls \ - --with-lib-path=/tools/lib</userinput></screen> + --with-lib-path=/tools/lib \ + --with-sysroot</userinput></screen> <variablelist> <title>The meaning of the new configure options:</title> @@ -81,6 +82,16 @@ RANLIB=$LFS_TGT-ranlib \ </listitem> </varlistentry> + <varlistentry> + <term><parameter>--with-sysroot</parameter></term> + <listitem> + <para>The sysroot feature enables the linker to find shared objects + which are required by other shared objects explicitly included on the + linker's command line. Without this, some packages may not build + successfully on some hosts.</para> + </listitem> + </varlistentry> + </variablelist> <para>Compile the package:</para> |