r971 - in trunk/BOOK: cross-tools/alpha cross-tools/x86 cross-tools/x86_64 cross-tools/x86_64-64 introduction/common

ken at linuxfromscratch.org ken at linuxfromscratch.org
Wed Dec 28 18:00:30 PST 2005


Author: ken
Date: 2005-12-28 19:00:29 -0700 (Wed, 28 Dec 2005)
New Revision: 971

Modified:
   trunk/BOOK/cross-tools/alpha/glibc-headers.xml
   trunk/BOOK/cross-tools/x86/glibc-headers.xml
   trunk/BOOK/cross-tools/x86_64-64/glibc-headers.xml
   trunk/BOOK/cross-tools/x86_64/glibc-headers.xml
   trunk/BOOK/introduction/common/changelog.xml
Log:
Fix glibc headers on certain hosts, perhaps only those cross-compiling from an older binutils.

Modified: trunk/BOOK/cross-tools/alpha/glibc-headers.xml
===================================================================
--- trunk/BOOK/cross-tools/alpha/glibc-headers.xml	2005-12-29 01:06:15 UTC (rev 970)
+++ trunk/BOOK/cross-tools/alpha/glibc-headers.xml	2005-12-29 02:00:29 UTC (rev 971)
@@ -47,6 +47,14 @@
     xpointer="xpointer(//*[@os='de'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/glibc-headers.xml"
+    xpointer="xpointer(//*[@os='df'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/glibc-headers.xml"
+    xpointer="xpointer(//*[@os='dg'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../final-system/common/glibc.xml"
     xpointer="xpointer(//*[@os='g'])"/>
 

Modified: trunk/BOOK/cross-tools/x86/glibc-headers.xml
===================================================================
--- trunk/BOOK/cross-tools/x86/glibc-headers.xml	2005-12-29 01:06:15 UTC (rev 970)
+++ trunk/BOOK/cross-tools/x86/glibc-headers.xml	2005-12-29 02:00:29 UTC (rev 971)
@@ -46,6 +46,13 @@
     href="../common/glibc.xml"
     xpointer="xpointer(//*[@os='de'])"/>
 
+    <para os="df">Glibc has an issue cross-compiling the headers, where it can
+    misdetect the capabilities of Binutils and decide they are inadequate.  The
+    following line fixes this:</para>
+
+<screen os="dg"><userinput>echo "libc_cv_initfini_array=yes" >> config.cache
+</userinput></screen>
+
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../final-system/common/glibc.xml"
     xpointer="xpointer(//*[@os='g'])"/>

Modified: trunk/BOOK/cross-tools/x86_64/glibc-headers.xml
===================================================================
--- trunk/BOOK/cross-tools/x86_64/glibc-headers.xml	2005-12-29 01:06:15 UTC (rev 970)
+++ trunk/BOOK/cross-tools/x86_64/glibc-headers.xml	2005-12-29 02:00:29 UTC (rev 971)
@@ -47,6 +47,14 @@
     xpointer="xpointer(//*[@os='de'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/glibc-headers.xml"
+    xpointer="xpointer(//*[@os='df'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/glibc-headers.xml"
+    xpointer="xpointer(//*[@os='dg'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../final-system/common/glibc.xml"
     xpointer="xpointer(//*[@os='g'])"/>
 

Modified: trunk/BOOK/cross-tools/x86_64-64/glibc-headers.xml
===================================================================
--- trunk/BOOK/cross-tools/x86_64-64/glibc-headers.xml	2005-12-29 01:06:15 UTC (rev 970)
+++ trunk/BOOK/cross-tools/x86_64-64/glibc-headers.xml	2005-12-29 02:00:29 UTC (rev 971)
@@ -47,6 +47,14 @@
     xpointer="xpointer(//*[@os='de'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/glibc-headers.xml"
+    xpointer="xpointer(//*[@os='df'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../x86/glibc-headers.xml"
+    xpointer="xpointer(//*[@os='dg'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../final-system/common/glibc.xml"
     xpointer="xpointer(//*[@os='g'])"/>
 

Modified: trunk/BOOK/introduction/common/changelog.xml
===================================================================
--- trunk/BOOK/introduction/common/changelog.xml	2005-12-29 01:06:15 UTC (rev 970)
+++ trunk/BOOK/introduction/common/changelog.xml	2005-12-29 02:00:29 UTC (rev 971)
@@ -43,6 +43,9 @@
           <para>[ken] - Remove --with-x=no from expect - either we booted, or we
 	  are in chroot.</para>
         </listitem>
+        <listitem>
+          <para>[ken] - Fix a failure to build glibc-headers.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
 




More information about the cross-lfs mailing list