[Clfs-commits] [CLFS Embedded]Cross-LFS Embedded Book branch, master, updated. ccb1a8e458cfa37336c7a5061e6a6d477d6bcd62

git git at cross-lfs.org
Tue Oct 8 12:17:22 PDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Embedded Book".

The branch, master has been updated
       via  ccb1a8e458cfa37336c7a5061e6a6d477d6bcd62 (commit)
       via  a3fdd0f729779e56ce7f763d7577533701fddf47 (commit)
       via  8e7dcf3c2a9eb87b7bd9b01da82e327402997870 (commit)
       via  ec6732d61913263fffa1b11f5948af69c968e419 (commit)
       via  f2f745ea421e2df832541205a52b71d3105e1166 (commit)
       via  822bc6643700bb699cb7a1d63dc7e146af95ace2 (commit)
       via  62fdf1a8d8cc65bd0306fbde43a9f762daf45862 (commit)
       via  babc55dbaea0ebde5d499b99ae235fc48c609e1d (commit)
       via  9de86685164166c31ca66fe96a77e2e56dabcf82 (commit)
      from  08270e93ee0f96c35033cb1559d7e37b97993e7a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ccb1a8e458cfa37336c7a5061e6a6d477d6bcd62
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Tue Oct 8 13:10:29 2013 -0400

    general: Update date

diff --git a/BOOK/general.ent b/BOOK/general.ent
index 4c83d76..71233ae 100644
--- a/BOOK/general.ent
+++ b/BOOK/general.ent
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
-<!ENTITY month "08"> <!-- Use two digits -->
-<!ENTITY month_name "August">
-<!ENTITY day "12"> <!-- Use two digits -->
+<!ENTITY month "10"> <!-- Use two digits -->
+<!ENTITY month_name "October">
+<!ENTITY day "08"> <!-- Use two digits -->
 <!ENTITY year "2013"> <!-- Use four digits -->
 
 <!ENTITY releasedate "&month_name; &day;, &year;">

commit a3fdd0f729779e56ce7f763d7577533701fddf47
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Tue Oct 8 13:09:41 2013 -0400

    arm/changelog: Removal of OABI

diff --git a/BOOK/introduction/arm/changelog.xml b/BOOK/introduction/arm/changelog.xml
index 6a95095..0555f77 100644
--- a/BOOK/introduction/arm/changelog.xml
+++ b/BOOK/introduction/arm/changelog.xml
@@ -33,6 +33,16 @@
 -->
 
     <listitem>
+      <para>October 8, 2013</para>
+      <itemizedlist>
+        <listitem>
+          <para>[abradford] - Remove ARM OABI and other ABIs that aren't EABI
+          using aapcs-linux.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>September 18, 2012</para>
       <itemizedlist>
         <listitem>

commit 8e7dcf3c2a9eb87b7bd9b01da82e327402997870
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Tue Oct 8 13:05:41 2013 -0400

    Rename uClibc-configs from 2 to 3 for OABI->EABI

diff --git a/patches/uClibc-0.9.31-configs-2.patch b/patches/uClibc-0.9.31-configs-3.patch
similarity index 100%
rename from patches/uClibc-0.9.31-configs-2.patch
rename to patches/uClibc-0.9.31-configs-3.patch

commit ec6732d61913263fffa1b11f5948af69c968e419
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Tue Oct 8 13:04:55 2013 -0400

    uClibc-configs.patch: Remove OABI, use EABI
    
    Default big and little endian configs are now EABI only.

diff --git a/patches/uClibc-0.9.31-configs-2.patch b/patches/uClibc-0.9.31-configs-2.patch
index 4a8cd51..4767ea1 100644
--- a/patches/uClibc-0.9.31-configs-2.patch
+++ b/patches/uClibc-0.9.31-configs-2.patch
@@ -6,6 +6,8 @@ Upstream Status: None - CLFS Specific
 Description: Default configurations for CLFS builds of uClibc.
 Updated: 2011-02-15 by Andrew Bradford <bradfa at gmail.com>
          Removed hppa and alpha architectures as they aren't used in embedded.
