[oe-commits] [openembedded-core] 01/06: gcc: Add 6.0 recipes

git at git.openembedded.org git at git.openembedded.org
Mon Apr 18 05:05:42 UTC 2016


khem pushed a commit to branch kraj/gcc-6
in repository openembedded-core.

commit 830215f235bd04b621dd850fc46c626c16d9d9cb
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Sat Apr 16 10:11:32 2016 -0700

    gcc: Add 6.0 recipes
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta/recipes-devtools/gcc/gcc-6.0.inc              | 85 ++++++++++++++++++++++
 .../recipes-devtools/gcc/gcc-cross-canadian_6.0.bb |  5 ++
 meta/recipes-devtools/gcc/gcc-cross-initial_6.0.bb |  2 +
 meta/recipes-devtools/gcc/gcc-cross_6.0.bb         |  3 +
 .../gcc/gcc-crosssdk-initial_6.0.bb                |  3 +
 meta/recipes-devtools/gcc/gcc-crosssdk_6.0.bb      |  2 +
 meta/recipes-devtools/gcc/gcc-runtime_6.0.bb       |  7 ++
 meta/recipes-devtools/gcc/gcc-sanitizers_6.0.bb    |  2 +
 meta/recipes-devtools/gcc/gcc-source_6.0.bb        |  4 +
 meta/recipes-devtools/gcc/gcc_6.0.bb               | 15 ++++
 meta/recipes-devtools/gcc/libgcc-initial_6.0.bb    |  2 +
 meta/recipes-devtools/gcc/libgcc_6.0.bb            |  2 +
 meta/recipes-devtools/gcc/libgfortran_6.0.bb       |  3 +
 13 files changed, 135 insertions(+)

