From 470ce219af2ee28f32caaacc6c568b2bc6d1cc50 Mon Sep 17 00:00:00 2001 From: "Jose E. Marchesi" Date: Mon, 2 Nov 2020 17:46:05 +0100 Subject: Add Oracle products to crosstool-ng This commit adds support for the following Oracle products, in order to target 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 configuration files are provides for the following triplets: arm-ol7u9-linux-gnueabi arm-ol7u9-linux-gnueabihf Signed-off-by: Egeyar Bagcioglu Signed-off-by: Jose E. Marchesi diff --git a/config/libc/glibc.in b/config/libc/glibc.in index 8174dc4..001cd2f 100644 --- a/config/libc/glibc.in +++ b/config/libc/glibc.in @@ -105,6 +105,7 @@ config GLIBC_HAS_NPTL_ADDON config GLIBC_HAS_PORTS_ADDON def_bool y depends on !GLIBC_2_20_or_later + depends on !GLIBC_USE_ORACLE config GLIBC_HAS_PORTS_ADDON_EXTERNAL def_bool y @@ -121,6 +122,7 @@ config GLIBC_USE_PORTS_ADDON def_bool y depends on ARCH_ALPHA || ARCH_ARM || ARCH_M68K || ARCH_MIPS || ARCH_POWERPC depends on GLIBC_HAS_PORTS_ADDON + depends on !GLIBC_USE_ORACLE config GLIBC_USE_PORTS_EXTERNAL def_bool y 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 new file mode 100644 index 0000000..0184dc3 --- /dev/null +++ b/packages/binutils-oracle/2.27-44.base.0.400/version.desc @@ -0,0 +1,2 @@ +repository_branch='oracle/binutils/ol7-u9-arm' +version_number='2.27' diff --git a/packages/binutils-oracle/package.desc b/packages/binutils-oracle/package.desc new file mode 100644 index 0000000..44f3a63 --- /dev/null +++ b/packages/binutils-oracle/package.desc @@ -0,0 +1,5 @@ +master='binutils' +repository='git https://github.com/oracle/binutils-gdb.git' +origin='Oracle' +src_release='n' +src_devel='y' diff --git a/packages/gcc-oracle/4.8.5-44.0.5/version.desc b/packages/gcc-oracle/4.8.5-44.0.5/version.desc new file mode 100644 index 0000000..2f2ac61 --- /dev/null +++ b/packages/gcc-oracle/4.8.5-44.0.5/version.desc @@ -0,0 +1,2 @@ +repository_branch='oracle/gcc/ol7-u9' +version_number='4.8' diff --git a/packages/gcc-oracle/package.desc b/packages/gcc-oracle/package.desc new file mode 100644 index 0000000..6ccf4cc --- /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.17-317.0.3/version.desc b/packages/glibc-oracle/2.17-317.0.3/version.desc new file mode 100644 index 0000000..f818679 --- /dev/null +++ b/packages/glibc-oracle/2.17-317.0.3/version.desc @@ -0,0 +1,2 @@ +repository_branch='oracle/glibc/ol7-u9' +version_number='2.17' diff --git a/packages/glibc-oracle/package.desc b/packages/glibc-oracle/package.desc new file mode 100644 index 0000000..a94f7d2 --- /dev/null +++ b/packages/glibc-oracle/package.desc @@ -0,0 +1,5 @@ +master='glibc' +repository='git https://github.com/oracle/glibc.git' +origin='Oracle' +src_release='n' +src_devel='y' diff --git a/packages/linux-oracle/4.14.35-2025.400.8/version.desc b/packages/linux-oracle/4.14.35-2025.400.8/version.desc new file mode 100644 index 0000000..e664150 --- /dev/null +++ b/packages/linux-oracle/4.14.35-2025.400.8/version.desc @@ -0,0 +1,2 @@ +repository_branch='v4.14.35-2025.400.8' +version_number='4.14' diff --git a/packages/linux-oracle/package.desc b/packages/linux-oracle/package.desc new file mode 100644 index 0000000..e02c85e --- /dev/null +++ b/packages/linux-oracle/package.desc @@ -0,0 +1,5 @@ +master='linux' +origin='Oracle' +repository='git https://github.com/oracle/linux-uek.git' +src_release='n' +src_devel='y' diff --git a/samples/arm-ol7u9-linux-gnueabi/crosstool.config b/samples/arm-ol7u9-linux-gnueabi/crosstool.config new file mode 100644 index 0000000..1894fe8 --- /dev/null +++ b/samples/arm-ol7u9-linux-gnueabi/crosstool.config @@ -0,0 +1,21 @@ +CT_CONFIG_VERSION="3" +CT_OBSOLETE=y +CT_ARCH_ARM=y +CT_TARGET_VENDOR="ol7u9" +CT_ARCH_FLOAT_SW=y +CT_KERNEL_LINUX=y +CT_LINUX_USE_ORACLE=y +CT_LINUX_ORACLE_V_4_14=y +CT_LINUX_ORACLE_VERSION="4.14.35-2025.400.8" +CT_BINUTILS_USE_ORACLE=y +CT_BINUTILS_ORACLE_V_2_27_44=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_ORACLE_V_2_17_317_0_3=y +CT_GCC_USE_ORACLE=y +CT_GCC_ORACLE_V_4_8=y +CT_GCC_ORACLE_VERSION="4.8.5-44.0.5" +CT_CC_LANG_CXX=y diff --git a/samples/arm-ol7u9-linux-gnueabi/reported.by b/samples/arm-ol7u9-linux-gnueabi/reported.by new file mode 100644 index 0000000..19080fa --- /dev/null +++ b/samples/arm-ol7u9-linux-gnueabi/reported.by @@ -0,0 +1,3 @@ +reporter_name="Jose E. Marchesi" +reporter_url="" +reporter_comment="OL 7.9 toolchain configured for ARM w/o fp hardware" diff --git a/samples/arm-ol7u9-linux-gnueabihf/crosstool.config b/samples/arm-ol7u9-linux-gnueabihf/crosstool.config new file mode 100644 index 0000000..1673129 --- /dev/null +++ b/samples/arm-ol7u9-linux-gnueabihf/crosstool.config @@ -0,0 +1,21 @@ +CT_CONFIG_VERSION="3" +CT_OBSOLETE=y +CT_ARCH_ARM=y +CT_TARGET_VENDOR="ol7u9" +CT_ARCH_FLOAT_HW=y +CT_KERNEL_LINUX=y +CT_LINUX_USE_ORACLE=y +CT_LINUX_ORACLE_V_4_14=y +CT_LINUX_ORACLE_VERSION="4.14.35-2025.400.8" +CT_BINUTILS_USE_ORACLE=y +CT_BINUTILS_ORACLE_V_2_27_44=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_ORACLE_V_2_17_317_0_3=y +CT_GCC_USE_ORACLE=y +CT_GCC_ORACLE_V_4_8=y +CT_GCC_ORACLE_VERSION="4.8.5-44.0.5" +CT_CC_LANG_CXX=y diff --git a/samples/arm-ol7u9-linux-gnueabihf/reported.by b/samples/arm-ol7u9-linux-gnueabihf/reported.by new file mode 100644 index 0000000..96dee7e --- /dev/null +++ b/samples/arm-ol7u9-linux-gnueabihf/reported.by @@ -0,0 +1,3 @@ +reporter_name="Jose E. Marchesi" +reporter_url="" +reporter_comment="OL 7.9 toolchain configured for ARM with fp hardware" -- cgit v0.10.2-6-g49f6