+         2013-10-08 by Andrew Bradford <andrew at bradfordembedded.com>
+         Removed ARM OABI configs, EABI configs are new default.
 
 diff -Naur uClibc-0.9.31.orig/clfs/config.arm.big uClibc-0.9.31/clfs/config.arm.big
 --- uClibc-0.9.31.orig/clfs/config.arm.big	1969-12-31 19:00:00.000000000 -0500
@@ -47,7 +49,7 @@ diff -Naur uClibc-0.9.31.orig/clfs/config.arm.big uClibc-0.9.31/clfs/config.arm.
 +#
 +TARGET_ARCH="arm"
 +FORCE_OPTIONS_FOR_ARCH=y
-+CONFIG_ARM_OABI=y
++CONFIG_ARM_EABI=y
 +# CONFIG_ARM_EABI is not set
 +CONFIG_GENERIC_ARM=y
 +# CONFIG_ARM610 is not set
@@ -303,7 +305,7 @@ diff -Naur uClibc-0.9.31.orig/clfs/config.arm.little uClibc-0.9.31/clfs/config.a
 +#
 +TARGET_ARCH="arm"
 +FORCE_OPTIONS_FOR_ARCH=y
-+CONFIG_ARM_OABI=y
++CONFIG_ARM_EABI=y
 +# CONFIG_ARM_EABI is not set
 +CONFIG_GENERIC_ARM=y
 +# CONFIG_ARM610 is not set

commit f2f745ea421e2df832541205a52b71d3105e1166
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Tue Oct 8 13:00:23 2013 -0400

    arm/uclibc: Use common uclibc text
    
    As ARM is not just aapcs-linux and EABI there's no need for the OABI to
    EABI sed line and the common uclibc steps apply.

diff --git a/BOOK/cross-tools/arm-chapter.xml b/BOOK/cross-tools/arm-chapter.xml
index 29fecb6..99df764 100644
--- a/BOOK/cross-tools/arm-chapter.xml
+++ b/BOOK/cross-tools/arm-chapter.xml
@@ -21,7 +21,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/gcc-static.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/uclibc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/uclibc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/gcc-final.xml"/>
 
 </chapter>
diff --git a/BOOK/cross-tools/arm/uclibc.xml b/BOOK/cross-tools/arm/uclibc.xml
deleted file mode 100644
index fe8ba8b..0000000
--- a/BOOK/cross-tools/arm/uclibc.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
-  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-  <!ENTITY % general-entities SYSTEM "../../general.ent">
-  %general-entities;
-]>
-
-<!-- ARM specific uClibc -->
-
-<sect1 id="ch-cross-tools-uclibc" role="wrap">
-  <?dbhtml filename="uclibc.html"?>
-
-  <title>uClibc-&uclibc-version;</title>
-
-  <indexterm zone="ch-cross-tools-uclibc">
-    <primary sortas="a-uClibc">uClibc</primary>
-    <secondary>cross tools</secondary>
-  </indexterm>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../common/uclibc.xml"
-  xpointer="xpointer(//*[@role='package'])"/>
-
-  <sect2 role="installation">
-    <title>Installation of uClibc</title>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/uclibc.xml"
-    xpointer="xpointer(//*[@os='a'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/uclibc.xml"
-    xpointer="xpointer(//*[@os='b'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/uclibc.xml"
-    xpointer="xpointer(//*[@os='c'])"/>
-
-
-   <para os="d">For the ARM architecture, there are two different configurations
-   of uClibc that can be used: the EABI configuration and the OABI configuration.
-   We will first copy the OABI configuration and, if the EABI was selected, modify
-   it to use the EABI:</para>
-
-<screen os="e"><userinput>cp -v clfs/config.${CLFS_ARCH}.${CLFS_ENDIAN} .config
-if [ "${CLFS_ABI}" == "aapcs" ] || [ "${CLFS_ABI}" == "aapcs-linux" ]; \
-  then sed -i s/CONFIG_ARM_OABI/CONFIG_ARM_EABI/g .config; fi</userinput></screen>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/uclibc.xml"
-    xpointer="xpointer(//*[@os='f'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/uclibc.xml"
-    xpointer="xpointer(//*[@os='g'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/uclibc.xml"
-    xpointer="xpointer(//*[@os='h'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/uclibc.xml"
-    xpointer="xpointer(//*[@os='i'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/uclibc.xml"
-    xpointer="xpointer(//*[@os='l'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-    href="../common/uclibc.xml"
-    xpointer="xpointer(//*[@os='j'])"/>
-
-  </sect2>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../common/uclibc.xml"
-  xpointer="xpointer(//*[@role='content'])"/>
-
-</sect1>

