[PATCH 2/2] 5: Add Newlib patches

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Nov 8 09:37:52 UTC 2017


Update #3185.
Close #3189.
---
 rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170922-1.cfg | 6 ++++++
 rtems/config/tools/rtems-gcc-4.9.2-newlib-2.5.0.20170922-1.cfg | 6 ++++++
 rtems/config/tools/rtems-gcc-4.9.3-newlib-2.5.0.20170922-1.cfg | 6 ++++++
 rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170922-1.cfg | 6 ++++++
 rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170922-1.cfg | 6 ++++++
 rtems/config/tools/rtems-gcc-7.2.0-newlib-2.5.0.20170922-1.cfg | 6 ++++++
 6 files changed, 36 insertions(+)

diff --git a/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170922-1.cfg b/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170922-1.cfg
index e89ea42..5837b6a 100644
--- a/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170922-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170922-1.cfg
@@ -6,5 +6,11 @@
 
 %patch add newlib -p1 https://devel.rtems.org/raw-attachment/ticket/2514/0001-RTEMS-Self-contained-POSIX-objects.patch
 %hash sha512 0001-RTEMS-Self-contained-POSIX-objects.patch dbe5e81d30f3ad84cbc1b1e9f76479dafaf2e11f4a32b3d700aec57d0c758aa7723980ddf2ad4c7778db530dcb5412ba0a2e0c40c1631f11fac44b8e60d969e1
+# Fix _PTHREAD_MUTEX_INITIALIZER
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=c165a27c0147471977377acd8918ab3b446f947a
+%hash sha512 newlib-cygwin-git-c165a27c0147471977377acd8918ab3b446f947a.patch 535f81ba3c30c89d1e55ce4b9e5b7aed141b3b916e84fab095f5af04fffacdc46351524725a8ed53d829ed463426f1c90772852d4715b7170f69521db9258e1d
+# Remove internal timecounter API
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=ce189d8afef720b0977b5cae7f9eabf5d49b530c
+%hash sha512 newlib-cygwin-git-ce189d8afef720b0977b5cae7f9eabf5d49b530c.patch 280c586416b0bfc0f5d09f36a7d553a2e6115129da5f4afffe26159bb92333ca6ef297e5fe0e97557c3dd93f574ace4ef2f5ee6c16bf52a9c557c1b75e327cba
 
 %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.20170922-1.cfg b/rtems/config/tools/rtems-gcc-4.9.2-newlib-2.5.0.20170922-1.cfg
index 47b9374..f60e378 100644
--- a/rtems/config/tools/rtems-gcc-4.9.2-newlib-2.5.0.20170922-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.9.2-newlib-2.5.0.20170922-1.cfg
@@ -6,5 +6,11 @@
 
 %patch add newlib -p1 https://devel.rtems.org/raw-attachment/ticket/2514/0001-RTEMS-Self-contained-POSIX-objects.patch
 %hash sha512 0001-RTEMS-Self-contained-POSIX-objects.patch dbe5e81d30f3ad84cbc1b1e9f76479dafaf2e11f4a32b3d700aec57d0c758aa7723980ddf2ad4c7778db530dcb5412ba0a2e0c40c1631f11fac44b8e60d969e1
+# Fix _PTHREAD_MUTEX_INITIALIZER
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=c165a27c0147471977377acd8918ab3b446f947a
+%hash sha512 newlib-cygwin-git-c165a27c0147471977377acd8918ab3b446f947a.patch 535f81ba3c30c89d1e55ce4b9e5b7aed141b3b916e84fab095f5af04fffacdc46351524725a8ed53d829ed463426f1c90772852d4715b7170f69521db9258e1d
+# Remove internal timecounter API
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=ce189d8afef720b0977b5cae7f9eabf5d49b530c
+%hash sha512 newlib-cygwin-git-ce189d8afef720b0977b5cae7f9eabf5d49b530c.patch 280c586416b0bfc0f5d09f36a7d553a2e6115129da5f4afffe26159bb92333ca6ef297e5fe0e97557c3dd93f574ace4ef2f5ee6c16bf52a9c557c1b75e327cba
 
 %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.20170922-1.cfg b/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.5.0.20170922-1.cfg
index 33ee9c2..2d080b0 100644
--- a/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.5.0.20170922-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.5.0.20170922-1.cfg
@@ -6,5 +6,11 @@
 
 %patch add newlib -p1 https://devel.rtems.org/raw-attachment/ticket/2514/0001-RTEMS-Self-contained-POSIX-objects.patch
 %hash sha512 0001-RTEMS-Self-contained-POSIX-objects.patch dbe5e81d30f3ad84cbc1b1e9f76479dafaf2e11f4a32b3d700aec57d0c758aa7723980ddf2ad4c7778db530dcb5412ba0a2e0c40c1631f11fac44b8e60d969e1
+# Fix _PTHREAD_MUTEX_INITIALIZER
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=c165a27c0147471977377acd8918ab3b446f947a
+%hash sha512 newlib-cygwin-git-c165a27c0147471977377acd8918ab3b446f947a.patch 535f81ba3c30c89d1e55ce4b9e5b7aed141b3b916e84fab095f5af04fffacdc46351524725a8ed53d829ed463426f1c90772852d4715b7170f69521db9258e1d
+# Remove internal timecounter API
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=ce189d8afef720b0977b5cae7f9eabf5d49b530c
+%hash sha512 newlib-cygwin-git-ce189d8afef720b0977b5cae7f9eabf5d49b530c.patch 280c586416b0bfc0f5d09f36a7d553a2e6115129da5f4afffe26159bb92333ca6ef297e5fe0e97557c3dd93f574ace4ef2f5ee6c16bf52a9c557c1b75e327cba
 
 %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.20170922-1.cfg b/rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170922-1.cfg
