diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.8.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.8.inc | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.8.inc b/meta/recipes-devtools/gcc/gcc-4.8.inc new file mode 100644 index 0000000000..93e420f8aa --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.8.inc | |||
@@ -0,0 +1,135 @@ | |||
1 | require gcc-common.inc | ||
2 | |||
3 | # Third digit in PV should be incremented after a minor release | ||
4 | |||
5 | PV = "4.8.2" | ||
6 | |||
7 | # BINV should be incremented to a revision after a minor gcc release | ||
8 | |||
9 | BINV = "4.8.2" | ||
10 | |||
11 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-4.8:" | ||
12 | |||
13 | DEPENDS =+ "mpfr gmp libmpc zlib" | ||
14 | NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" | ||
15 | |||
16 | LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" | ||
17 | |||
18 | LIC_FILES_CHKSUM = "\ | ||
19 | file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | ||
20 | file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ | ||
21 | file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ | ||
22 | file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | ||
23 | file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8 \ | ||
24 | " | ||
25 | |||
26 | SRC_URI = "\ | ||
27 | ${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ | ||
28 | file://0002-uclibc-conf.patch \ | ||
29 | file://0003-gcc-uclibc-locale-ctype_touplow_t.patch \ | ||
30 | file://0004-uclibc-locale.patch \ | ||
31 | file://0005-uclibc-locale-no__x.patch \ | ||
32 | file://0006-uclibc-locale-wchar_fix.patch \ | ||
33 | file://0007-uclibc-locale-update.patch \ | ||
34 | file://0008-missing-execinfo_h.patch \ | ||
35 | file://0009-c99-snprintf.patch \ | ||
36 | file://0010-c99-complex-ugly-hack.patch \ | ||
37 | file://0011-index_macro.patch \ | ||
38 | file://0012-libmudflap-susv3-legacy.patch \ | ||
39 | file://0013-libstdc-namespace.patch \ | ||
40 | file://0014-sh-pr24836.patch \ | ||
41 | file://0015-arm-Use-TARGET_ENDIAN_OPTION-for-determining-MULTILI.patch \ | ||
42 | file://0016-gcc-poison-system-directories.patch \ | ||
43 | file://0017-gcc-poison-dir-extend.patch \ | ||
44 | file://0018-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch \ | ||
45 | file://0019-64-bit-multilib-hack.patch \ | ||
46 | file://0020-optional-libstdc.patch \ | ||
47 | file://0021-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch \ | ||
48 | file://0022-COLLECT_GCC_OPTIONS.patch \ | ||
49 | file://0023-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch \ | ||
50 | file://0024-PR-target-32219.patch \ | ||
51 | file://0025-fortran-cross-compile-hack.patch \ | ||
52 | file://0026-libgcc-sjlj-check.patch \ | ||
53 | file://0027-cpp-honor-sysroot.patch \ | ||
54 | file://0028-MIPS64-Default-to-N64-ABI.patch \ | ||
55 | file://0029-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch \ | ||
56 | file://0030-gcc-Fix-argument-list-too-long-error.patch \ | ||
57 | file://0031-Disable-sdt.patch \ | ||
58 | file://0032-libtool.patch \ | ||
59 | file://0033-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch \ | ||
60 | file://0034-Use-the-multilib-config-files-from-B-instead-of-usin.patch \ | ||
61 | file://0035-wcast-qual-PR-55383.patch \ | ||
62 | file://0038-gcc-4.8-build-args.patch \ | ||
63 | file://0039-gcc-4.8-PR57717.patch \ | ||
64 | file://0040-fix-g++-sysroot.patch \ | ||
65 | file://0041-libtool-avoid-libdir.patch \ | ||
66 | file://0042-pr57748.patch \ | ||
67 | file://0043-cpp.patch \ | ||
68 | file://0044-gengtypes.patch \ | ||
69 | file://0045-gcc-4.8-PR57717-PowerPC-E500v2.patch \ | ||
70 | file://add-install-ptest-to-Makefile.patch \ | ||
71 | file://run-ptest \ | ||
72 | file://0046-libatomic-deptracking.patch \ | ||
73 | file://0047-repomembug.patch \ | ||
74 | file://0048-PR58854_fix_arm_apcs_epilogue.patch \ | ||
75 | file://0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch \ | ||
76 | file://0050-PR-target-58595.patch \ | ||
77 | file://0052-PR-rtl-optimization-61801.patch \ | ||
78 | file://target-gcc-includedir.patch \ | ||
79 | " | ||
80 | SRC_URI[md5sum] = "a3d7d63b9cb6b6ea049469a0c4a43c9d" | ||
81 | SRC_URI[sha256sum] = "09dc2276c73424bbbfda1dbddc62bbbf900c9f185acf7f3e1d773ce2d7e3cdc8" | ||
82 | |||
83 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" | ||
84 | B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" | ||
85 | |||
86 | # Language Overrides | ||
87 | FORTRAN = "" | ||
88 | JAVA = "" | ||
89 | |||
90 | LTO = "--enable-lto" | ||
91 | |||
92 | EXTRA_OECONF_BASE = "\ | ||
93 | ${LTO} \ | ||
94 | --enable-libssp \ | ||
95 | --disable-bootstrap \ | ||
96 | --disable-libmudflap \ | ||
97 | --with-system-zlib \ | ||
98 | --with-linker-hash-style=${LINKER_HASH_STYLE} \ | ||
99 | --enable-linker-build-id \ | ||
100 | --with-ppl=no \ | ||
101 | --with-cloog=no \ | ||
102 | --enable-checking=release \ | ||
103 | --enable-cheaders=c_global \ | ||
104 | " | ||
105 | |||
106 | EXTRA_OECONF_INITIAL = "\ | ||
107 | --disable-libmudflap \ | ||
108 | --disable-libgomp \ | ||
109 | --disable-libssp \ | ||
110 | --disable-libquadmath \ | ||
111 | --with-system-zlib \ | ||
112 | --disable-lto \ | ||
113 | --disable-plugin \ | ||
114 | --enable-decimal-float=no \ | ||
115 | " | ||
116 | |||
117 | EXTRA_OECONF_INTERMEDIATE = "\ | ||
118 | --disable-libmudflap \ | ||
119 | --disable-libgomp \ | ||
120 | --disable-libquadmath \ | ||
121 | --with-system-zlib \ | ||
122 | --disable-lto \ | ||
123 | --disable-plugin \ | ||
124 | --disable-libssp \ | ||
125 | " | ||
126 | |||
127 | EXTRA_OECONF_append_libc-uclibc = " --disable-decimal-float " | ||
128 | |||
129 | EXTRA_OECONF_PATHS = "\ | ||
130 | --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++/${BINV} \ | ||
131 | --with-sysroot=${STAGING_DIR_TARGET} \ | ||
132 | --with-build-sysroot=${STAGING_DIR_TARGET} \ | ||
133 | " | ||
134 | |||
135 | |||