commit 822bc6643700bb699cb7a1d63dc7e146af95ace2
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Tue Oct 8 12:55:35 2013 -0400

    arm/abi: Remove all ABI except EABI
    
    OABI is obsolete as of GCC 4.7.

diff --git a/BOOK/cross-tools/arm/abi.xml b/BOOK/cross-tools/arm/abi.xml
index 086bda5..371c820 100644
--- a/BOOK/cross-tools/arm/abi.xml
+++ b/BOOK/cross-tools/arm/abi.xml
@@ -10,74 +10,17 @@
 
   <title>ABI Variables</title>
 
-  <para os="a">On the ARM architecture, there are two major ABI types to choose
-  from: EABI and OABI.  There is also a Thumb ABI and an Intel IWMMX specific
-  ABI but these are generally not recommended for most uses.</para>
-
-  <para os="b">The EABI (Embedded ABI) is newer and supports additional
-  features, faster software floating point operations, and Thumb interworking,
-  but is only compatible with ARMv4t and newer cores.  The EABI has
-  sub-ABIs of: aapcs-linux and aapcs.  aapcs-linux has standard Linux 4 byte
-  enums while aapcs has variable length enums.  aapcs-linux is recommended over
-  aapcs.</para>
-
-  <para os="c">The OABI (old ABI) is called apcs-gnu and supports ARMv4 and 
-  older cores.  Generally the OABI is not used by modern ARM processors.</para>
+  <para os="b">The EABI (Embedded ABI) is the recommended ABI to use for ARM.
+  The EABI has sub-ABIs of: aapcs-linux and aapcs.  aapcs-linux has standard
+  Linux 4 byte enums and thus is recommended.  EABI supports armv4t and newer
+  processors.</para>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../common/abi.xml"
   xpointer="xpointer(//*[@os='a'])"/>
 
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../common/abi.xml"
-  xpointer="xpointer(//*[@os='b'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../common/abi.xml"
-  xpointer="xpointer(//*[@os='c'])"/>
-
-  <table>
-    <title>List of Build Variables</title>
-    <?dbfo table-width="3in" ?>
-
-    <tgroup cols="2">
-
-      <colspec colnum="1" colwidth="1.5in" colname="ABI"/>
-      <colspec colnum="2" colwidth="2in" colname="Note"/>
-
-      <thead>
-        <row>
-          <entry>ABI</entry>
-          <entry>Note</entry>
-        </row>
-      </thead>
-
-      <tbody>
-        <row>
-          <entry>aapcs-linux</entry>
-          <entry>Recommended for EABI. Standard Linux 32 bit (int) enums</entry>
-        </row>
-        <row>
-          <entry>apcs-gnu</entry>
-          <entry>Recommended for OABI</entry>
-        </row>
-        <row>
-          <entry>atpcs</entry>
-          <entry>Thumb ABI</entry>
-        </row>
-        <row>
-          <entry>aapcs</entry>
-          <entry>EABI w/ variable size enums</entry>
-        </row>
-        <row>
-          <entry>iwmmxt</entry>
-          <entry>Supports Intel XScale MMX extensions</entry>
-        </row>
-      </tbody>
-
-    </tgroup>
-
-  </table>
+<screen os="b"><userinput>export CLFS_ABI="aapcs-linux"
+echo export CLFS_ABI=\""${CLFS_ABI}\"" >> ~/.bashrc</userinput></screen>
 
 </sect1>
 
