[PATCH 6/6] 4.12: Update to use Newlib 2.5.0.20170519

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jun 2 13:00:50 UTC 2017


Add POSIX header file patches for Newlib.
---
 rtems/config/4.12/rtems-default.bset               |  2 +-
 rtems/config/4.12/rtems-epiphany.bset              |  2 +-
 rtems/config/4.12/rtems-m32c.bset                  |  2 +-
 rtems/config/4.12/rtems-or1k.bset                  |  2 +-
 rtems/config/4.12/rtems-sh.bset                    |  2 +-
 .../rtems-gcc-4.8.3-newlib-2.5.0.20170519-1.cfg    | 26 ++++++++++++
 .../rtems-gcc-4.9.2-newlib-2.5.0.20170519-1.cfg    | 26 ++++++++++++
 .../rtems-gcc-4.9.3-newlib-2.5.0.20170519-1.cfg    | 26 ++++++++++++
 .../rtems-gcc-6.3.0-newlib-2.5.0.20170519-1.cfg    | 47 ++++++++++++++++++++++
 .../rtems-gcc-7.1.0-newlib-2.5.0.20170519-1.cfg    | 47 ++++++++++++++++++++++
 10 files changed, 177 insertions(+), 5 deletions(-)
 create mode 100644 rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170519-1.cfg
 create mode 100644 rtems/config/tools/rtems-gcc-4.9.2-newlib-2.5.0.20170519-1.cfg
 create mode 100644 rtems/config/tools/rtems-gcc-4.9.3-newlib-2.5.0.20170519-1.cfg
 create mode 100644 rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170519-1.cfg
 create mode 100644 rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170519-1.cfg

diff --git a/rtems/config/4.12/rtems-default.bset b/rtems/config/4.12/rtems-default.bset
index 1c54de7..21fa2ca 100644
--- a/rtems/config/4.12/rtems-default.bset
+++ b/rtems/config/4.12/rtems-default.bset
@@ -11,7 +11,7 @@
 
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.28-1
-tools/rtems-gcc-7.1.0-newlib-2.5.0.20170323-1
+tools/rtems-gcc-7.1.0-newlib-2.5.0.20170519-1
 tools/rtems-gdb-7.12-1
 tools/rtems-tools-4.12-1
 tools/rtems-kernel-4.12
diff --git a/rtems/config/4.12/rtems-epiphany.bset b/rtems/config/4.12/rtems-epiphany.bset
index 0c58fec..ea6cdf8 100644
--- a/rtems/config/4.12/rtems-epiphany.bset
+++ b/rtems/config/4.12/rtems-epiphany.bset
@@ -38,6 +38,6 @@
 4.12/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.23.1-1
-tools/rtems-gcc-4.9.2-newlib-2.5.0.20170323-1.cfg
+tools/rtems-gcc-4.9.2-newlib-2.5.0.20170519-1.cfg
 tools/rtems-gdb-7.8.1-1
 tools/rtems-tools-4.12-1
diff --git a/rtems/config/4.12/rtems-m32c.bset b/rtems/config/4.12/rtems-m32c.bset
index ec0d0c5..f8488b7 100644
--- a/rtems/config/4.12/rtems-m32c.bset
+++ b/rtems/config/4.12/rtems-m32c.bset
@@ -41,6 +41,6 @@
 4.12/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.8.3-newlib-2.5.0.20170323-1
+tools/rtems-gcc-4.8.3-newlib-2.5.0.20170519-1
 tools/rtems-gdb-7.9-1
 tools/rtems-tools-4.12-1
diff --git a/rtems/config/4.12/rtems-or1k.bset b/rtems/config/4.12/rtems-or1k.bset
index 1ce8cf8..1d2a608 100644
--- a/rtems/config/4.12/rtems-or1k.bset
+++ b/rtems/config/4.12/rtems-or1k.bset
@@ -33,6 +33,6 @@
 4.12/rtems-autotools
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.26-1
-tools/rtems-gcc-4.9.3-newlib-2.5.0.20170323-1.cfg
+tools/rtems-gcc-4.9.3-newlib-2.5.0.20170519-1
 tools/rtems-tools-4.12-1
 tools/rtems-gdb-7.11-1