index 8a19468..249bb4b 100644
--- a/rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170922-1.cfg
+++ b/rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170922-1.cfg
@@ -26,6 +26,12 @@
 
 %patch add newlib -p1 https://devel.rtems.org/raw-attachment/ticket/2514/0001-RTEMS-Self-contained-POSIX-objects.patch
 %hash sha512 0001-RTEMS-Self-contained-POSIX-objects.patch dbe5e81d30f3ad84cbc1b1e9f76479dafaf2e11f4a32b3d700aec57d0c758aa7723980ddf2ad4c7778db530dcb5412ba0a2e0c40c1631f11fac44b8e60d969e1
+# Fix _PTHREAD_MUTEX_INITIALIZER
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=c165a27c0147471977377acd8918ab3b446f947a
+%hash sha512 newlib-cygwin-git-c165a27c0147471977377acd8918ab3b446f947a.patch 535f81ba3c30c89d1e55ce4b9e5b7aed141b3b916e84fab095f5af04fffacdc46351524725a8ed53d829ed463426f1c90772852d4715b7170f69521db9258e1d
+# Remove internal timecounter API
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=ce189d8afef720b0977b5cae7f9eabf5d49b530c
+%hash sha512 newlib-cygwin-git-ce189d8afef720b0977b5cae7f9eabf5d49b530c.patch 280c586416b0bfc0f5d09f36a7d553a2e6115129da5f4afffe26159bb92333ca6ef297e5fe0e97557c3dd93f574ace4ef2f5ee6c16bf52a9c557c1b75e327cba
 
 %define with_threads 1
 %define with_plugin  0
diff --git a/rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170922-1.cfg b/rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170922-1.cfg
index 598e3ab..c0d4225 100644
--- a/rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170922-1.cfg
+++ b/rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170922-1.cfg
@@ -32,6 +32,12 @@
 
 %patch add newlib -p1 https://devel.rtems.org/raw-attachment/ticket/2514/0001-RTEMS-Self-contained-POSIX-objects.patch
 %hash sha512 0001-RTEMS-Self-contained-POSIX-objects.patch dbe5e81d30f3ad84cbc1b1e9f76479dafaf2e11f4a32b3d700aec57d0c758aa7723980ddf2ad4c7778db530dcb5412ba0a2e0c40c1631f11fac44b8e60d969e1
+# Fix _PTHREAD_MUTEX_INITIALIZER
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=c165a27c0147471977377acd8918ab3b446f947a
+%hash sha512 newlib-cygwin-git-c165a27c0147471977377acd8918ab3b446f947a.patch 535f81ba3c30c89d1e55ce4b9e5b7aed141b3b916e84fab095f5af04fffacdc46351524725a8ed53d829ed463426f1c90772852d4715b7170f69521db9258e1d
+# Remove internal timecounter API
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=ce189d8afef720b0977b5cae7f9eabf5d49b530c
+%hash sha512 newlib-cygwin-git-ce189d8afef720b0977b5cae7f9eabf5d49b530c.patch 280c586416b0bfc0f5d09f36a7d553a2e6115129da5f4afffe26159bb92333ca6ef297e5fe0e97557c3dd93f574ace4ef2f5ee6c16bf52a9c557c1b75e327cba
 
 %define with_threads 1
 %define with_plugin  0
diff --git a/rtems/config/tools/rtems-gcc-7.2.0-newlib-2.5.0.20170922-1.cfg b/rtems/config/tools/rtems-gcc-7.2.0-newlib-2.5.0.20170922-1.cfg
index 1c6c913..a391fc9 100644
--- a/rtems/config/tools/rtems-gcc-7.2.0-newlib-2.5.0.20170922-1.cfg
+++ b/rtems/config/tools/rtems-gcc-7.2.0-newlib-2.5.0.20170922-1.cfg
@@ -30,6 +30,12 @@
 
 %patch add newlib -p1 https://devel.rtems.org/raw-attachment/ticket/2514/0001-RTEMS-Self-contained-POSIX-objects.patch
 %hash sha512 0001-RTEMS-Self-contained-POSIX-objects.patch dbe5e81d30f3ad84cbc1b1e9f76479dafaf2e11f4a32b3d700aec57d0c758aa7723980ddf2ad4c7778db530dcb5412ba0a2e0c40c1631f11fac44b8e60d969e1
+# Fix _PTHREAD_MUTEX_INITIALIZER
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=c165a27c0147471977377acd8918ab3b446f947a
+%hash sha512 newlib-cygwin-git-c165a27c0147471977377acd8918ab3b446f947a.patch 535f81ba3c30c89d1e55ce4b9e5b7aed141b3b916e84fab095f5af04fffacdc46351524725a8ed53d829ed463426f1c90772852d4715b7170f69521db9258e1d
+# Remove internal timecounter API
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=ce189d8afef720b0977b5cae7f9eabf5d49b530c
+%hash sha512 newlib-cygwin-git-ce189d8afef720b0977b5cae7f9eabf5d49b530c.patch 280c586416b0bfc0f5d09f36a7d553a2e6115129da5f4afffe26159bb92333ca6ef297e5fe0e97557c3dd93f574ace4ef2f5ee6c16bf52a9c557c1b75e327cba
 
 %define with_threads 1
 %define with_plugin  0
-- 
2.12.3




More information about the devel mailing list