diff --git a/BOOK/cross-tools/arm/variables.xml b/BOOK/cross-tools/arm/variables.xml
index 554cd2c..666eab0 100644
--- a/BOOK/cross-tools/arm/variables.xml
+++ b/BOOK/cross-tools/arm/variables.xml
@@ -95,18 +95,6 @@ echo export CLFS_FPU=\""${CLFS_FPU}\"" >> ~/.bashrc</userinput></screen>
 
       <tbody>
         <row>
-          <entry>Generic arm</entry>
-          <entry>little</entry>
-          <entry>OABI</entry>
-          <entry>arm-unknown-linux-uclibc</entry>
-        </row>
-        <row>
-          <entry>Generic arm, version 4</entry>
-          <entry>little</entry>
-          <entry>OABI</entry>
-          <entry>armv4-unknown-linux-uclibc</entry>
-        </row>
-        <row>
           <entry>Generic arm, version 5</entry>
           <entry>little</entry>
           <entry>EABI</entry>

commit 62fdf1a8d8cc65bd0306fbde43a9f762daf45862
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Tue Oct 1 15:25:12 2013 -0400

    binutils & mpfr: Remove --enable-shared
    
    Not needed.

diff --git a/BOOK/cross-tools/common/binutils.xml b/BOOK/cross-tools/common/binutils.xml
index 93647a1..6c347e6 100644
--- a/BOOK/cross-tools/common/binutils.xml
+++ b/BOOK/cross-tools/common/binutils.xml
@@ -47,7 +47,7 @@ cd ../binutils-build</userinput></screen>
 
 <screen os="e"><userinput>../binutils-&binutils-version;/configure --prefix=${CLFS}/cross-tools \
    --target=${CLFS_TARGET} --with-sysroot=${CLFS} --disable-nls \
-   --enable-shared --disable-multilib</userinput></screen>
+   --disable-multilib</userinput></screen>
 
     <variablelist os="f">
       <title>The meaning of the configure options:</title>
@@ -87,13 +87,6 @@ cd ../binutils-build</userinput></screen>
         </listitem>
       </varlistentry>
 
-      <varlistentry os="f6">
-        <term><parameter>--enable-shared</parameter></term>
-        <listitem>
-          <para>Enable the creation of the shared libraries.</para>
-        </listitem>
-      </varlistentry>
-
       <varlistentry os="f7">
         <term><parameter>--disable-multilib</parameter></term>
         <listitem>
diff --git a/BOOK/cross-tools/common/mpfr.xml b/BOOK/cross-tools/common/mpfr.xml
index a7dd643..9015cd9 100644
--- a/BOOK/cross-tools/common/mpfr.xml
+++ b/BOOK/cross-tools/common/mpfr.xml
@@ -30,7 +30,7 @@
     <para os="a">Prepare MPFR for compilation:</para>
 
 <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \
-  ./configure --prefix=${CLFS}/cross-tools --enable-shared \
+  ./configure --prefix=${CLFS}/cross-tools \
   --with-gmp=${CLFS}/cross-tools</userinput></screen>
 
     <para os="c">Compile the package:</para>

commit babc55dbaea0ebde5d499b99ae235fc48c609e1d
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Tue Oct 1 14:40:39 2013 -0400

    arm/abi: Reduce table to 2 columns
    
    Columns 1 and 2 were the same and thus duplicate information that is not
    needed and may even confuse.  Remove column 2.

diff --git a/BOOK/cross-tools/arm/abi.xml b/BOOK/cross-tools/arm/abi.xml
index d476fb9..086bda5 100644
--- a/BOOK/cross-tools/arm/abi.xml
+++ b/BOOK/cross-tools/arm/abi.xml
@@ -40,16 +40,14 @@
     <title>List of Build Variables</title>
     <?dbfo table-width="3in" ?>
 
-    <tgroup cols="3">
+    <tgroup cols="2">
 
-      <colspec colnum="1" colwidth="1.5in" colname="ABI to Select"/>
-      <colspec colnum="2" colwidth="1.5in" colname="Variable Value"/>
-      <colspec colnum="3" colwidth="2in" colname="Note"/>
+      <colspec colnum="1" colwidth="1.5in" colname="ABI"/>
+      <colspec colnum="2" colwidth="2in" colname="Note"/>
 
       <thead>
         <row>
           <entry>ABI</entry>
