[PATCH 1/2] Update newlib to 20150223 snapshot tarball

Joel Sherrill joel.sherrill at oarcorp.com
Thu Mar 26 18:23:01 UTC 2015


This includes Joel's patch to dynamically probe for the proper
<inttypes.h> setting for intptr_t and uintptr_t. This eliminates
many printf() format warnings due to them being incorrectly defined.
---
 rtems/config/4.11/rtems-arm.bset                   |  2 +-
 rtems/config/4.11/rtems-avr.bset                   |  2 +-
 rtems/config/4.11/rtems-bfin.bset                  |  2 +-
 rtems/config/4.11/rtems-h8300.bset                 |  2 +-
 rtems/config/4.11/rtems-i386.bset                  |  2 +-
 rtems/config/4.11/rtems-lm32.bset                  |  2 +-
 rtems/config/4.11/rtems-m32c.bset                  |  2 +-
 rtems/config/4.11/rtems-m32r.bset                  |  2 +-
 rtems/config/4.11/rtems-m68k.bset                  |  2 +-
 rtems/config/4.11/rtems-microblaze.bset            |  2 +-
 rtems/config/4.11/rtems-mips.bset                  |  2 +-
 rtems/config/4.11/rtems-moxie.bset                 |  2 +-
 rtems/config/4.11/rtems-nios2.bset                 |  2 +-
 rtems/config/4.11/rtems-powerpc.bset               |  2 +-
 rtems/config/4.11/rtems-sh.bset                    |  2 +-
 rtems/config/4.11/rtems-sparc.bset                 |  2 +-
 rtems/config/4.11/rtems-sparc64.bset               |  2 +-
 rtems/config/4.11/rtems-v850.bset                  |  2 +-
 .../config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg  | 43 ++++++++++++++++++++++
 .../rtems-gcc-4.8.3-newlib-2.20.0-20150323-1.cfg   | 14 +++++++
 .../config/tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg  |  2 +-
 .../rtems-gcc-4.9.2-newlib-2.20.0-20150323-1.cfg   | 14 +++++++
 22 files changed, 90 insertions(+), 19 deletions(-)
 create mode 100644 rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg
 create mode 100644 rtems/config/tools/rtems-gcc-4.8.3-newlib-2.20.0-20150323-1.cfg
 create mode 100644 rtems/config/tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1.cfg

