commit gcc12 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gcc12 for openSUSE:Factory checked in at 2022-10-23 16:32:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gcc12 (Old) and /work/SRC/openSUSE:Factory/.gcc12.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gcc12" Sun Oct 23 16:32:40 2022 rev:8 rq:1030343 version:12.2.1+git537 Changes: -------- --- /work/SRC/openSUSE:Factory/gcc12/gcc12.changes 2022-09-02 21:56:09.648240993 +0200 +++ /work/SRC/openSUSE:Factory/.gcc12.new.2275/gcc12.changes 2022-10-23 16:32:48.343212480 +0200 @@ -1,0 +2,18 @@ +Thu Oct 20 08:20:31 UTC 2022 - Richard Biener <rguenther@suse.com> + +- Update to gcc-12 branch head, 0aaef83351473e8f4eb774f8f99, git537 + +------------------------------------------------------------------- +Thu Oct 13 09:59:52 UTC 2022 - Richard Biener <rguenther@suse.com> + +- Update embedded newlib to version 4.2.0 + * includes newlib-4.1.0-aligned_alloc.patch + +------------------------------------------------------------------- +Mon Sep 26 11:06:06 UTC 2022 - Dirk M��ller <dmueller@suse.com> + +- add gcc12-riscv-inline-atomics.patch, + gcc12-riscv-pthread.patch: handle subword size inline atomics + (needed by several openSUSE packages) + +------------------------------------------------------------------- Old: ---- gcc-12.2.1+git416.tar.xz newlib-4.1.0-aligned_alloc.patch newlib-4.1.0.tar.xz New: ---- gcc-12.2.1+git537.tar.xz gcc12-riscv-inline-atomics.patch gcc12-riscv-pthread.patch newlib-4.2.0.20211231.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cross-aarch64-gcc12-bootstrap.spec ++++++ --- /var/tmp/diff_new_pack.Z8Abfb/_old 2022-10-23 16:32:49.583215526 +0200 +++ /var/tmp/diff_new_pack.Z8Abfb/_new 2022-10-23 16:32:49.587215536 +0200 @@ -101,7 +101,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 12.2.1+git416 +Version: 12.2.1+git537 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -115,7 +115,7 @@ Source2: gcc12-rpmlintrc Source3: gcc12-testresults-rpmlintrc Source4: README.First-for.SuSE.packagers -Source5: newlib-4.1.0.tar.xz +Source5: newlib-4.2.0.20211231.tar.xz Patch2: gcc-add-defaultsspec.diff Patch5: tls-no-direct.diff Patch6: gcc43-no-unwind-tables.diff @@ -128,13 +128,15 @@ Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc12-fifo-jobserver-support.patch +# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html +Patch22: gcc12-riscv-inline-atomics.patch +# remove libatomics linking +Patch23: gcc12-riscv-pthread.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian Patch60: gcc44-textdomain.patch Patch61: gcc44-rename-info-files.patch -# Patches for embedded newlib -Patch100: newlib-4.1.0-aligned_alloc.patch # Define the canonical target and host architecture # %%gcc_target_arch is supposed to be the full target triple @@ -307,10 +309,7 @@ %prep %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %setup -q -n gcc-%{version} -a 5 -ln -s newlib-4.1.0/newlib . -cd newlib -%patch100 -p1 -cd .. +ln -s newlib-4.2.0.20211231/newlib . %else %setup -q -n gcc-%{version} %endif @@ -326,6 +325,8 @@ %patch16 %patch17 -p1 %patch21 -p1 +%patch22 -p1 +%patch23 -p1 # These patches are needed only for llvm11 %if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550 %patch18 -p1 cross-aarch64-gcc12.spec: same change cross-amdgcn-gcc12.spec: same change cross-arm-gcc12.spec: same change cross-arm-none-gcc12-bootstrap.spec: same change cross-arm-none-gcc12.spec: same change cross-avr-gcc12-bootstrap.spec: same change cross-avr-gcc12.spec: same change cross-epiphany-gcc12-bootstrap.spec: same change cross-epiphany-gcc12.spec: same change cross-hppa-gcc12-bootstrap.spec: same change cross-hppa-gcc12.spec: same change cross-m68k-gcc12.spec: same change cross-mips-gcc12.spec: same change cross-nvptx-gcc12.spec: same change cross-ppc64-gcc12.spec: same change cross-ppc64le-gcc12.spec: same change cross-pru-gcc12-bootstrap.spec: same change cross-pru-gcc12.spec: same change cross-riscv64-elf-gcc12-bootstrap.spec: same change cross-riscv64-elf-gcc12.spec: same change cross-riscv64-gcc12-bootstrap.spec: same change cross-riscv64-gcc12.spec: same change cross-rx-gcc12-bootstrap.spec: same change cross-rx-gcc12.spec: same change cross-s390x-gcc12.spec: same change cross-sparc-gcc12.spec: same change cross-sparc64-gcc12.spec: same change cross-x86_64-gcc12.spec: same change ++++++ gcc12-testresults.spec ++++++ --- /var/tmp/diff_new_pack.Z8Abfb/_old 2022-10-23 16:32:50.259217187 +0200 +++ /var/tmp/diff_new_pack.Z8Abfb/_new 2022-10-23 16:32:50.259217187 +0200 @@ -207,7 +207,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 12.2.1+git416 +Version: 12.2.1+git537 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -376,7 +376,7 @@ Source2: gcc12-rpmlintrc Source3: gcc12-testresults-rpmlintrc Source4: README.First-for.SuSE.packagers -Source5: newlib-4.1.0.tar.xz +Source5: newlib-4.2.0.20211231.tar.xz Patch2: gcc-add-defaultsspec.diff Patch5: tls-no-direct.diff Patch6: gcc43-no-unwind-tables.diff @@ -389,13 +389,15 @@ Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc12-fifo-jobserver-support.patch +# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html +Patch22: gcc12-riscv-inline-atomics.patch +# remove libatomics linking +Patch23: gcc12-riscv-pthread.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian Patch60: gcc44-textdomain.patch Patch61: gcc44-rename-info-files.patch -# Patches for embedded newlib -Patch100: newlib-4.1.0-aligned_alloc.patch Summary: Testsuite results License: SUSE-Public-Domain @@ -505,10 +507,7 @@ %prep %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %setup -q -n gcc-%{version} -a 5 -ln -s newlib-4.1.0/newlib . -cd newlib -%patch100 -p1 -cd .. +ln -s newlib-4.2.0.20211231/newlib . %else %setup -q -n gcc-%{version} %endif @@ -524,6 +523,8 @@ %patch16 %patch17 -p1 %patch21 -p1 +%patch22 -p1 +%patch23 -p1 # These patches are needed only for llvm11 %if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550 %patch18 -p1 ++++++ gcc12.spec ++++++ --- /var/tmp/diff_new_pack.Z8Abfb/_old 2022-10-23 16:32:50.279217236 +0200 +++ /var/tmp/diff_new_pack.Z8Abfb/_new 2022-10-23 16:32:50.287217255 +0200 @@ -186,7 +186,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 12.2.1+git416 +Version: 12.2.1+git537 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -355,7 +355,7 @@ Source2: gcc12-rpmlintrc Source3: gcc12-testresults-rpmlintrc Source4: README.First-for.SuSE.packagers -Source5: newlib-4.1.0.tar.xz +Source5: newlib-4.2.0.20211231.tar.xz Patch2: gcc-add-defaultsspec.diff Patch5: tls-no-direct.diff Patch6: gcc43-no-unwind-tables.diff @@ -368,13 +368,15 @@ Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch21: gcc12-fifo-jobserver-support.patch +# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html +Patch22: gcc12-riscv-inline-atomics.patch +# remove libatomics linking +Patch23: gcc12-riscv-pthread.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian Patch60: gcc44-textdomain.patch Patch61: gcc44-rename-info-files.patch -# Patches for embedded newlib -Patch100: newlib-4.1.0-aligned_alloc.patch License: GPL-3.0-or-later Summary: The GNU C Compiler and Support Files @@ -2005,10 +2007,7 @@ %prep %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %setup -q -n gcc-%{version} -a 5 -ln -s newlib-4.1.0/newlib . -cd newlib -%patch100 -p1 -cd .. +ln -s newlib-4.2.0.20211231/newlib . %else %setup -q -n gcc-%{version} %endif @@ -2024,6 +2023,8 @@ %patch16 %patch17 -p1 %patch21 -p1 +%patch22 -p1 +%patch23 -p1 # These patches are needed only for llvm11 %if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550 %patch18 -p1 ++++++ gcc-12.2.1+git416.tar.xz -> gcc-12.2.1+git537.tar.xz ++++++ /work/SRC/openSUSE:Factory/gcc12/gcc-12.2.1+git416.tar.xz /work/SRC/openSUSE:Factory/.gcc12.new.2275/gcc-12.2.1+git537.tar.xz differ: char 15, line 1 ++++++ gcc.spec.in ++++++ --- /var/tmp/diff_new_pack.Z8Abfb/_old 2022-10-23 16:32:50.471217708 +0200 +++ /var/tmp/diff_new_pack.Z8Abfb/_new 2022-10-23 16:32:50.471217708 +0200 @@ -190,7 +190,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 12.2.1+git416 +Version: 12.2.1+git537 Release: 1 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -360,7 +360,7 @@ Source2: gcc12-rpmlintrc Source3: gcc12-testresults-rpmlintrc Source4: README.First-for.SuSE.packagers -Source5: newlib-4.1.0.tar.xz +Source5: newlib-4.2.0.20211231.tar.xz Patch2: gcc-add-defaultsspec.diff Patch5: tls-no-direct.diff Patch6: gcc43-no-unwind-tables.diff @@ -372,14 +372,16 @@ Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc12-fifo-jobserver-support.patch +Patch21: gcc12-fifo-jobserver-support.patch +# taken from https://gcc.gnu.org/pipermail/gcc-patches/2022-April/593378.html +Patch22: gcc12-riscv-inline-atomics.patch +# remove libatomics linking +Patch23: gcc12-riscv-pthread.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian Patch60: gcc44-textdomain.patch Patch61: gcc44-rename-info-files.patch -# Patches for embedded newlib -Patch100: newlib-4.1.0-aligned_alloc.patch # GCC-TESTSUITE-DELETE-BEGIN # SRC-COMMON-END @@ -1192,10 +1194,7 @@ %prep %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %setup -q -n gcc-%{version} -a 5 -ln -s newlib-4.1.0/newlib . -cd newlib -%patch100 -p1 -cd .. +ln -s newlib-4.2.0.20211231/newlib . %else %setup -q -n gcc-%{version} %endif @@ -1211,6 +1210,8 @@ %patch16 %patch17 -p1 %patch21 -p1 +%patch22 -p1 +%patch23 -p1 # These patches are needed only for llvm11 %if "%{TARGET_ARCH}" == "amdgcn" && %{suse_version} < 1550 %patch18 -p1 @@ -1489,7 +1490,7 @@ --disable-sjlj-exceptions \ %endif %if "%{TARGET_ARCH}" == "armv7hl" - --with-cpu=generic-armv7-a \ + --with-cpu=generic-armv7-a \ --with-float=hard \ --with-abi=aapcs-linux \ --with-fpu=vfpv3-d16 \ ++++++ gcc12-riscv-inline-atomics.patch ++++++ ++++ 2076 lines (skipped) ++++++ gcc12-riscv-pthread.patch ++++++ Index: gcc-12.0.1+git192423/gcc/config/riscv/linux.h =================================================================== --- gcc-12.0.1+git192423.orig/gcc/config/riscv/linux.h +++ gcc-12.0.1+git192423/gcc/config/riscv/linux.h @@ -35,16 +35,6 @@ along with GCC; see the file COPYING3. #undef MUSL_DYNAMIC_LINKER #define MUSL_DYNAMIC_LINKER "/lib/ld-musl-riscv" XLEN_SPEC MUSL_ABI_SUFFIX ".so.1" -/* Because RISC-V only has word-sized atomics, it requries libatomic where - others do not. So link libatomic by default, as needed. */ -#undef LIB_SPEC -#ifdef LD_AS_NEEDED_OPTION -#define LIB_SPEC GNU_USER_TARGET_LIB_SPEC \ - " %{pthread:" LD_AS_NEEDED_OPTION " -latomic " LD_NO_AS_NEEDED_OPTION "}" -#else -#define LIB_SPEC GNU_USER_TARGET_LIB_SPEC " -latomic " -#endif - #define ICACHE_FLUSH_FUNC "__riscv_flush_icache" #define CPP_SPEC "%{pthread:-D_REENTRANT}" ++++++ newlib-4.1.0.tar.xz -> newlib-4.2.0.20211231.tar.xz ++++++ ++++ 345368 lines of diff (skipped)
participants (1)
-
Source-Sync