-          <entry>CLFS_ABI=Value</entry>
           <entry>Note</entry>
         </row>
       </thead>
@@ -57,27 +55,22 @@
       <tbody>
         <row>
           <entry>aapcs-linux</entry>
-          <entry>aapcs-linux</entry>
           <entry>Recommended for EABI. Standard Linux 32 bit (int) enums</entry>
         </row>
         <row>
           <entry>apcs-gnu</entry>
-          <entry>apcs-gnu</entry>
           <entry>Recommended for OABI</entry>
         </row>
         <row>
           <entry>atpcs</entry>
-          <entry>atpcs</entry>
           <entry>Thumb ABI</entry>
         </row>
         <row>
           <entry>aapcs</entry>
-          <entry>aapcs</entry>
           <entry>EABI w/ variable size enums</entry>
         </row>
         <row>
           <entry>iwmmxt</entry>
-          <entry>iwmmxt</entry>
           <entry>Supports Intel XScale MMX extensions</entry>
         </row>
       </tbody>

commit 9de86685164166c31ca66fe96a77e2e56dabcf82
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Mon Jul 15 07:05:55 2013 -0400

    Remove mention of uClibc, replace with "C library"
    
    In prep for removal of uClibc.

diff --git a/BOOK/cross-tools/common/binutils.xml b/BOOK/cross-tools/common/binutils.xml
index 32c5e52..93647a1 100644
--- a/BOOK/cross-tools/common/binutils.xml
+++ b/BOOK/cross-tools/common/binutils.xml
@@ -27,7 +27,7 @@
     <title>Installation of Cross Binutils</title>
 
     <para os="a">It is important that Binutils be the first package compiled
-    because both uClibc and GCC perform various tests on the available
+    because both the C library and GCC perform various tests on the available
     linker and assembler to determine which of their own features to
     enable.</para>
 
diff --git a/BOOK/cross-tools/mips/variables.xml b/BOOK/cross-tools/mips/variables.xml
index 9e83e9c..a734a32 100644
--- a/BOOK/cross-tools/mips/variables.xml
+++ b/BOOK/cross-tools/mips/variables.xml
@@ -31,7 +31,7 @@
 export CLFS_ENDIAN=$(echo ${CLFS_ARCH} | sed -e 's/mipsel/little/' -e 's/mips/big/')</userinput></screen>
 
   <para os="m1">Now you will need to set the MIPS LEVEL. This determines how your
-  GCC and uClibc are built. There are currently 5 MIPS ISA Levels. To keep things 
+  GCC and C library are built. There are currently 5 MIPS ISA Levels. To keep things 
   simple we are only using two. For more information, see
   <ulink url="http://www.linux-mips.org/wiki/Instruction_Set_Architecture"/></para>
 

-----------------------------------------------------------------------

Summary of changes:
 BOOK/cross-tools/arm-chapter.xml                   |    2 +-
 BOOK/cross-tools/arm/abi.xml                       |   76 ++-----------------
 BOOK/cross-tools/arm/uclibc.xml                    |   79 --------------------
 BOOK/cross-tools/arm/variables.xml                 |   12 ---
 BOOK/cross-tools/common/binutils.xml               |   11 +--
 BOOK/cross-tools/common/mpfr.xml                   |    2 +-
 BOOK/cross-tools/mips/variables.xml                |    2 +-
 BOOK/general.ent                                   |    6 +-
 BOOK/introduction/arm/changelog.xml                |   10 +++
 ...nfigs-2.patch => uClibc-0.9.31-configs-3.patch} |    6 +-
 10 files changed, 28 insertions(+), 178 deletions(-)
 delete mode 100644 BOOK/cross-tools/arm/uclibc.xml
 rename patches/{uClibc-0.9.31-configs-2.patch => uClibc-0.9.31-configs-3.patch} (99%)


hooks/post-receive
-- 
Cross-LFS Embedded Book



More information about the Clfs-commits mailing list