summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-5.2.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-07-24 13:11:28 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-27 12:28:00 +0100
commitfd91e710774d91bc5ff2902b7d9ec665c532dab4 (patch)
tree2a40513f24b430062b06b5de4cd29b598297bec5 /meta/recipes-devtools/gcc/gcc-5.2.inc
parent53caeebc716ae9caf6ca08fd46dc58232571cd38 (diff)
downloadpoky-fd91e710774d91bc5ff2902b7d9ec665c532dab4.tar.gz
gcc5: Upgrade from 5.1 to 5.2
This is second bugfix release in gcc5 series All backported patches are dropped no other patches needed any rework (From OE-Core rev: 2a212e56a814e5dc8a8bae4974b91109ed0486ef) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-5.2.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.2.inc117
1 files changed, 117 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.2.inc b/meta/recipes-devtools/gcc/gcc-5.2.inc
new file mode 100644
index 0000000000..34606b909c
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-5.2.inc
@@ -0,0 +1,117 @@
1require gcc-common.inc
2
3# Third digit in PV should be incremented after a minor release
4
5PV = "5.2.0"
6
7#SNAP = "5-20150405"
8
9# BINV should be incremented to a revision after a minor gcc release
10
11BINV = "5.2.0"
12
13FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-5.2:${FILE_DIRNAME}/gcc-5.2/backport:"
14
15DEPENDS =+ "mpfr gmp libmpc zlib"
16NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native"
17
18LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
19
20LIC_FILES_CHKSUM = "\
21 file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
22 file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
23 file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
24 file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
25 file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8 \
26"
27#BASEURI = "http://www.netgull.com/gcc/snapshots/${SNAP}/gcc-${SNAP}.tar.bz2"
28BASEURI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2"
29SRC_URI[md5sum] = "a51bcfeb3da7dd4c623e27207ed43467"
30SRC_URI[sha256sum] = "5f835b04b5f7dd4f4d2dc96190ec1621b8d89f2dc6f638f9f8bc1b1014ba8cad"
31
32SRC_URI = "\
33 ${BASEURI} \
34 ${BACKPORTS} \
35 file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
36 file://0002-uclibc-conf.patch \
37 file://0003-gcc-uclibc-locale-ctype_touplow_t.patch \
38 file://0004-uclibc-locale.patch \
39 file://0005-uclibc-locale-no__x.patch \
40 file://0006-uclibc-locale-wchar_fix.patch \
41 file://0007-uclibc-locale-update.patch \
42 file://0008-missing-execinfo_h.patch \
43 file://0009-c99-snprintf.patch \
44 file://0010-gcc-poison-system-directories.patch \
45 file://0011-gcc-poison-dir-extend.patch \
46 file://0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch \
47 file://0013-64-bit-multilib-hack.patch \
48 file://0014-optional-libstdc.patch \
49 file://0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch \
50 file://0016-COLLECT_GCC_OPTIONS.patch \
51 file://0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch \
52 file://0018-fortran-cross-compile-hack.patch \
53 file://0019-libgcc-sjlj-check.patch \
54 file://0020-cpp-honor-sysroot.patch \
55 file://0021-MIPS64-Default-to-N64-ABI.patch \
56 file://0022-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch \
57 file://0023-gcc-Fix-argument-list-too-long-error.patch \
58 file://0024-Disable-sdt.patch \
59 file://0025-libtool.patch \
60 file://0026-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch \
61 file://0027-Use-the-multilib-config-files-from-B-instead-of-usin.patch \
62 file://0028-Avoid-using-libdir-from-.la-which-usually-points-to-.patch \
63 file://0029-export-CPP.patch \
64 file://0030-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch \
65 file://0031-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch \
66 file://0032-Ensure-target-gcc-headers-can-be-included.patch \
67 file://0033-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch \
68 file://0034-Don-t-search-host-directory-during-relink-if-inst_pr.patch \
69 file://0035-Dont-link-the-plugins-with-libgomp-explicitly.patch \
70 file://0036-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch \
71 file://0037-pr65779.patch \
72 file://0038-fix-g++-sysroot.patch \
73 "
74
75BACKPORTS = ""
76#S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${SNAP}"
77S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
78B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
79
80# Language Overrides
81FORTRAN = ""
82JAVA = ""
83
84LTO = "--enable-lto"
85
86EXTRA_OECONF_BASE = "\
87 ${LTO} \
88 --enable-libssp \
89 --disable-bootstrap \
90 --disable-libmudflap \
91 --with-system-zlib \
92 --with-linker-hash-style=${LINKER_HASH_STYLE} \
93 --enable-linker-build-id \
94 --with-ppl=no \
95 --with-cloog=no \
96 --enable-checking=release \
97 --enable-cheaders=c_global \
98"
99
100EXTRA_OECONF_INITIAL = "\
101 --disable-libmudflap \
102 --disable-libgomp \
103 --disable-libssp \
104 --disable-libquadmath \
105 --with-system-zlib \
106 --disable-lto \
107 --disable-plugin \
108 --enable-decimal-float=no \
109"
110
111EXTRA_OECONF_append_libc-uclibc = " --disable-decimal-float "
112
113EXTRA_OECONF_PATHS = "\
114 --with-gxx-include-dir=/not/exist{target_includedir}/c++/${BINV} \
115 --with-sysroot=/not/exist \
116 --with-build-sysroot=${STAGING_DIR_TARGET} \
117"