diff options
author | Sundeep KOKKONDA <sundeep.kokkonda@gmail.com> | 2022-11-14 10:06:32 +0530 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-07 15:06:37 +0000 |
commit | f86814103ac7bc50306f0b4a50c259e05b85bd87 (patch) | |
tree | 135caa728e845566055d77ff91cc6f08e9dee9d9 /meta/recipes-devtools/gcc/gcc-9.5.inc | |
parent | 4104d39151d44ed329b21dbed1cbabe2b93e3650 (diff) | |
download | poky-f86814103ac7bc50306f0b4a50c259e05b85bd87.tar.gz |
gcc: upgrade to v9.5
gcc stable version upgraded from v9.3 to v9.5
Below is the bug fix list for v9.5
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=9.5
(From OE-Core rev: 698c3323fd95592e815345acd9070e5089a1bd00)
Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-9.5.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-9.5.inc | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-9.5.inc b/meta/recipes-devtools/gcc/gcc-9.5.inc new file mode 100644 index 0000000000..6a0a892b10 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-9.5.inc | |||
@@ -0,0 +1,124 @@ | |||
1 | require gcc-common.inc | ||
2 | |||
3 | # Third digit in PV should be incremented after a minor release | ||
4 | |||
5 | PV = "9.5.0" | ||
6 | |||
7 | # BINV should be incremented to a revision after a minor gcc release | ||
8 | |||
9 | BINV = "9.5.0" | ||
10 | |||
11 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-9.5:${FILE_DIRNAME}/gcc-9.5/backport:" | ||
12 | |||
13 | DEPENDS =+ "mpfr gmp libmpc zlib flex-native" | ||
14 | NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native flex-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 | CVE_CHECK_WHITELIST += "CVE-2019-15847" | ||
27 | |||
28 | BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.xz" | ||
29 | #RELEASE ?= "5a5ca2d" | ||
30 | #BASEURI ?= "https://repo.or.cz/official-gcc.git/snapshot/${RELEASE}.tar.gz;downloadfilename=gcc-${RELEASE}.tar.gz" | ||
31 | SRC_URI = "\ | ||
32 | ${BASEURI} \ | ||
33 | file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ | ||
34 | file://0002-gcc-poison-system-directories.patch \ | ||
35 | file://0003-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch \ | ||
36 | file://0004-64-bit-multilib-hack.patch \ | ||
37 | file://0005-optional-libstdc.patch \ | ||
38 | file://0006-COLLECT_GCC_OPTIONS.patch \ | ||
39 | file://0007-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch \ | ||
40 | file://0008-fortran-cross-compile-hack.patch \ | ||
41 | file://0009-cpp-honor-sysroot.patch \ | ||
42 | file://0010-MIPS64-Default-to-N64-ABI.patch \ | ||
43 | file://0011-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch \ | ||
44 | file://0012-gcc-Fix-argument-list-too-long-error.patch \ | ||
45 | file://0013-Disable-sdt.patch \ | ||
46 | file://0014-libtool.patch \ | ||
47 | file://0015-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch \ | ||
48 | file://0016-Use-the-multilib-config-files-from-B-instead-of-usin.patch \ | ||
49 | file://0017-Avoid-using-libdir-from-.la-which-usually-points-to-.patch \ | ||
50 | file://0018-export-CPP.patch \ | ||
51 | file://0019-Ensure-target-gcc-headers-can-be-included.patch \ | ||
52 | file://0020-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch \ | ||
53 | file://0021-Don-t-search-host-directory-during-relink-if-inst_pr.patch \ | ||
54 | file://0022-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch \ | ||
55 | file://0023-aarch64-Add-support-for-musl-ldso.patch \ | ||
56 | file://0024-libcc1-fix-libcc1-s-install-path-and-rpath.patch \ | ||
57 | file://0025-handle-sysroot-support-for-nativesdk-gcc.patch \ | ||
58 | file://0026-Search-target-sysroot-gcc-version-specific-dirs-with.patch \ | ||
59 | file://0027-Fix-various-_FOR_BUILD-and-related-variables.patch \ | ||
60 | file://0028-nios2-Define-MUSL_DYNAMIC_LINKER.patch \ | ||
61 | file://0029-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch \ | ||
62 | file://0030-ldbl128-config.patch \ | ||
63 | file://0031-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch \ | ||
64 | file://0032-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ | ||
65 | file://0033-sync-gcc-stddef.h-with-musl.patch \ | ||
66 | file://0034-fix-segmentation-fault-in-precompiled-header-generat.patch \ | ||
67 | file://0035-Fix-for-testsuite-failure.patch \ | ||
68 | file://0036-Re-introduce-spe-commandline-options.patch \ | ||
69 | file://0037-CVE-2019-14250-Check-zero-value-in-simple_object_elf.patch \ | ||
70 | file://0038-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch \ | ||
71 | file://0039-process_alt_operands-Don-t-match-user-defined-regs-o.patch \ | ||
72 | " | ||
73 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" | ||
74 | SRC_URI[sha256sum] = "27769f64ef1d4cd5e2be8682c0c93f9887983e6cfd1a927ce5a0a2915a95cf8f" | ||
75 | # For dev release snapshotting | ||
76 | #S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/official-gcc-${RELEASE}" | ||
77 | #B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" | ||
78 | |||
79 | # Language Overrides | ||
80 | FORTRAN = "" | ||
81 | JAVA = "" | ||
82 | |||
83 | LTO = "--enable-lto" | ||
84 | SSP ?= "--disable-libssp" | ||
85 | SSP_mingw32 = "--enable-libssp" | ||
86 | |||
87 | EXTRA_OECONF_BASE = "\ | ||
88 | ${LTO} \ | ||
89 | ${SSP} \ | ||
90 | --enable-libitm \ | ||
91 | --disable-bootstrap \ | ||
92 | --disable-libmudflap \ | ||
93 | --with-system-zlib \ | ||
94 | ${@'--with-linker-hash-style=${LINKER_HASH_STYLE}' if '${LINKER_HASH_STYLE}' else ''} \ | ||
95 | --enable-linker-build-id \ | ||
96 | --with-ppl=no \ | ||
97 | --with-cloog=no \ | ||
98 | --enable-checking=release \ | ||
99 | --enable-cheaders=c_global \ | ||
100 | --without-isl \ | ||
101 | " | ||
102 | |||
103 | EXTRA_OECONF_INITIAL = "\ | ||
104 | --disable-libmudflap \ | ||
105 | --disable-libgomp \ | ||
106 | --disable-libitm \ | ||
107 | --disable-libquadmath \ | ||
108 | --with-system-zlib \ | ||
109 | --disable-lto \ | ||
110 | --disable-plugin \ | ||
111 | --enable-linker-build-id \ | ||
112 | --enable-decimal-float=no \ | ||
113 | --without-isl \ | ||
114 | --disable-libssp \ | ||
115 | " | ||
116 | |||
117 | EXTRA_OECONF_PATHS = "\ | ||
118 | --with-gxx-include-dir=/not/exist{target_includedir}/c++/${BINV} \ | ||
119 | --with-sysroot=/not/exist \ | ||
120 | --with-build-sysroot=${STAGING_DIR_TARGET} \ | ||
121 | " | ||
122 | |||
123 | # Is a binutils 2.26 issue, not gcc | ||
124 | CVE_CHECK_WHITELIST += "CVE-2021-37322" | ||