diff --git a/rtems/config/4.11/rtems-arm.bset b/rtems/config/4.11/rtems-arm.bset
index 9b9ab9d..13fbcc3 100644
--- a/rtems/config/4.11/rtems-arm.bset
+++ b/rtems/config/4.11/rtems-arm.bset
@@ -22,7 +22,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.9.2-newlib-git-1
+tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.9-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/4.11/rtems-avr.bset b/rtems/config/4.11/rtems-avr.bset
index ea67389..345acef 100644
--- a/rtems/config/4.11/rtems-avr.bset
+++ b/rtems/config/4.11/rtems-avr.bset
@@ -35,7 +35,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.9.2-newlib-git-1
+tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/4.11/rtems-bfin.bset b/rtems/config/4.11/rtems-bfin.bset
index 395f2e9..cd77993 100644
--- a/rtems/config/4.11/rtems-bfin.bset
+++ b/rtems/config/4.11/rtems-bfin.bset
@@ -17,7 +17,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.8.3-newlib-git-1
+tools/rtems-gcc-4.8.3-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/4.11/rtems-h8300.bset b/rtems/config/4.11/rtems-h8300.bset
index 99addf0..99bfbe1 100644
--- a/rtems/config/4.11/rtems-h8300.bset
+++ b/rtems/config/4.11/rtems-h8300.bset
@@ -22,7 +22,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.8.3-newlib-git-1
+tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/4.11/rtems-i386.bset b/rtems/config/4.11/rtems-i386.bset
index 96522b9..6bfc551 100644
--- a/rtems/config/4.11/rtems-i386.bset
+++ b/rtems/config/4.11/rtems-i386.bset
@@ -17,7 +17,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.9.2-newlib-git-1
+tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/4.11/rtems-lm32.bset b/rtems/config/4.11/rtems-lm32.bset
index 5072b59..d4697a5 100644
--- a/rtems/config/4.11/rtems-lm32.bset
+++ b/rtems/config/4.11/rtems-lm32.bset
@@ -23,7 +23,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.9.2-newlib-git-1
+tools/rtems-gcc-4.8.3-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/4.11/rtems-m32c.bset b/rtems/config/4.11/rtems-m32c.bset
index 37b1d27..3e4fb66 100644
--- a/rtems/config/4.11/rtems-m32c.bset
+++ b/rtems/config/4.11/rtems-m32c.bset
@@ -41,7 +41,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.8.3-newlib-git-1
+tools/rtems-gcc-4.8.3-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/4.11/rtems-m32r.bset b/rtems/config/4.11/rtems-m32r.bset
index 9d63b55..f1042ad 100644
--- a/rtems/config/4.11/rtems-m32r.bset
+++ b/rtems/config/4.11/rtems-m32r.bset
@@ -17,7 +17,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.9.2-newlib-git-1
+tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/4.11/rtems-m68k.bset b/rtems/config/4.11/rtems-m68k.bset
index 79ae4fd..10bf2a9 100644
--- a/rtems/config/4.11/rtems-m68k.bset
+++ b/rtems/config/4.11/rtems-m68k.bset
@@ -17,7 +17,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.9.2-newlib-git-1
+tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/4.11/rtems-microblaze.bset b/rtems/config/4.11/rtems-microblaze.bset
index a61ba5a..8f4be99 100644
--- a/rtems/config/4.11/rtems-microblaze.bset
+++ b/rtems/config/4.11/rtems-microblaze.bset
@@ -28,7 +28,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.9.2-newlib-git-1
+tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/4.11/rtems-mips.bset b/rtems/config/4.11/rtems-mips.bset
index e9b3aa1..1a232a7 100644
--- a/rtems/config/4.11/rtems-mips.bset
+++ b/rtems/config/4.11/rtems-mips.bset
@@ -27,7 +27,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.9.2-newlib-git-1
+tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-mipstx39-gdb-7.7-1
 tools/rtems-tools-4.11-1
diff --git a/rtems/config/4.11/rtems-moxie.bset b/rtems/config/4.11/rtems-moxie.bset
index c1ee8df..3e94884 100644
--- a/rtems/config/4.11/rtems-moxie.bset
+++ b/rtems/config/4.11/rtems-moxie.bset
@@ -23,7 +23,7 @@
 devel/expat-2.1.0-1
 devel/dtc-1.4.1-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.9.2-newlib-git-1
+tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/4.11/rtems-nios2.bset b/rtems/config/4.11/rtems-nios2.bset
index eda229f..a2df735 100644
--- a/rtems/config/4.11/rtems-nios2.bset
+++ b/rtems/config/4.11/rtems-nios2.bset
@@ -17,7 +17,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.9.2-newlib-git-1
+tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/4.11/rtems-powerpc.bset b/rtems/config/4.11/rtems-powerpc.bset
index eae3a19..58f0ede 100644
--- a/rtems/config/4.11/rtems-powerpc.bset
+++ b/rtems/config/4.11/rtems-powerpc.bset
@@ -37,7 +37,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.9.2-newlib-git-1
+tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/4.11/rtems-sh.bset b/rtems/config/4.11/rtems-sh.bset
index 4cc3845..c6153e6 100644
--- a/rtems/config/4.11/rtems-sh.bset
+++ b/rtems/config/4.11/rtems-sh.bset
@@ -17,7 +17,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.9.2-newlib-git-1
+tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/4.11/rtems-sparc.bset b/rtems/config/4.11/rtems-sparc.bset
index 6dc6b7c..ab543fa 100644
--- a/rtems/config/4.11/rtems-sparc.bset
+++ b/rtems/config/4.11/rtems-sparc.bset
@@ -36,7 +36,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.9.2-newlib-git-1
+tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/4.11/rtems-sparc64.bset b/rtems/config/4.11/rtems-sparc64.bset
index 77f704f..35a435c 100644
--- a/rtems/config/4.11/rtems-sparc64.bset
+++ b/rtems/config/4.11/rtems-sparc64.bset
@@ -17,7 +17,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.9.2-newlib-git-1
+tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/4.11/rtems-v850.bset b/rtems/config/4.11/rtems-v850.bset
index cd5b9b2..6450d36 100644
--- a/rtems/config/4.11/rtems-v850.bset
+++ b/rtems/config/4.11/rtems-v850.bset
@@ -22,7 +22,7 @@
 4.11/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.9.2-newlib-git-1
+tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1
 tools/rtems-gdb-7.8.2-1
 tools/rtems-tools-4.11-1
 tools/rtems-kernel-4.11
diff --git a/rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg b/rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg
new file mode 100644
index 0000000..875dc5c
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg
@@ -0,0 +1,43 @@
+#
+# GCC 4.8.x., Newlib GIT.
+#
+
+%ifn %{defined gcc_version}
+ %error No GCC version defined.
+%endif
+
+%ifn %{defined newlib_version}
+ %error No Newlib version defined.
+%endif
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+%include %{_configdir}/versions.cfg
+
+%define mpfr_version   3.0.1
+%define mpc_version    0.8.2
+%define gmp_version    5.0.5
+
+%define with_threads 1
+%define with_plugin  0
+
+%ifn %{defined with_iconv}
+ %define with_iconv 1
+%endif
+
+#
+# Hash checksums of the libraries used in GCC.
+#
+%hash md5 mpfr-%{mpfr_version}.tar.bz2 bfbecb2eacb6d48432ead5cfc3f7390a
+%hash md5 mpc-%{mpc_version}.tar.gz    e98267ebd5648a39f881d66797122fb6
+%hash md5 gmp-%{gmp_version}.tar.bz2   041487d25e9c230b0c42b106361055fe
+
+#
+# Newlib is a snapshot
+#
+%source set newlib ftp://sourceware.org/pub/newlib/newlib-%{newlib_version}.tar.gz
+
+#
+# The gcc/newlib build instructions. We use 4.8 Release 1.
+#
+%include %{_configdir}/gcc-4.8-1.cfg
diff --git a/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.20.0-20150323-1.cfg b/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.20.0-20150323-1.cfg
new file mode 100644
index 0000000..06d2963
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.20.0-20150323-1.cfg
@@ -0,0 +1,14 @@
+#
+# GCC 4.8.3, Newlib 2.2.0-1 (actually a snapshot)
+#
+
+%define gcc_version    4.8.3
+%define newlib_version 2.2.0.20150323
+
+%hash md5 gcc-%{gcc_version}.tar.bz2 7c60f24fab389f77af203d2516ee110f
+%hash md5 newlib-%{newlib_version}.tar.gz a5107ff59e53a5731bdd0e245cbd1ad8
+
+#
+# The gcc/newlib build instructions.
+#
+%include tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg
diff --git a/rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg b/rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg
index 2429558..c6c28e6 100644
--- a/rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg
@@ -33,7 +33,7 @@
 %hash md5 gmp-%{gmp_version}.tar.bz2   041487d25e9c230b0c42b106361055fe
 
 #
-# Newlib is from CVS and this is via a git mirror. No hash on GIT
+# Newlib is a snapshot
 #
 %source set newlib ftp://sourceware.org/pub/newlib/newlib-%{newlib_version}.tar.gz
 
diff --git a/rtems/config/tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1.cfg b/rtems/config/tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1.cfg
new file mode 100644
index 0000000..4b6cd29
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-4.9.2-newlib-2.20.0-20150323-1.cfg
@@ -0,0 +1,14 @@
+#
+# GCC 4.9.2, Newlib 2.2.0-1 (actually a snapshot)
+#
+
+%define gcc_version    4.9.2
+%define newlib_version 2.2.0.20150323
+
+%hash md5 gcc-%{gcc_version}.tar.bz2 4df8ee253b7f3863ad0b86359cd39c43
+%hash md5 newlib-%{newlib_version}.tar.gz a5107ff59e53a5731bdd0e245cbd1ad8
+
+#
+# The gcc/newlib build instructions.
+#
+%include tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg
-- 
1.9.3



More information about the devel mailing list