aboutsummaryrefslogtreecommitdiff
path: root/packages/binutils-oracle
diff options
context:
space:
mode:
authorGuillermo E. Martinez <guillermo.e.martinez@oracle.com>2022-05-31 21:23:38 -0500
committerChris Packham <judge.packham@gmail.com>2022-06-26 20:29:05 +1200
commit883ecbebb642c88a11a78e8f2e8c30ad72813b9a (patch)
tree067c538ad2203f2488613d960ace4e75f22cc67b /packages/binutils-oracle
parent994767d6c586011e6493d6fd694382c47a919a34 (diff)
downloadcrosstool-ng-883ecbebb642c88a11a78e8f2e8c30ad72813b9a.tar.gz
crosstool-ng-883ecbebb642c88a11a78e8f2e8c30ad72813b9a.tar.bz2
crosstool-ng-883ecbebb642c88a11a78e8f2e8c30ad72813b9a.zip
Restore Oracle products to crosstool-ng using gcc-oracle
This commit restore the support for the following products in Oracle Linux 7.9: Binutils 2.27-44.base.0.400 GCC 4.8.5-44.0.5 glibc 2.17-317.0.3 UEK5/u4 4.14.35-2025.400.8 Sample configurations were updated to use such versions, and be compiled in host machine using recent GCC versions. Signed-off-by: Guillermo E. Martinez <guillermo.e.martinez@oracle.com>
Diffstat (limited to 'packages/binutils-oracle')
-rw-r--r--packages/binutils-oracle/2.27-44.base.0.400/version.desc2
-rw-r--r--packages/binutils-oracle/2.27/version.desc14
-rw-r--r--packages/binutils-oracle/git-461776a5/0000-Fix-a-missing-include-of-string.patch24
-rw-r--r--packages/binutils-oracle/git-889339ab/0000-Fix-a-missing-include-of-string.patch24
-rw-r--r--packages/binutils-oracle/git-889339ab/0012-Fix-a-missing-include-of-string.patch26
5 files changed, 62 insertions, 28 deletions
diff --git a/packages/binutils-oracle/2.27-44.base.0.400/version.desc b/packages/binutils-oracle/2.27-44.base.0.400/version.desc
deleted file mode 100644
index 0184dc3e..00000000
--- a/packages/binutils-oracle/2.27-44.base.0.400/version.desc
+++ /dev/null
@@ -1,2 +0,0 @@
-repository_branch='oracle/binutils/ol7-u9-arm'
-version_number='2.27'
diff --git a/packages/binutils-oracle/2.27/version.desc b/packages/binutils-oracle/2.27/version.desc
new file mode 100644
index 00000000..7e228114
--- /dev/null
+++ b/packages/binutils-oracle/2.27/version.desc
@@ -0,0 +1,14 @@
+# Since Oracle provides different branches for binutils
+# depending of the architecture:
+#
+# ARM64: 'oracle/binutils/ol7-u9-aarch64'
+# ARM32: 'oracle/binutils/ol7-u9-arm'
+#
+# branch name is adjusted in:
+# samples/{aarch64,arm}*ol7u9-*
+#
+# using CT_BINUTILS_ORACLE_DEVEL_BRANCH
+#
+# EoS date for this package in OL7: Jul 2024.
+version_number='2.27-44.base.0.400'
+obsolete='yes'
diff --git a/packages/binutils-oracle/git-461776a5/0000-Fix-a-missing-include-of-string.patch b/packages/binutils-oracle/git-461776a5/0000-Fix-a-missing-include-of-string.patch
new file mode 100644
index 00000000..141ddf82
--- /dev/null
+++ b/packages/binutils-oracle/git-461776a5/0000-Fix-a-missing-include-of-string.patch
@@ -0,0 +1,24 @@
+This patch is a backport from binutils-gdb commit:
+a3972330f4: Fix a missing include of <string>
+
+This code is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3, or (at your option) any
+later version.
+
+This code is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+diff -Nur binutils-gdb/gold/errors.h binutils-gdb-oracle/gold/errors.h
+--- binutils-gdb/gold/errors.h 2022-06-16 17:49:08.412691685 -0500
++++ binutils-gdb-oracle/gold/errors.h 2022-06-16 18:34:19.463006903 -0500
+@@ -24,6 +24,7 @@
+ #define GOLD_ERRORS_H
+
+ #include <cstdarg>
++#include <string>
+
+ #include "gold-threads.h"
+
diff --git a/packages/binutils-oracle/git-889339ab/0000-Fix-a-missing-include-of-string.patch b/packages/binutils-oracle/git-889339ab/0000-Fix-a-missing-include-of-string.patch
new file mode 100644
index 00000000..141ddf82
--- /dev/null
+++ b/packages/binutils-oracle/git-889339ab/0000-Fix-a-missing-include-of-string.patch
@@ -0,0 +1,24 @@
+This patch is a backport from binutils-gdb commit:
+a3972330f4: Fix a missing include of <string>
+
+This code is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3, or (at your option) any
+later version.
+
+This code is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+diff -Nur binutils-gdb/gold/errors.h binutils-gdb-oracle/gold/errors.h
+--- binutils-gdb/gold/errors.h 2022-06-16 17:49:08.412691685 -0500
++++ binutils-gdb-oracle/gold/errors.h 2022-06-16 18:34:19.463006903 -0500
+@@ -24,6 +24,7 @@
+ #define GOLD_ERRORS_H
+
+ #include <cstdarg>
++#include <string>
+
+ #include "gold-threads.h"
+
diff --git a/packages/binutils-oracle/git-889339ab/0012-Fix-a-missing-include-of-string.patch b/packages/binutils-oracle/git-889339ab/0012-Fix-a-missing-include-of-string.patch
deleted file mode 100644
index b04033a7..00000000
--- a/packages/binutils-oracle/git-889339ab/0012-Fix-a-missing-include-of-string.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
-From: Martin Liska <mliska@suse.cz>
-Date: Fri, 7 Jun 2019 07:36:52 +0200
-Subject: [PATCH] Fix a missing include of <string>
-
-gold/ChangeLog:
-
-2019-06-07 Martin Liska <mliska@suse.cz>
-
- * errors.h: Include string.
----
- gold/errors.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/gold/errors.h b/gold/errors.h
-index 1e61c8dbb5..805b25fc9c 100644
---- a/gold/errors.h
-+++ b/gold/errors.h
-@@ -24,6 +24,7 @@
- #define GOLD_ERRORS_H
-
- #include <cstdarg>
-+#include <string>
-
- #include "gold-threads.h"
-