diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.9.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.9.inc | 180 |
1 files changed, 95 insertions, 85 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc index d1be67d39f..5a1c0281d9 100644 --- a/meta/recipes-devtools/gcc/gcc-4.9.inc +++ b/meta/recipes-devtools/gcc/gcc-4.9.inc | |||
@@ -15,59 +15,62 @@ NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" | |||
15 | 15 | ||
16 | LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" | 16 | LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" |
17 | 17 | ||
18 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | 18 | LIC_FILES_CHKSUM = "\ |
19 | file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ | 19 | file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ |
20 | file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ | 20 | file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ |
21 | file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | 21 | file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ |
22 | file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8" | 22 | file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ |
23 | 23 | file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8 \ | |
24 | SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ | 24 | " |
25 | file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ | 25 | |
26 | file://0002-uclibc-conf.patch \ | 26 | SRC_URI = "\ |
27 | file://0003-gcc-uclibc-locale-ctype_touplow_t.patch \ | 27 | ${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ |
28 | file://0004-uclibc-locale.patch \ | 28 | file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ |
29 | file://0005-uclibc-locale-no__x.patch \ | 29 | file://0002-uclibc-conf.patch \ |
30 | file://0006-uclibc-locale-wchar_fix.patch \ | 30 | file://0003-gcc-uclibc-locale-ctype_touplow_t.patch \ |
31 | file://0007-uclibc-locale-update.patch \ | 31 | file://0004-uclibc-locale.patch \ |
32 | file://0008-missing-execinfo_h.patch \ | 32 | file://0005-uclibc-locale-no__x.patch \ |
33 | file://0009-c99-snprintf.patch \ | 33 | file://0006-uclibc-locale-wchar_fix.patch \ |
34 | file://0010-c99-complex-ugly-hack.patch \ | 34 | file://0007-uclibc-locale-update.patch \ |
35 | file://0011-index_macro.patch \ | 35 | file://0008-missing-execinfo_h.patch \ |
36 | file://0013-libstdc-namespace.patch \ | 36 | file://0009-c99-snprintf.patch \ |
37 | file://0014-sh-pr24836.patch \ | 37 | file://0010-c99-complex-ugly-hack.patch \ |
38 | file://0015-arm-Use-TARGET_ENDIAN_OPTION-for-determining-MULTILI.patch \ | 38 | file://0011-index_macro.patch \ |
39 | file://0016-gcc-poison-system-directories.patch \ | 39 | file://0013-libstdc-namespace.patch \ |
40 | file://0017-gcc-poison-dir-extend.patch \ | 40 | file://0014-sh-pr24836.patch \ |
41 | file://0018-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch \ | 41 | file://0015-arm-Use-TARGET_ENDIAN_OPTION-for-determining-MULTILI.patch \ |
42 | file://0019-64-bit-multilib-hack.patch \ | 42 | file://0016-gcc-poison-system-directories.patch \ |
43 | file://0020-optional-libstdc.patch \ | 43 | file://0017-gcc-poison-dir-extend.patch \ |
44 | file://0021-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch \ | 44 | file://0018-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch \ |
45 | file://0022-COLLECT_GCC_OPTIONS.patch \ | 45 | file://0019-64-bit-multilib-hack.patch \ |
46 | file://0023-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch \ | 46 | file://0020-optional-libstdc.patch \ |
47 | file://0024-PR-target-32219.patch \ | 47 | file://0021-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch \ |
48 | file://0025-fortran-cross-compile-hack.patch \ | 48 | file://0022-COLLECT_GCC_OPTIONS.patch \ |
49 | file://0026-libgcc-sjlj-check.patch \ | 49 | file://0023-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch \ |
50 | file://0027-cpp-honor-sysroot.patch \ | 50 | file://0024-PR-target-32219.patch \ |
51 | file://0028-MIPS64-Default-to-N64-ABI.patch \ | 51 | file://0025-fortran-cross-compile-hack.patch \ |
52 | file://0029-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch \ | 52 | file://0026-libgcc-sjlj-check.patch \ |
53 | file://0030-gcc-Fix-argument-list-too-long-error.patch \ | 53 | file://0027-cpp-honor-sysroot.patch \ |
54 | file://0031-Disable-sdt.patch \ | 54 | file://0028-MIPS64-Default-to-N64-ABI.patch \ |
55 | file://0032-libtool.patch \ | 55 | file://0029-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch \ |
56 | file://0033-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch \ | 56 | file://0030-gcc-Fix-argument-list-too-long-error.patch \ |
57 | file://0034-Use-the-multilib-config-files-from-B-instead-of-usin.patch \ | 57 | file://0031-Disable-sdt.patch \ |
58 | file://0037-gcc-4.8-PR56797.patch \ | 58 | file://0032-libtool.patch \ |
59 | file://0040-fix-g++-sysroot.patch \ | 59 | file://0033-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch \ |
60 | file://0041-libtool-avoid-libdir.patch \ | 60 | file://0034-Use-the-multilib-config-files-from-B-instead-of-usin.patch \ |
61 | file://0043-cpp.patch \ | 61 | file://0037-gcc-4.8-PR56797.patch \ |
62 | file://0044-gengtypes.patch \ | 62 | file://0040-fix-g++-sysroot.patch \ |
63 | file://0046-libatomic-deptracking.patch \ | 63 | file://0041-libtool-avoid-libdir.patch \ |
64 | file://0047-repomembug.patch \ | 64 | file://0043-cpp.patch \ |
65 | file://0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch \ | 65 | file://0044-gengtypes.patch \ |
66 | file://0050-Revert-Use-dbx_reg_number-for-spanning-registers.patch \ | 66 | file://0046-libatomic-deptracking.patch \ |
67 | file://0051-eabispe.patch \ | 67 | file://0047-repomembug.patch \ |
68 | file://0053-gcc-fix-segfault-from-calling-free-on-non-malloc-d-a.patch \ | 68 | file://0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch \ |
69 | file://0054-gcc-Makefile.in-fix-parallel-building-failure.patch \ | 69 | file://0050-Revert-Use-dbx_reg_number-for-spanning-registers.patch \ |
70 | " | 70 | file://0051-eabispe.patch \ |
71 | file://0053-gcc-fix-segfault-from-calling-free-on-non-malloc-d-a.patch \ | ||
72 | file://0054-gcc-Makefile.in-fix-parallel-building-failure.patch \ | ||
73 | " | ||
71 | SRC_URI[md5sum] = "fddf71348546af523353bd43d34919c1" | 74 | SRC_URI[md5sum] = "fddf71348546af523353bd43d34919c1" |
72 | SRC_URI[sha256sum] = "d334781a124ada6f38e63b545e2a3b8c2183049515a1abab6d513f109f1d717e" | 75 | SRC_URI[sha256sum] = "d334781a124ada6f38e63b545e2a3b8c2183049515a1abab6d513f109f1d717e" |
73 | 76 | ||
@@ -80,40 +83,47 @@ JAVA = "" | |||
80 | 83 | ||
81 | LTO = "--enable-lto" | 84 | LTO = "--enable-lto" |
82 | 85 | ||
83 | EXTRA_OECONF_BASE = " ${LTO} \ | 86 | EXTRA_OECONF_BASE = "\ |
84 | --enable-libssp \ | 87 | ${LTO} \ |
85 | --disable-bootstrap \ | 88 | --enable-libssp \ |
86 | --disable-libmudflap \ | 89 | --disable-bootstrap \ |
87 | --with-system-zlib \ | 90 | --disable-libmudflap \ |
88 | --with-linker-hash-style=${LINKER_HASH_STYLE} \ | 91 | --with-system-zlib \ |
89 | --enable-linker-build-id \ | 92 | --with-linker-hash-style=${LINKER_HASH_STYLE} \ |
90 | --with-ppl=no \ | 93 | --enable-linker-build-id \ |
91 | --with-cloog=no \ | 94 | --with-ppl=no \ |
92 | --enable-checking=release \ | 95 | --with-cloog=no \ |
93 | --enable-cheaders=c_global " | 96 | --enable-checking=release \ |
94 | 97 | --enable-cheaders=c_global \ | |
95 | EXTRA_OECONF_INITIAL = "--disable-libmudflap \ | 98 | " |
96 | --disable-libgomp \ | 99 | |
97 | --disable-libssp \ | 100 | EXTRA_OECONF_INITIAL = "\ |
98 | --disable-libquadmath \ | 101 | --disable-libmudflap \ |
99 | --with-system-zlib \ | 102 | --disable-libgomp \ |
100 | --disable-lto \ | 103 | --disable-libssp \ |
101 | --disable-plugin \ | 104 | --disable-libquadmath \ |
102 | --enable-decimal-float=no" | 105 | --with-system-zlib \ |
103 | 106 | --disable-lto \ | |
104 | EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap \ | 107 | --disable-plugin \ |
105 | --disable-libgomp \ | 108 | --enable-decimal-float=no \ |
106 | --disable-libquadmath \ | 109 | " |
107 | --with-system-zlib \ | 110 | |
108 | --disable-lto \ | 111 | EXTRA_OECONF_INTERMEDIATE = "\ |
109 | --disable-plugin \ | 112 | --disable-libmudflap \ |
110 | --disable-libssp" | 113 | --disable-libgomp \ |
114 | --disable-libquadmath \ | ||
115 | --with-system-zlib \ | ||
116 | --disable-lto \ | ||
117 | --disable-plugin \ | ||
118 | --disable-libssp \ | ||
119 | " | ||
111 | 120 | ||
112 | EXTRA_OECONF_append_libc-uclibc = " --disable-decimal-float " | 121 | EXTRA_OECONF_append_libc-uclibc = " --disable-decimal-float " |
113 | 122 | ||
114 | EXTRA_OECONF_PATHS = " \ | 123 | EXTRA_OECONF_PATHS = "\ |
115 | --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \ | 124 | --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \ |
116 | --with-sysroot=${STAGING_DIR_TARGET} \ | 125 | --with-sysroot=${STAGING_DIR_TARGET} \ |
117 | --with-build-sysroot=${STAGING_DIR_TARGET}" | 126 | --with-build-sysroot=${STAGING_DIR_TARGET} \ |
127 | " | ||
118 | 128 | ||
119 | 129 | ||