aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/binutils-oracle/2.30-113.0.1/version.desc2
-rw-r--r--packages/binutils-oracle/git-728f1495/0001-binutils-gdb-oracle-backport.patch87
-rw-r--r--packages/gcc-oracle/8.5.0-10.0.2/version.desc12
-rw-r--r--packages/gcc-oracle/package.desc5
-rw-r--r--packages/glibc-oracle/2.28/version.desc2
-rw-r--r--samples/aarch64-ol8u6-linux-gnu/crosstool.config21
-rw-r--r--samples/aarch64-ol8u6-linux-gnu/reported.by3
-rw-r--r--samples/i686-ol8u6-linux-gnu/crosstool.config21
-rw-r--r--samples/i686-ol8u6-linux-gnu/reported.by3
-rw-r--r--samples/x86_64-ol8u6-linux-gnu/crosstool.config21
-rw-r--r--samples/x86_64-ol8u6-linux-gnu/reported.by3
11 files changed, 180 insertions, 0 deletions
diff --git a/packages/binutils-oracle/2.30-113.0.1/version.desc b/packages/binutils-oracle/2.30-113.0.1/version.desc
new file mode 100644
index 00000000..49aa6ed2
--- /dev/null
+++ b/packages/binutils-oracle/2.30-113.0.1/version.desc
@@ -0,0 +1,2 @@
+repository_branch='oracle/binutils/ol8-u6'
+version_number='2.30-113.0.1'
diff --git a/packages/binutils-oracle/git-728f1495/0001-binutils-gdb-oracle-backport.patch b/packages/binutils-oracle/git-728f1495/0001-binutils-gdb-oracle-backport.patch
new file mode 100644
index 00000000..57c05dd2
--- /dev/null
+++ b/packages/binutils-oracle/git-728f1495/0001-binutils-gdb-oracle-backport.patch
@@ -0,0 +1,87 @@
+This patch is a backport from binutils-gdb.
+
+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 -urN binutils-gdb/bfd/elf.c binutils-gdb-oracle/bfd/elf.c
+--- binutils-gdb/bfd/elf.c 2022-05-19 12:47:05.117663521 -0500
++++ binutils-gdb-oracle/bfd/elf.c 2022-05-19 12:49:00.128035105 -0500
+@@ -11705,7 +11705,7 @@
+ bfd_vma (*r_sym) (bfd_vma);
+
+
+-#ifdef BFD64
++#if BFD_DEFAULT_TARGET_SIZE > 32
+ if (bfd_arch_bits_per_address (abfd) != 32)
+ r_sym = elf64_r_sym;
+ else
+@@ -11897,7 +11897,7 @@
+ asection * relsec;
+ bfd_vma (*r_info) (bfd_vma, bfd_vma);
+
+-#ifdef BFD64
++#if BFD_DEFAULT_TARGET_SIZE > 32
+ if (bfd_arch_bits_per_address (abfd) != 32)
+ r_info = elf64_r_info;
+ else
+diff -urN binutils-gdb/gold/errors.h binutils-gdb-oracle/gold/errors.h
+--- binutils-gdb/gold/errors.h 2022-05-19 12:47:05.549657405 -0500
++++ binutils-gdb-oracle/gold/errors.h 2022-05-19 12:49:04.931967084 -0500
+@@ -24,6 +24,7 @@
+ #define GOLD_ERRORS_H
+
+ #include <cstdarg>
++#include <string>
+
+ #include "gold-threads.h"
+
+diff -urN binutils-gdb/gold/i386.cc binutils-gdb-oracle/gold/i386.cc
+--- binutils-gdb/gold/i386.cc 2022-05-19 12:47:05.549657405 -0500
++++ binutils-gdb-oracle/gold/i386.cc 2022-05-19 12:49:08.803912259 -0500
+@@ -865,7 +865,7 @@
+ // Record a target-specific program property in the .note.gnu.property
+ // section.
+ void
+- record_gnu_property(int, int, size_t,
++ record_gnu_property(unsigned int, unsigned int, size_t,
+ const unsigned char*, const Object*);
+
+ // Merge the target-specific program properties from the current object.
+@@ -1075,7 +1075,7 @@
+ // section.
+ void
+ Target_i386::record_gnu_property(
+- int, int pr_type,
++ unsigned int, unsigned int pr_type,
+ size_t pr_datasz, const unsigned char* pr_data,
+ const Object* object)
+ {
+diff -urN binutils-gdb/gold/x86_64.cc binutils-gdb-oracle/gold/x86_64.cc
+--- binutils-gdb/gold/x86_64.cc 2022-05-19 12:47:05.549657405 -0500
++++ binutils-gdb-oracle/gold/x86_64.cc 2022-05-19 12:49:08.803912259 -0500
+@@ -1192,7 +1192,8 @@
+ // Record a target-specific program property in the .note.gnu.property
+ // section.
+ void
+- record_gnu_property(int, int, size_t, const unsigned char*, const Object*);
++ record_gnu_property(unsigned int, unsigned int, size_t,
++ const unsigned char*, const Object*);
+
+ // Merge the target-specific program properties from the current object.
+ void
+@@ -1462,7 +1463,7 @@
+ template<int size>
+ void
+ Target_x86_64<size>::record_gnu_property(
+- int, int pr_type,
++ unsigned int, unsigned int pr_type,
+ size_t pr_datasz, const unsigned char* pr_data,
+ const Object* object)
+ {
diff --git a/packages/gcc-oracle/8.5.0-10.0.2/version.desc b/packages/gcc-oracle/8.5.0-10.0.2/version.desc
new file mode 100644
index 00000000..8e935211
--- /dev/null
+++ b/packages/gcc-oracle/8.5.0-10.0.2/version.desc
@@ -0,0 +1,12 @@
+# Since Oracle provides different branches for GCC
+# depending of the architecture:
+#
+# ARM64: 'oracle/gcc/ol8-u6-aarch64'
+# i686,X86_64: 'oracle/gcc/ol8-u6-x86'
+#
+# branch name is adjusted in:
+# samples/{aarch64,i686,x86_64}*ol8u6-*
+#
+# using CT_GCC_ORACLE_DEVEL_BRANCH
+#
+version_number='8.5.0-10.0.2'
diff --git a/packages/gcc-oracle/package.desc b/packages/gcc-oracle/package.desc
new file mode 100644
index 00000000..6ccf4ccf
--- /dev/null
+++ b/packages/gcc-oracle/package.desc
@@ -0,0 +1,5 @@
+master='gcc'
+repository='git https://github.com/oracle/gcc.git'
+origin='Oracle'
+src_release='n'
+src_devel='y'
diff --git a/packages/glibc-oracle/2.28/version.desc b/packages/glibc-oracle/2.28/version.desc
new file mode 100644
index 00000000..05402ba2
--- /dev/null
+++ b/packages/glibc-oracle/2.28/version.desc
@@ -0,0 +1,2 @@
+repository_branch='oracle/glibc/ol8-u6'
+version_number='2.28-189.1.0.1'
diff --git a/samples/aarch64-ol8u6-linux-gnu/crosstool.config b/samples/aarch64-ol8u6-linux-gnu/crosstool.config
new file mode 100644
index 00000000..17b0219a
--- /dev/null
+++ b/samples/aarch64-ol8u6-linux-gnu/crosstool.config
@@ -0,0 +1,21 @@
+CT_CONFIG_VERSION="4"
+CT_ARCH_ARM=y
+CT_ARCH_64=y
+CT_TARGET_VENDOR="ol8u6"
+CT_KERNEL_LINUX=y
+CT_LINUX_USE_ORACLE=y
+CT_BINUTILS_USE_ORACLE=y
+CT_BINUTILS_ORACLE_V_2_30_113=y
+CT_BINUTILS_LINKER_LD_GOLD=y
+CT_BINUTILS_GOLD_THREADS=y
+CT_BINUTILS_LD_WRAPPER=y
+CT_BINUTILS_PLUGINS=y
+CT_GLIBC_USE_ORACLE=y
+CT_GLIBC_EXTRA_CFLAGS="-Wno-missing-attributes -Wno-array-bounds -Wno-array-parameter -Wno-stringop-overflow -Wno-maybe-uninitialized"
+CT_GLIBC_ENABLE_COMMON_FLAG=y
+CT_CC_LANG_CXX=y
+CT_GCC_USE_ORACLE=y
+CT_ISL_V_0_16=y
+CT_GCC_ORACLE_V_8=y
+CT_GCC_ORACLE_VERSION="8.5.0"
+CT_GCC_ORACLE_DEVEL_BRANCH="oracle/gcc/ol8-u6-aarch64"
diff --git a/samples/aarch64-ol8u6-linux-gnu/reported.by b/samples/aarch64-ol8u6-linux-gnu/reported.by
new file mode 100644
index 00000000..7817c94c
--- /dev/null
+++ b/samples/aarch64-ol8u6-linux-gnu/reported.by
@@ -0,0 +1,3 @@
+reporter_name="Guillermo E. Martinez"
+reporter_url=""
+reporter_comment="OL 8.6 toolchain configured for AARCH64"
diff --git a/samples/i686-ol8u6-linux-gnu/crosstool.config b/samples/i686-ol8u6-linux-gnu/crosstool.config
new file mode 100644
index 00000000..3a0eb7fb
--- /dev/null
+++ b/samples/i686-ol8u6-linux-gnu/crosstool.config
@@ -0,0 +1,21 @@
+CT_CONFIG_VERSION="4"
+CT_ARCH_X86=y
+CT_ARCH_ARCH="i686"
+CT_TARGET_VENDOR="ol8u6"
+CT_KERNEL_LINUX=y
+CT_LINUX_USE_ORACLE=y
+CT_BINUTILS_USE_ORACLE=y
+CT_BINUTILS_ORACLE_V_2_30_113=y
+CT_BINUTILS_LINKER_LD_GOLD=y
+CT_BINUTILS_GOLD_THREADS=y
+CT_BINUTILS_LD_WRAPPER=y
+CT_BINUTILS_PLUGINS=y
+CT_GLIBC_USE_ORACLE=y
+CT_GLIBC_EXTRA_CFLAGS="-Wno-missing-attributes -Wno-array-bounds -Wno-array-parameter -Wno-stringop-overflow -Wno-maybe-uninitialized"
+CT_GLIBC_ENABLE_COMMON_FLAG=y
+CT_CC_LANG_CXX=y
+CT_GCC_USE_ORACLE=y
+CT_ISL_V_0_16=y
+CT_GCC_ORACLE_V_8=y
+CT_GCC_ORACLE_VERSION="8.5.0"
+CT_GCC_ORACLE_DEVEL_BRANCH="oracle/gcc/ol8-u6-x86"
diff --git a/samples/i686-ol8u6-linux-gnu/reported.by b/samples/i686-ol8u6-linux-gnu/reported.by
new file mode 100644
index 00000000..8d3e113f
--- /dev/null
+++ b/samples/i686-ol8u6-linux-gnu/reported.by
@@ -0,0 +1,3 @@
+reporter_name="Guillermo E. Martinez"
+reporter_url=""
+reporter_comment="OL 8.6 toolchain configured for i686"
diff --git a/samples/x86_64-ol8u6-linux-gnu/crosstool.config b/samples/x86_64-ol8u6-linux-gnu/crosstool.config
new file mode 100644
index 00000000..e8828adc
--- /dev/null
+++ b/samples/x86_64-ol8u6-linux-gnu/crosstool.config
@@ -0,0 +1,21 @@
+CT_CONFIG_VERSION="4"
+CT_ARCH_X86=y
+CT_ARCH_64=y
+CT_TARGET_VENDOR="ol8u6"
+CT_KERNEL_LINUX=y
+CT_LINUX_USE_ORACLE=y
+CT_BINUTILS_USE_ORACLE=y
+CT_BINUTILS_ORACLE_V_2_30_113=y
+CT_BINUTILS_LINKER_LD_GOLD=y
+CT_BINUTILS_GOLD_THREADS=y
+CT_BINUTILS_LD_WRAPPER=y
+CT_BINUTILS_PLUGINS=y
+CT_GLIBC_USE_ORACLE=y
+CT_GLIBC_EXTRA_CFLAGS="-Wno-missing-attributes -Wno-array-bounds -Wno-array-parameter -Wno-stringop-overflow -Wno-maybe-uninitialized"
+CT_GLIBC_ENABLE_COMMON_FLAG=y
+CT_CC_LANG_CXX=y
+CT_GCC_USE_ORACLE=y
+CT_ISL_V_0_16=y
+CT_GCC_ORACLE_V_8=y
+CT_GCC_ORACLE_VERSION="8.5.0"
+CT_GCC_ORACLE_DEVEL_BRANCH="oracle/gcc/ol8-u6-x86"
diff --git a/samples/x86_64-ol8u6-linux-gnu/reported.by b/samples/x86_64-ol8u6-linux-gnu/reported.by
new file mode 100644
index 00000000..426fadf0
--- /dev/null
+++ b/samples/x86_64-ol8u6-linux-gnu/reported.by
@@ -0,0 +1,3 @@
+reporter_name="Guillermo E. Martinez"
+reporter_url=""
+reporter_comment="OL 8.6 toolchain configured for x86_64"