From db6f703f52e33a5791c5c2728fa1e3a330a08e98 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sun, 8 May 2022 16:16:08 +1200 Subject: gcc: Add 12.1 Add GCC 12.1 https://gcc.gnu.org/gcc-12/ The following patches from GCC 11.3.0 are no longer needed: - 0005-arc-Update-ZOL-pattern.patch - 0006-arc-Update-u-maddhisi4-patterns.patch - 0007-arc-Fix-maddhisi-patterns.patch - 0008-Darwin-aarch64-Initial-support-for-the-self-host-dri.patch - 0009-libstdc-Check-for-TLS-support-on-mingw-cross-compile.patch One new patch is needed to avoid issues building sh-unknown-elf: - 0006-sh-Avoid-mb-m1-multilib-combination.patch It is also necessary to build all-build-libcpp. This target exists as far back as GCC 6 so has been done unconditionally. Signed-off-by: Chris Packham --- scripts/build/cc/gcc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build') diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index e32fcd0f..a8fd42b9 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -621,10 +621,10 @@ do_gcc_core_backend() { CT_DoExecLog CFG make ${CT_JOBSFLAGS} configure-libiberty CT_DoExecLog ALL make ${CT_JOBSFLAGS} -C libiberty libiberty.a CT_DoExecLog CFG make ${CT_JOBSFLAGS} configure-gcc configure-libcpp - CT_DoExecLog ALL make ${CT_JOBSFLAGS} all-libcpp + CT_DoExecLog ALL make ${CT_JOBSFLAGS} all-libcpp all-build-libcpp else CT_DoExecLog CFG make ${CT_JOBSFLAGS} configure-gcc configure-libcpp configure-build-libiberty - CT_DoExecLog ALL make ${CT_JOBSFLAGS} all-libcpp all-build-libiberty + CT_DoExecLog ALL make ${CT_JOBSFLAGS} all-libcpp all-build-libcpp all-build-libiberty fi # HACK: gcc-4.2 uses libdecnumber to build libgcc.mk, so build it here. if [ -d "${CT_SRC_DIR}/gcc/libdecnumber" ]; then -- cgit v1.2.3