[PATCH] Update Newlib to pick up ndbm addition (newlib=6661a67)

Joel Sherrill joel at rtems.org
Fri Aug 2 17:27:07 UTC 2019


---
 rtems/config/5/rtems-default.bset                  |  2 +-
 rtems/config/5/rtems-epiphany.bset                 |  2 +-
 rtems/config/5/rtems-or1k.bset                     |  2 +-
 rtems/config/5/rtems-riscv.bset                    |  2 +-
 rtems/config/5/rtems-x86_64.bset                   |  2 +-
 .../tools/rtems-gcc-9.1.0-newlib-6661a67.cfg       | 18 +++++++++
 .../tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg | 45 ++++++++++++++++++++++
 7 files changed, 68 insertions(+), 5 deletions(-)
 create mode 100644 rtems/config/tools/rtems-gcc-9.1.0-newlib-6661a67.cfg
 create mode 100644 rtems/config/tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg

diff --git a/rtems/config/5/rtems-default.bset b/rtems/config/5/rtems-default.bset
index 47780e7..e2e4ac0 100644
--- a/rtems/config/5/rtems-default.bset
+++ b/rtems/config/5/rtems-default.bset
@@ -18,5 +18,5 @@ devel/expat-2.1.0-1
 tools/rtems-gdb-8.2.1-1
 
 tools/rtems-binutils-2.32
-tools/rtems-gcc-fb371a33fa6-newlib-5c2a3661c
+tools/rtems-gcc-fb371a33fa6-newlib-6661a67
 tools/rtems-tools-5-1
diff --git a/rtems/config/5/rtems-epiphany.bset b/rtems/config/5/rtems-epiphany.bset
index 09b3abb..ca11966 100644
--- a/rtems/config/5/rtems-epiphany.bset
+++ b/rtems/config/5/rtems-epiphany.bset
@@ -34,6 +34,6 @@
 5/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.32
-tools/rtems-gcc-fb371a33fa6-newlib-5c2a3661c
+tools/rtems-gcc-fb371a33fa6-newlib-6661a67
 tools/rtems-gdb-7.8.1-1
 tools/rtems-tools-5-1
diff --git a/rtems/config/5/rtems-or1k.bset b/rtems/config/5/rtems-or1k.bset
index 2533060..b0af761 100644
--- a/rtems/config/5/rtems-or1k.bset
+++ b/rtems/config/5/rtems-or1k.bset
@@ -11,5 +11,5 @@
 devel/expat-2.1.0-1
 tools/rtems-gdb-8.2.1-1
 tools/rtems-binutils-2.32
-tools/rtems-gcc-9.1.0-newlib-5c2a3661c
+tools/rtems-gcc-9.1.0-newlib-6661a67
 tools/rtems-tools-5-1
diff --git a/rtems/config/5/rtems-riscv.bset b/rtems/config/5/rtems-riscv.bset
index a7964ef..4421131 100644
--- a/rtems/config/5/rtems-riscv.bset
+++ b/rtems/config/5/rtems-riscv.bset
@@ -12,6 +12,6 @@
 devel/expat-2.1.0-1
 tools/rtems-gdb-8.2.1-1
 tools/rtems-binutils-2.32
-tools/rtems-gcc-9.1.0-newlib-5c2a3661c
+tools/rtems-gcc-9.1.0-newlib-6661a67
 tools/rtems-tools-5-1
 devel/sis-2-1
diff --git a/rtems/config/5/rtems-x86_64.bset b/rtems/config/5/rtems-x86_64.bset
index cda3bdd..9b5ceb8 100644
--- a/rtems/config/5/rtems-x86_64.bset
+++ b/rtems/config/5/rtems-x86_64.bset
@@ -9,5 +9,5 @@
 devel/expat-2.1.0-1
 tools/rtems-gdb-8.2.1-1
 tools/rtems-binutils-2.32