diff --git a/meta/recipes-devtools/gcc/gcc-6.0.inc b/meta/recipes-devtools/gcc/gcc-6.0.inc
new file mode 100644
index 0000000..28703b9
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-6.0.inc
@@ -0,0 +1,85 @@
+require gcc-common.inc
+
+# Third digit in PV should be incremented after a minor release
+
+PV = "6.0.0"
+
+#SNAP = "5-20150405"
+
+# BINV should be incremented to a revision after a minor gcc release
+
+BINV = "6.0.1"
+
+FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-6.0:${FILE_DIRNAME}/gcc-6.0/backport:"
+
+DEPENDS =+ "mpfr gmp libmpc zlib"
+NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native"
+
+LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
+
+LIC_FILES_CHKSUM = "\
+    file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
+    file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
+    file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
+    file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
+    file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8 \
+"
+
+SRCREV = "${AUTOREV}"
+
+#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2"
+BASEURI ?= "git://github.com/kraj/gcc;branch=oe/gcc-6-branch;protocol=git"
+
+SRC_URI = "\
+           ${BASEURI} \
+           ${BACKPORTS} \
+"
+
+BACKPORTS = ""
+
+#S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
+S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/git"
+B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
+
+# Language Overrides
+FORTRAN = ""
+JAVA = ""
+
+LTO = "--enable-lto"
+
+EXTRA_OECONF_BASE = "\
+    ${LTO} \
+    --enable-libssp \
+    --enable-libitm \
+    --disable-bootstrap \
+    --disable-libmudflap \
+    --with-system-zlib \
+    --with-linker-hash-style=${LINKER_HASH_STYLE} \
+    --enable-linker-build-id \
+    --with-ppl=no \
+    --with-cloog=no \
+    --enable-checking=release \
+    --enable-cheaders=c_global \
+    --without-isl \
+"
+
+EXTRA_OECONF_INITIAL = "\
+    --disable-libmudflap \
+    --disable-libgomp \
+    --disable-libitm \
+    --disable-libquadmath \
+    --with-system-zlib \
+    --disable-lto \
+    --disable-plugin \
+    --enable-decimal-float=no \
+    --without-isl \
+    gcc_cv_libc_provides_ssp=yes \
+"
+
+EXTRA_OECONF_append_libc-uclibc = " --disable-decimal-float "
+
+EXTRA_OECONF_PATHS = "\
+    --with-gxx-include-dir=/not/exist{target_includedir}/c++/${BINV} \
+    --with-sysroot=/not/exist \
+    --with-build-sysroot=${STAGING_DIR_TARGET} \
+"
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_6.0.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_6.0.bb
new file mode 100644
index 0000000..bf53c5c
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_6.0.bb
@@ -0,0 +1,5 @@
+require recipes-devtools/gcc/gcc-${PV}.inc
+require gcc-cross-canadian.inc
+
+
+
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial_6.0.bb b/meta/recipes-devtools/gcc/gcc-cross-initial_6.0.bb
new file mode 100644
index 0000000..4c73e5c
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-cross-initial_6.0.bb
@@ -0,0 +1,2 @@
+require recipes-devtools/gcc/gcc-cross_${PV}.bb
+require gcc-cross-initial.inc
diff --git a/meta/recipes-devtools/gcc/gcc-cross_6.0.bb b/meta/recipes-devtools/gcc/gcc-cross_6.0.bb
new file mode 100644
index 0000000..b43cca0
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-cross_6.0.bb
@@ -0,0 +1,3 @@
+require recipes-devtools/gcc/gcc-${PV}.inc
+require gcc-cross.inc
+
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.0.bb b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.0.bb
new file mode 100644
index 0000000..fd90e11
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.0.bb
@@ -0,0 +1,3 @@
+require recipes-devtools/gcc/gcc-cross-initial_${PV}.bb
+require gcc-crosssdk-initial.inc
+
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk_6.0.bb b/meta/recipes-devtools/gcc/gcc-crosssdk_6.0.bb
new file mode 100644
index 0000000..40a6c4f
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk_6.0.bb
@@ -0,0 +1,2 @@
+require recipes-devtools/gcc/gcc-cross_${PV}.bb
+require gcc-crosssdk.inc
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_6.0.bb b/meta/recipes-devtools/gcc/gcc-runtime_6.0.bb
new file mode 100644
index 0000000..8f31e77
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-runtime_6.0.bb
@@ -0,0 +1,7 @@
+require recipes-devtools/gcc/gcc-${PV}.inc
+require gcc-runtime.inc
+
+FILES_libgomp-dev += "\
+    ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/openacc.h \
+"
+
diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers_6.0.bb b/meta/recipes-devtools/gcc/gcc-sanitizers_6.0.bb
new file mode 100644
index 0000000..601f666
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-sanitizers_6.0.bb
@@ -0,0 +1,2 @@
+require recipes-devtools/gcc/gcc-${PV}.inc
+require gcc-sanitizers.inc
diff --git a/meta/recipes-devtools/gcc/gcc-source_6.0.bb b/meta/recipes-devtools/gcc/gcc-source_6.0.bb
new file mode 100644
index 0000000..b890fa3
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-source_6.0.bb
@@ -0,0 +1,4 @@
+require recipes-devtools/gcc/gcc-${PV}.inc
+require recipes-devtools/gcc/gcc-source.inc
+
+EXCLUDE_FROM_WORLD = "1"
diff --git a/meta/recipes-devtools/gcc/gcc_6.0.bb b/meta/recipes-devtools/gcc/gcc_6.0.bb
new file mode 100644
index 0000000..b0a523c
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc_6.0.bb
@@ -0,0 +1,15 @@
+require recipes-devtools/gcc/gcc-${PV}.inc
+require gcc-target.inc
+
+# Building with thumb enabled on armv4t fails with
+# | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7438:(.text.unlikely+0x2fa): relocation truncated to fit: R_ARM_THM_CALL against symbol `fancy_abort(char const*, int, char const*)' defined in .glue_7 section in linker stubs
+# | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7442:(.text.unlikely+0x318): additional relocation overflows omitted from the output
+ARM_INSTRUCTION_SET_armv4 = "arm"
+
+do_configure_prepend() {
+	# Easiest way to stop bad RPATHs getting into the library since we have a
+	# broken libtool here
+	sed -i -e 's/hardcode_into_libs=yes/hardcode_into_libs=no/' ${S}/libcc1/configure
+}
+
+BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-devtools/gcc/libgcc-initial_6.0.bb b/meta/recipes-devtools/gcc/libgcc-initial_6.0.bb
new file mode 100644
index 0000000..19f253f
--- /dev/null
+++ b/meta/recipes-devtools/gcc/libgcc-initial_6.0.bb
@@ -0,0 +1,2 @@
+require recipes-devtools/gcc/gcc-${PV}.inc
+require libgcc-initial.inc
diff --git a/meta/recipes-devtools/gcc/libgcc_6.0.bb b/meta/recipes-devtools/gcc/libgcc_6.0.bb
new file mode 100644
index 0000000..a5152f2
--- /dev/null
+++ b/meta/recipes-devtools/gcc/libgcc_6.0.bb
@@ -0,0 +1,2 @@
+require recipes-devtools/gcc/gcc-${PV}.inc
+require libgcc.inc
diff --git a/meta/recipes-devtools/gcc/libgfortran_6.0.bb b/meta/recipes-devtools/gcc/libgfortran_6.0.bb
new file mode 100644
index 0000000..71dd8b4
--- /dev/null
+++ b/meta/recipes-devtools/gcc/libgfortran_6.0.bb
@@ -0,0 +1,3 @@
+require recipes-devtools/gcc/gcc-${PV}.inc
+require libgfortran.inc
+

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list