aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-04-16 10:11:32 -0700
committerDan McGregor <dan.mcgregor@usask.ca>2016-04-19 21:33:53 -0600
commit676e6ffd8ec392e6eb00c68ba31e59ad11c085f2 (patch)
treeb2f5118f1ea0319499d9a1784f499c97ed2d47d7
parent9838f8d077d16e52ad592879d65a9e8350b93075 (diff)
downloadopenembedded-core-contrib-676e6ffd8ec392e6eb00c68ba31e59ad11c085f2.tar.gz
openembedded-core-contrib-676e6ffd8ec392e6eb00c68ba31e59ad11c085f2.tar.bz2
openembedded-core-contrib-676e6ffd8ec392e6eb00c68ba31e59ad11c085f2.zip
gcc: Add 6.0 recipes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta/recipes-devtools/gcc/gcc-6.0.inc85
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian_6.0.bb5
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-initial_6.0.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross_6.0.bb3
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk-initial_6.0.bb3
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk_6.0.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime_6.0.bb7
-rw-r--r--meta/recipes-devtools/gcc/gcc-sanitizers_6.0.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc-source_6.0.bb4
-rw-r--r--meta/recipes-devtools/gcc/gcc_6.0.bb15
-rw-r--r--meta/recipes-devtools/gcc/libgcc-initial_6.0.bb2
-rw-r--r--meta/recipes-devtools/gcc/libgcc_6.0.bb2
-rw-r--r--meta/recipes-devtools/gcc/libgfortran_6.0.bb3
13 files changed, 135 insertions, 0 deletions
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 0000000000..28703b9e0b
--- /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 0000000000..bf53c5cd78
--- /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 0000000000..4c73e5ce61
--- /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 0000000000..b43cca0c52
--- /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 0000000000..fd90e1140f
--- /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 0000000000..40a6c4feff
--- /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 0000000000..8f31e7792e
--- /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 0000000000..601f666023
--- /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 0000000000..b890fa33ea
--- /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 0000000000..b0a523cae2
--- /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 0000000000..19f253fce8
--- /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 0000000000..a5152f28e9
--- /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 0000000000..71dd8b4bdc
--- /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
+