diff --git a/rtems/config/4.12/rtems-sh.bset b/rtems/config/4.12/rtems-sh.bset
index 29597a8..6d3ba54 100644
--- a/rtems/config/4.12/rtems-sh.bset
+++ b/rtems/config/4.12/rtems-sh.bset
@@ -13,7 +13,7 @@
 
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.28-1
-tools/rtems-gcc-6.3.0-newlib-2.5.0.20170323-1
+tools/rtems-gcc-6.3.0-newlib-2.5.0.20170519-1
 tools/rtems-gdb-7.12-1
 tools/rtems-tools-4.12-1
 tools/rtems-kernel-4.12
diff --git a/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170519-1.cfg b/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170519-1.cfg
new file mode 100644
index 0000000..cfc862d
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170519-1.cfg
@@ -0,0 +1,26 @@
+%define gcc_version    4.8.3
+%define newlib_version 2.5.0.20170519
+
+%hash sha512 gcc-4.8.3.tar.bz2 2b40d231e8445f9c1654137df509f09ce1187b475138ca7f648f710d922a1718f740b2d8a37c26e16b5e27900c60358be98229ae884a6f1f70e9df44ad24d02b
+%hash sha512 newlib-2.5.0.20170519.tar.gz 3196acc2749d89f510054163ec8dab529f1b05863831ddce7ba57f027aa346133226706a0e0f52c1e67118be0b16e41dac2eb0783cd52bcd03f33f876778c9a0
+
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=15b59a15b42c4918c9e0b7bb4a3cbfd46d9b539e
+%hash sha512 newlib-cygwin-git-15b59a15b42c4918c9e0b7bb4a3cbfd46d9b539e.patch fd8c019b94d33c2fcbcd0c9d5fb5c3fe5488dde5ebc229f492d7b222e962c405ee7ed981f75b1489c409f51cec892d3e59eb82763b94fac6d364a35bb6cec3d5
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=2efb1170473ac0c560978567f39a0d69883a2f8b
+%hash sha512 newlib-cygwin-git-2efb1170473ac0c560978567f39a0d69883a2f8b.patch 4e7da66589b275f49a10ab48c3b7df87f77669227b678dd63ca3088a8153a5f20b48ac6fc00ad2b54b783639b21b0089ebfee7c0ce3809f91647173e69d57629
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=0008601042291502e479fd0d2738855b40f9b2b2
+%hash sha512 newlib-cygwin-git-0008601042291502e479fd0d2738855b40f9b2b2.patch 69a5193a3c91eac9caed40b88708b33445a8453e4b282c3c0182508023eae17fc60b81e71dad9d91f500e2884104b6098f35c5e7aeb7674e95dbba43556c72a2
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=0b915d6be0acdbdb23ce35f12289f4d7ee4c0eb6
+%hash sha512 newlib-cygwin-git-0b915d6be0acdbdb23ce35f12289f4d7ee4c0eb6.patch 842203f6e04168dbf7bf02c91b474ccffc57857816e76662270d98af7fb82fff38b49095400c1614fa23e95fd543690aca9bacd59f23d4776c09160e549b3b5c
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=2693c1db694f515d7b59ec8057e01942c212b8c1
+%hash sha512 newlib-cygwin-git-2693c1db694f515d7b59ec8057e01942c212b8c1.patch 4171b23077c1f1907bc8082db1cda0c0da49d927dfdc201cfcee20d3eae56c54f704885be32b42520a92a8464ed2319006516577ddf6d8e4e78e2e4a554e5e8f
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=764eda728f864492accef0eda61e4b2549ea452e
+%hash sha512 newlib-cygwin-git-764eda728f864492accef0eda61e4b2549ea452e.patch 7e58bb3af05becf83fcb66b8b4cceb0add83153c4527fb7c07c56c9f3ad689782e5d454c4dc571214856cd7e5186f74dfa59df8cccf485b7c1dafe44c368aaf4
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=fa88e93d3dc639228fcfc21e9f457108f5186727
+%hash sha512 newlib-cygwin-git-fa88e93d3dc639228fcfc21e9f457108f5186727.patch 4dfef3ffe515c3cb5b7c50d73b682b0705043360178590f17cdd8a60ea2cae51d02f88a89b73092873f6a2bc046b1eaa2dbf313bb299565e058df9d5447a96c1
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=d70983ea1b9bd39ec85dbddd34d7cb9c7379f946
+%hash sha512 newlib-cygwin-git-d70983ea1b9bd39ec85dbddd34d7cb9c7379f946.patch 3b0c3f7a776cabf5582c92525df27261362b722b60cdfcc7957255e9c8965d999ccf9668f59ad12f20387c69e4423fb291eb588b9cc5847fa0e9171ce45eec08
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=9b7bbd03132ac8e67cce239558f789630caacb4d
+%hash sha512 newlib-cygwin-git-9b7bbd03132ac8e67cce239558f789630caacb4d.patch b181378a2d9e5b407e5eb19b677ee16551e45f46d763adc7ad69d2b7ea5b28c79f09012ae7326c0c89544bc5a8548799af89d96336e56ca32ee10ca68956eb2f
+
+%include tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg
diff --git a/rtems/config/tools/rtems-gcc-4.9.2-newlib-2.5.0.20170519-1.cfg b/rtems/config/tools/rtems-gcc-4.9.2-newlib-2.5.0.20170519-1.cfg
new file mode 100644
index 0000000..504f819
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-4.9.2-newlib-2.5.0.20170519-1.cfg
@@ -0,0 +1,26 @@
+%define gcc_version    4.9.2
+%define newlib_version 2.5.0.20170519
+
+%hash sha512 gcc-4.9.2.tar.bz2 e96cba06d572dbe7f382a2b00fd9297dcf9f9219d46a9ad0bd904dc36d5e7db3335e422640b79a27fed6fde91b0731732b94a0e2fbcd47344d6779f8ba1f4f9c
+%hash sha512 newlib-2.5.0.20170519.tar.gz 3196acc2749d89f510054163ec8dab529f1b05863831ddce7ba57f027aa346133226706a0e0f52c1e67118be0b16e41dac2eb0783cd52bcd03f33f876778c9a0
+
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=15b59a15b42c4918c9e0b7bb4a3cbfd46d9b539e
+%hash sha512 newlib-cygwin-git-15b59a15b42c4918c9e0b7bb4a3cbfd46d9b539e.patch fd8c019b94d33c2fcbcd0c9d5fb5c3fe5488dde5ebc229f492d7b222e962c405ee7ed981f75b1489c409f51cec892d3e59eb82763b94fac6d364a35bb6cec3d5
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=2efb1170473ac0c560978567f39a0d69883a2f8b
+%hash sha512 newlib-cygwin-git-2efb1170473ac0c560978567f39a0d69883a2f8b.patch 4e7da66589b275f49a10ab48c3b7df87f77669227b678dd63ca3088a8153a5f20b48ac6fc00ad2b54b783639b21b0089ebfee7c0ce3809f91647173e69d57629
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=0008601042291502e479fd0d2738855b40f9b2b2
+%hash sha512 newlib-cygwin-git-0008601042291502e479fd0d2738855b40f9b2b2.patch 69a5193a3c91eac9caed40b88708b33445a8453e4b282c3c0182508023eae17fc60b81e71dad9d91f500e2884104b6098f35c5e7aeb7674e95dbba43556c72a2
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=0b915d6be0acdbdb23ce35f12289f4d7ee4c0eb6
+%hash sha512 newlib-cygwin-git-0b915d6be0acdbdb23ce35f12289f4d7ee4c0eb6.patch 842203f6e04168dbf7bf02c91b474ccffc57857816e76662270d98af7fb82fff38b49095400c1614fa23e95fd543690aca9bacd59f23d4776c09160e549b3b5c
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=2693c1db694f515d7b59ec8057e01942c212b8c1
+%hash sha512 newlib-cygwin-git-2693c1db694f515d7b59ec8057e01942c212b8c1.patch 4171b23077c1f1907bc8082db1cda0c0da49d927dfdc201cfcee20d3eae56c54f704885be32b42520a92a8464ed2319006516577ddf6d8e4e78e2e4a554e5e8f
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=764eda728f864492accef0eda61e4b2549ea452e
+%hash sha512 newlib-cygwin-git-764eda728f864492accef0eda61e4b2549ea452e.patch 7e58bb3af05becf83fcb66b8b4cceb0add83153c4527fb7c07c56c9f3ad689782e5d454c4dc571214856cd7e5186f74dfa59df8cccf485b7c1dafe44c368aaf4
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=fa88e93d3dc639228fcfc21e9f457108f5186727
+%hash sha512 newlib-cygwin-git-fa88e93d3dc639228fcfc21e9f457108f5186727.patch 4dfef3ffe515c3cb5b7c50d73b682b0705043360178590f17cdd8a60ea2cae51d02f88a89b73092873f6a2bc046b1eaa2dbf313bb299565e058df9d5447a96c1
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=d70983ea1b9bd39ec85dbddd34d7cb9c7379f946
+%hash sha512 newlib-cygwin-git-d70983ea1b9bd39ec85dbddd34d7cb9c7379f946.patch 3b0c3f7a776cabf5582c92525df27261362b722b60cdfcc7957255e9c8965d999ccf9668f59ad12f20387c69e4423fb291eb588b9cc5847fa0e9171ce45eec08
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=9b7bbd03132ac8e67cce239558f789630caacb4d
+%hash sha512 newlib-cygwin-git-9b7bbd03132ac8e67cce239558f789630caacb4d.patch b181378a2d9e5b407e5eb19b677ee16551e45f46d763adc7ad69d2b7ea5b28c79f09012ae7326c0c89544bc5a8548799af89d96336e56ca32ee10ca68956eb2f
+
+%include tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg
diff --git a/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.5.0.20170519-1.cfg b/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.5.0.20170519-1.cfg
new file mode 100644
index 0000000..1368ef9
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.5.0.20170519-1.cfg
@@ -0,0 +1,26 @@
+%define gcc_version    4.9.3
+%define newlib_version 2.5.0.20170519
+
+%hash sha512 gcc-4.9.3.tar.bz2 9ac57377a6975fc7adac704ec81355262b9f537def6955576753b87715470a20ee6a2a3144a79cc8fcba3443f7b44c7337d79d704b522d053f54f79aa6b442df
+%hash sha512 newlib-2.5.0.20170519.tar.gz 3196acc2749d89f510054163ec8dab529f1b05863831ddce7ba57f027aa346133226706a0e0f52c1e67118be0b16e41dac2eb0783cd52bcd03f33f876778c9a0
+
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=15b59a15b42c4918c9e0b7bb4a3cbfd46d9b539e
+%hash sha512 newlib-cygwin-git-15b59a15b42c4918c9e0b7bb4a3cbfd46d9b539e.patch fd8c019b94d33c2fcbcd0c9d5fb5c3fe5488dde5ebc229f492d7b222e962c405ee7ed981f75b1489c409f51cec892d3e59eb82763b94fac6d364a35bb6cec3d5
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=2efb1170473ac0c560978567f39a0d69883a2f8b
+%hash sha512 newlib-cygwin-git-2efb1170473ac0c560978567f39a0d69883a2f8b.patch 4e7da66589b275f49a10ab48c3b7df87f77669227b678dd63ca3088a8153a5f20b48ac6fc00ad2b54b783639b21b0089ebfee7c0ce3809f91647173e69d57629
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=0008601042291502e479fd0d2738855b40f9b2b2
+%hash sha512 newlib-cygwin-git-0008601042291502e479fd0d2738855b40f9b2b2.patch 69a5193a3c91eac9caed40b88708b33445a8453e4b282c3c0182508023eae17fc60b81e71dad9d91f500e2884104b6098f35c5e7aeb7674e95dbba43556c72a2
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=0b915d6be0acdbdb23ce35f12289f4d7ee4c0eb6
+%hash sha512 newlib-cygwin-git-0b915d6be0acdbdb23ce35f12289f4d7ee4c0eb6.patch 842203f6e04168dbf7bf02c91b474ccffc57857816e76662270d98af7fb82fff38b49095400c1614fa23e95fd543690aca9bacd59f23d4776c09160e549b3b5c
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=2693c1db694f515d7b59ec8057e01942c212b8c1
+%hash sha512 newlib-cygwin-git-2693c1db694f515d7b59ec8057e01942c212b8c1.patch 4171b23077c1f1907bc8082db1cda0c0da49d927dfdc201cfcee20d3eae56c54f704885be32b42520a92a8464ed2319006516577ddf6d8e4e78e2e4a554e5e8f
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=764eda728f864492accef0eda61e4b2549ea452e
+%hash sha512 newlib-cygwin-git-764eda728f864492accef0eda61e4b2549ea452e.patch 7e58bb3af05becf83fcb66b8b4cceb0add83153c4527fb7c07c56c9f3ad689782e5d454c4dc571214856cd7e5186f74dfa59df8cccf485b7c1dafe44c368aaf4
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=fa88e93d3dc639228fcfc21e9f457108f5186727
+%hash sha512 newlib-cygwin-git-fa88e93d3dc639228fcfc21e9f457108f5186727.patch 4dfef3ffe515c3cb5b7c50d73b682b0705043360178590f17cdd8a60ea2cae51d02f88a89b73092873f6a2bc046b1eaa2dbf313bb299565e058df9d5447a96c1
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=d70983ea1b9bd39ec85dbddd34d7cb9c7379f946
+%hash sha512 newlib-cygwin-git-d70983ea1b9bd39ec85dbddd34d7cb9c7379f946.patch 3b0c3f7a776cabf5582c92525df27261362b722b60cdfcc7957255e9c8965d999ccf9668f59ad12f20387c69e4423fb291eb588b9cc5847fa0e9171ce45eec08
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=9b7bbd03132ac8e67cce239558f789630caacb4d
+%hash sha512 newlib-cygwin-git-9b7bbd03132ac8e67cce239558f789630caacb4d.patch b181378a2d9e5b407e5eb19b677ee16551e45f46d763adc7ad69d2b7ea5b28c79f09012ae7326c0c89544bc5a8548799af89d96336e56ca32ee10ca68956eb2f
+
+%include tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg
diff --git a/rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170519-1.cfg b/rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170519-1.cfg
new file mode 100644
index 0000000..4e1ce5f
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170519-1.cfg
@@ -0,0 +1,47 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gcc_version    6.3.0
+%define newlib_version 2.5.0.20170519
+%define mpfr_version   2.4.2
+%define mpc_version    0.8.1
+%define gmp_version    4.3.2
+
+#
+# FreeBSD specific fix for MIPS
+#
+%if %{_build_os} == freebsd
+ %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
+
+%hash sha512 gcc-6.3.0.tar.bz2 234dd9b1bdc9a9c6e352216a7ef4ccadc6c07f156006a59759c5e0e6a69f0abcdc14630eff11e3826dd6ba5933a8faa43043f3d1d62df6bd5ab1e82862f9bf78
+%hash sha512 newlib-2.5.0.20170519.tar.gz 3196acc2749d89f510054163ec8dab529f1b05863831ddce7ba57f027aa346133226706a0e0f52c1e67118be0b16e41dac2eb0783cd52bcd03f33f876778c9a0
+%hash sha512 mpfr-2.4.2.tar.bz2 c004b3dbf86c04960e4a1f8db37a409a7cc4cb76135e76e98dcc5ad93aaa8deb62334ee13ff84447a7c12a5e8cb57f25c62ac908c24920f1fb1a38d79d4a4c5e
+%hash sha512 mpc-0.8.1.tar.gz 14cb9ae3d33caed24d5ae648eed28b2e00ad047a8baeff25981129af88245b4def2948573d7a00d65c5bd34e53524aa6a7351b76703c9f888b41830c1a1daae2
+%hash sha512 gmp-4.3.2.tar.bz2 2e0b0fd23e6f10742a5517981e5171c6e88b0a93c83da701b296f5c0861d72c19782daab589a7eac3f9032152a0fc7eff7f5362db8fccc4859564a9aa82329cf
+
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=15b59a15b42c4918c9e0b7bb4a3cbfd46d9b539e
+%hash sha512 newlib-cygwin-git-15b59a15b42c4918c9e0b7bb4a3cbfd46d9b539e.patch fd8c019b94d33c2fcbcd0c9d5fb5c3fe5488dde5ebc229f492d7b222e962c405ee7ed981f75b1489c409f51cec892d3e59eb82763b94fac6d364a35bb6cec3d5
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=2efb1170473ac0c560978567f39a0d69883a2f8b
+%hash sha512 newlib-cygwin-git-2efb1170473ac0c560978567f39a0d69883a2f8b.patch 4e7da66589b275f49a10ab48c3b7df87f77669227b678dd63ca3088a8153a5f20b48ac6fc00ad2b54b783639b21b0089ebfee7c0ce3809f91647173e69d57629
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=0008601042291502e479fd0d2738855b40f9b2b2
+%hash sha512 newlib-cygwin-git-0008601042291502e479fd0d2738855b40f9b2b2.patch 69a5193a3c91eac9caed40b88708b33445a8453e4b282c3c0182508023eae17fc60b81e71dad9d91f500e2884104b6098f35c5e7aeb7674e95dbba43556c72a2
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=0b915d6be0acdbdb23ce35f12289f4d7ee4c0eb6
+%hash sha512 newlib-cygwin-git-0b915d6be0acdbdb23ce35f12289f4d7ee4c0eb6.patch 842203f6e04168dbf7bf02c91b474ccffc57857816e76662270d98af7fb82fff38b49095400c1614fa23e95fd543690aca9bacd59f23d4776c09160e549b3b5c
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=2693c1db694f515d7b59ec8057e01942c212b8c1
+%hash sha512 newlib-cygwin-git-2693c1db694f515d7b59ec8057e01942c212b8c1.patch 4171b23077c1f1907bc8082db1cda0c0da49d927dfdc201cfcee20d3eae56c54f704885be32b42520a92a8464ed2319006516577ddf6d8e4e78e2e4a554e5e8f
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=764eda728f864492accef0eda61e4b2549ea452e
+%hash sha512 newlib-cygwin-git-764eda728f864492accef0eda61e4b2549ea452e.patch 7e58bb3af05becf83fcb66b8b4cceb0add83153c4527fb7c07c56c9f3ad689782e5d454c4dc571214856cd7e5186f74dfa59df8cccf485b7c1dafe44c368aaf4
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=fa88e93d3dc639228fcfc21e9f457108f5186727
+%hash sha512 newlib-cygwin-git-fa88e93d3dc639228fcfc21e9f457108f5186727.patch 4dfef3ffe515c3cb5b7c50d73b682b0705043360178590f17cdd8a60ea2cae51d02f88a89b73092873f6a2bc046b1eaa2dbf313bb299565e058df9d5447a96c1
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=d70983ea1b9bd39ec85dbddd34d7cb9c7379f946
+%hash sha512 newlib-cygwin-git-d70983ea1b9bd39ec85dbddd34d7cb9c7379f946.patch 3b0c3f7a776cabf5582c92525df27261362b722b60cdfcc7957255e9c8965d999ccf9668f59ad12f20387c69e4423fb291eb588b9cc5847fa0e9171ce45eec08
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=9b7bbd03132ac8e67cce239558f789630caacb4d
+%hash sha512 newlib-cygwin-git-9b7bbd03132ac8e67cce239558f789630caacb4d.patch b181378a2d9e5b407e5eb19b677ee16551e45f46d763adc7ad69d2b7ea5b28c79f09012ae7326c0c89544bc5a8548799af89d96336e56ca32ee10ca68956eb2f
+
+%define with_threads 1
+%define with_plugin  0
+%define with_iconv   1
+
+%include %{_configdir}/gcc-6-1.cfg
diff --git a/rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170519-1.cfg b/rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170519-1.cfg
new file mode 100644
index 0000000..1a6fbad
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170519-1.cfg
@@ -0,0 +1,47 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gcc_version    7.1.0
+%define newlib_version 2.5.0.20170519
+%define mpfr_version   3.1.4
+%define mpc_version    1.0.3
+%define gmp_version    6.1.0
+
+#
+# FreeBSD specific fix for MIPS
+#
+%if %{_build_os} == freebsd
+ %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
+
+%hash sha512 gcc-7.1.0.tar.bz2 b5d952be9a10f0e0926bb2868877d10544039d6d2f35ba0a08f51231dd622a007650764a03e173194701467547789ad7d2d9cbc10adcdf118d619cdedbd14aec
+%hash sha512 newlib-2.5.0.20170519.tar.gz 3196acc2749d89f510054163ec8dab529f1b05863831ddce7ba57f027aa346133226706a0e0f52c1e67118be0b16e41dac2eb0783cd52bcd03f33f876778c9a0
+%hash sha512 mpfr-3.1.4.tar.bz2 51066066ff2c12ed2198605ecf68846b0c96b548adafa5b80e0c786d0df488411a5e8973358fce7192dc977ad4e68414cf14500e3c39746de62465eb145bb819
+%hash sha512 mpc-1.0.3.tar.gz 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
+%hash sha512 gmp-6.1.0.tar.bz2 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
+
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=15b59a15b42c4918c9e0b7bb4a3cbfd46d9b539e
+%hash sha512 newlib-cygwin-git-15b59a15b42c4918c9e0b7bb4a3cbfd46d9b539e.patch fd8c019b94d33c2fcbcd0c9d5fb5c3fe5488dde5ebc229f492d7b222e962c405ee7ed981f75b1489c409f51cec892d3e59eb82763b94fac6d364a35bb6cec3d5
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=2efb1170473ac0c560978567f39a0d69883a2f8b
+%hash sha512 newlib-cygwin-git-2efb1170473ac0c560978567f39a0d69883a2f8b.patch 4e7da66589b275f49a10ab48c3b7df87f77669227b678dd63ca3088a8153a5f20b48ac6fc00ad2b54b783639b21b0089ebfee7c0ce3809f91647173e69d57629
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=0008601042291502e479fd0d2738855b40f9b2b2
+%hash sha512 newlib-cygwin-git-0008601042291502e479fd0d2738855b40f9b2b2.patch 69a5193a3c91eac9caed40b88708b33445a8453e4b282c3c0182508023eae17fc60b81e71dad9d91f500e2884104b6098f35c5e7aeb7674e95dbba43556c72a2
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=0b915d6be0acdbdb23ce35f12289f4d7ee4c0eb6
+%hash sha512 newlib-cygwin-git-0b915d6be0acdbdb23ce35f12289f4d7ee4c0eb6.patch 842203f6e04168dbf7bf02c91b474ccffc57857816e76662270d98af7fb82fff38b49095400c1614fa23e95fd543690aca9bacd59f23d4776c09160e549b3b5c
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=2693c1db694f515d7b59ec8057e01942c212b8c1
+%hash sha512 newlib-cygwin-git-2693c1db694f515d7b59ec8057e01942c212b8c1.patch 4171b23077c1f1907bc8082db1cda0c0da49d927dfdc201cfcee20d3eae56c54f704885be32b42520a92a8464ed2319006516577ddf6d8e4e78e2e4a554e5e8f
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=764eda728f864492accef0eda61e4b2549ea452e
+%hash sha512 newlib-cygwin-git-764eda728f864492accef0eda61e4b2549ea452e.patch 7e58bb3af05becf83fcb66b8b4cceb0add83153c4527fb7c07c56c9f3ad689782e5d454c4dc571214856cd7e5186f74dfa59df8cccf485b7c1dafe44c368aaf4
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=fa88e93d3dc639228fcfc21e9f457108f5186727
+%hash sha512 newlib-cygwin-git-fa88e93d3dc639228fcfc21e9f457108f5186727.patch 4dfef3ffe515c3cb5b7c50d73b682b0705043360178590f17cdd8a60ea2cae51d02f88a89b73092873f6a2bc046b1eaa2dbf313bb299565e058df9d5447a96c1
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=d70983ea1b9bd39ec85dbddd34d7cb9c7379f946
+%hash sha512 newlib-cygwin-git-d70983ea1b9bd39ec85dbddd34d7cb9c7379f946.patch 3b0c3f7a776cabf5582c92525df27261362b722b60cdfcc7957255e9c8965d999ccf9668f59ad12f20387c69e4423fb291eb588b9cc5847fa0e9171ce45eec08
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=9b7bbd03132ac8e67cce239558f789630caacb4d
+%hash sha512 newlib-cygwin-git-9b7bbd03132ac8e67cce239558f789630caacb4d.patch b181378a2d9e5b407e5eb19b677ee16551e45f46d763adc7ad69d2b7ea5b28c79f09012ae7326c0c89544bc5a8548799af89d96336e56ca32ee10ca68956eb2f
+
+%define with_threads 1
+%define with_plugin  0
+%define with_iconv   1
+
+%include %{_configdir}/gcc-6-1.cfg
-- 
2.12.0




More information about the devel mailing list