-tools/rtems-gcc-9.1.0-newlib-5c2a3661c
+tools/rtems-gcc-9.1.0-newlib-6661a67
 tools/rtems-tools-5-1
diff --git a/rtems/config/tools/rtems-gcc-9.1.0-newlib-6661a67.cfg b/rtems/config/tools/rtems-gcc-9.1.0-newlib-6661a67.cfg
new file mode 100644
index 0000000..4b952d3
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-9.1.0-newlib-6661a67.cfg
@@ -0,0 +1,18 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gcc_version 9.1.0
+%source set gcc https://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.xz
+%hash sha512 gcc-%{gcc_version}.tar.xz b6134df027e734cee5395afd739fcfa4ea319a6017d662e54e89df927dea19d3fff7a6e35d676685383034e3db01c9d0b653f63574c274eeb15a2cb0bc7a1f28
+
+%define newlib_version 6661a67
+%define newlib_external 1
+%define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}
+%source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version}
+%hash sha512 newlib-%{newlib_version}.tar.gz f138b4b9d894e8162ba504c53d41131e07f99b4d75985308f04545c63e6ffb8e619c6658b7e371abbd04cb3956125dea81c89f87ba4bcb5a8e77a48ef6b811d7
+
+%define with_threads 1
+%define with_plugin 0
+%define with_iconv 1
+
+%include %{_configdir}/gcc-9.cfg
diff --git a/rtems/config/tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg b/rtems/config/tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
new file mode 100644
index 0000000..f11338e
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-fb371a33fa6-newlib-6661a67.cfg
@@ -0,0 +1,45 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+#
+# FreeBSD specific fix for MIPS
+#
+%if %{_build_os} == freebsd || %{_build_os} == darwin
+ %patch add gcc --rsb-file=freebsd-libgcc-sed-fix.patch -p0 https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
+ %hash  sha256 freebsd-libgcc-sed-fix.patch 8a11bd619c2e55466688e328da00b387d02395c1e8ff4a99225152387a1e60a4
+%endif
+
+%if %{_build_os} == darwin
+ %patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/3171/darwin-libstdcpp-noparallel-fix.patch
+ %hash sha512 darwin-libstdcpp-noparallel-fix.patch 01fa1bd55f19b01f10c41fdfe31356a7a4ddf265ebac8f4b974ccd1718181fd56bcb18a96e0492aa37511f08b37f94052a5557e21075604fceee06d80ffbb7d8
+%endif
+
+%define gcc_version fb371a33fa6
+%define gcc_external 1
+%define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
+%source set gcc --rsb-file=%{gcc_expand_name}.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
+%hash sha512 %{gcc_expand_name}.tar.gz 7ea57504771ec5c2ad48b616d3723a6c7d2a0c59417113f535af24cb83f15c48ec930a0bbe099346c61e6994539f9668b33e203352ad2cd0d9707b375c00c227
+
+%define newlib_version 6661a67
+%define newlib_external 1
+%define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}
+%source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version}
+%hash sha512 newlib-%{newlib_version}.tar.gz f138b4b9d894e8162ba504c53d41131e07f99b4d75985308f04545c63e6ffb8e619c6658b7e371abbd04cb3956125dea81c89f87ba4bcb5a8e77a48ef6b811d7
+
+%define isl_version 0.16.1
+%hash sha512 isl-%{isl_version}.tar.bz2 c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b
+
+%define mpfr_version 3.1.4
+%hash sha512 mpfr-%{mpfr_version}.tar.bz2 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
+
+%define mpc_version 1.0.3
+%hash sha512 mpc-%{mpc_version}.tar.gz 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
+
+%define gmp_version 6.1.0
+%hash sha512 gmp-%{gmp_version}.tar.bz2 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
+
+%define with_threads 1
+%define with_plugin  0
+%define with_iconv   1
+
+%include %{_configdir}/gcc-7.2-1.cfg
-- 
1.8.3.1



More information about the devel mailing list