Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mingw64-gcc for openSUSE:Factory checked in at 2024-06-11 18:27:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mingw64-gcc (Old) and /work/SRC/openSUSE:Factory/.mingw64-gcc.new.19518 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mingw64-gcc" Tue Jun 11 18:27:52 2024 rev:15 rq:1179735 version:13.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/mingw64-gcc/mingw64-cross-gcc-bootstrap.changes 2023-11-10 12:37:10.497042259 +0100 +++ /work/SRC/openSUSE:Factory/.mingw64-gcc.new.19518/mingw64-cross-gcc-bootstrap.changes 2024-06-11 18:28:36.971385964 +0200 @@ -1,0 +2,8 @@ +Tue Jun 4 08:05:39 UTC 2024 - Ralf Habacker <ralf.habac...@freenet.de> + +- Fix not stripping some executables (boo#1225877) +- Add patch: + * gcc-13.2.0-build-with-fpie.patch +- Fix warning 'position-independent-executable-suggested' (boo#1225900) + +------------------------------------------------------------------- @@ -7 +15,6 @@ -Wed Jun 29 10:49:41 UTC 2022 - Jan Engelhardt <jeng...@inai.de> +Wed Aug 24 11:13:06 UTC 2022 - Jan Engelhardt <jeng...@inai.de> + +- Update to version 12.2.0 + +------------------------------------------------------------------- +Wed Jun 29 10:32:46 UTC 2022 - Jan Engelhardt <jeng...@inai.de> --- /work/SRC/openSUSE:Factory/mingw64-gcc/mingw64-cross-gcc.changes 2024-03-01 23:37:28.473514597 +0100 +++ /work/SRC/openSUSE:Factory/.mingw64-gcc.new.19518/mingw64-cross-gcc.changes 2024-06-11 18:28:37.215394868 +0200 @@ -2 +2,10 @@ -Fri Feb 23 09:36:12 UTC 2024 - pgaj...@suse.com +Tue Jun 4 08:05:39 UTC 2024 - Ralf Habacker <ralf.habac...@freenet.de> + +- Fix not stripping some executables (boo#1225877) +- Use %autosetup +- Fix warning 'position-independent-executable-suggested' (boo#1225900) +- Add patch: + * gcc-13.2.0-build-with-fpie.patch + +------------------------------------------------------------------- +Fri Feb 23 09:46:30 UTC 2024 - pgaj...@suse.com @@ -17 +26,6 @@ -Wed Jun 29 10:49:41 UTC 2022 - Jan Engelhardt <jeng...@inai.de> +Wed Aug 24 11:13:06 UTC 2022 - Jan Engelhardt <jeng...@inai.de> + +- Update to version 12.2.0 + +------------------------------------------------------------------- +Wed Jun 29 10:32:46 UTC 2022 - Jan Engelhardt <jeng...@inai.de> --- /work/SRC/openSUSE:Factory/mingw64-gcc/mingw64-gcc.changes 2024-03-01 23:37:28.517516189 +0100 +++ /work/SRC/openSUSE:Factory/.mingw64-gcc.new.19518/mingw64-gcc.changes 2024-06-11 18:28:37.639410342 +0200 @@ -2 +2,6 @@ -Fri Feb 23 09:36:12 UTC 2024 - pgaj...@suse.com +Tue Jun 4 08:05:39 UTC 2024 - Ralf Habacker <ralf.habac...@freenet.de> + +- Use %autosetup + +------------------------------------------------------------------- +Fri Feb 23 09:46:30 UTC 2024 - pgaj...@suse.com @@ -12 +17 @@ -Thu May 4 16:11:38 UTC 2023 - Dominique Leuenberger <dims...@opensuse.org> +Thu May 4 16:12:21 UTC 2023 - Dominique Leuenberger <dims...@opensuse.org> @@ -30 +35 @@ -Thu Aug 25 08:10:09 UTC 2022 - Jan Engelhardt <jeng...@inai.de> +Wed Aug 24 11:13:06 UTC 2022 - Jan Engelhardt <jeng...@inai.de> @@ -35 +40 @@ -Wed Jun 29 10:49:41 UTC 2022 - Jan Engelhardt <jeng...@inai.de> +Wed Jun 29 10:32:46 UTC 2022 - Jan Engelhardt <jeng...@inai.de> New: ---- gcc-13.2.0-build-with-fpie.patch BETA DEBUG BEGIN: New:/work/SRC/openSUSE:Factory/.mingw64-gcc.new.19518/mingw64-cross-gcc-bootstrap.changes-- Add patch: /work/SRC/openSUSE:Factory/.mingw64-gcc.new.19518/mingw64-cross-gcc-bootstrap.changes: * gcc-13.2.0-build-with-fpie.patch /work/SRC/openSUSE:Factory/.mingw64-gcc.new.19518/mingw64-cross-gcc-bootstrap.changes-- Fix warning 'position-independent-executable-suggested' (boo#1225900) -- /work/SRC/openSUSE:Factory/.mingw64-gcc.new.19518/mingw64-cross-gcc.changes-- Add patch: /work/SRC/openSUSE:Factory/.mingw64-gcc.new.19518/mingw64-cross-gcc.changes: * gcc-13.2.0-build-with-fpie.patch /work/SRC/openSUSE:Factory/.mingw64-gcc.new.19518/mingw64-cross-gcc.changes- BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mingw64-cross-gcc-bootstrap.spec ++++++ --- /var/tmp/diff_new_pack.cr7ffJ/_old 2024-06-11 18:28:39.299470924 +0200 +++ /var/tmp/diff_new_pack.cr7ffJ/_new 2024-06-11 18:28:39.303471070 +0200 @@ -1,7 +1,7 @@ # # spec file for package mingw64-cross-gcc-bootstrap # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,6 @@ %define cpplibdir %{_prefix}/lib %endif -%define __os_install_post %{_prefix}/lib/rpm/brp-compress %{nil} Name: mingw64-cross-gcc-bootstrap Version: 13.2.0 Release: 0 @@ -31,7 +30,8 @@ Group: Development/Languages/C and C++ URL: http://www.mingw.org/ Source: ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz -Source10: mingw64-gcc-rpmlintrc +Source100: mingw64-gcc-rpmlintrc +Patch0: gcc-13.2.0-build-with-fpie.patch BuildRequires: gcc-c++ BuildRequires: gmp-devel >= 4.2.0 BuildRequires: mingw64-cross-binutils @@ -63,17 +63,16 @@ MinGW Windows cross-C Preprocessor %prep -%setup -q -c +%autosetup -p1 -n gcc-%{version} %build -cd gcc-%{version} - mkdir -p build cd build languages="c" -CC="gcc %{optflags}" \ +CC="gcc %{optflags} -fPIC -fPIE -pie" \ +CXX="g++ %{optflags} -fPIC -fPIE -pie" \ ../configure \ --prefix=%{_prefix} \ --bindir=%{_bindir} \ @@ -88,6 +87,7 @@ --with-gnu-as --with-gnu-ld --verbose \ --without-newlib \ --disable-multilib \ + --enable-default-pie=no \ --enable-shared \ --disable-plugin \ --with-system-zlib \ @@ -103,7 +103,6 @@ make %{?_smp_mflags} all-gcc || make all-gcc %install -cd gcc-%{version} cd build make DESTDIR=%{buildroot} install-gcc ++++++ mingw64-cross-gcc.spec ++++++ --- /var/tmp/diff_new_pack.cr7ffJ/_old 2024-06-11 18:28:39.339472384 +0200 +++ /var/tmp/diff_new_pack.cr7ffJ/_new 2024-06-11 18:28:39.339472384 +0200 @@ -1,7 +1,7 @@ # # spec file for package mingw64-cross-gcc # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,6 @@ %define cpplibdir %{_prefix}/lib %endif -%define __os_install_post %{_prefix}/lib/rpm/brp-compress %{nil} %define include_ada 0 Name: mingw64-cross-gcc Version: 13.2.0 @@ -32,8 +31,9 @@ Group: Development/Languages/C and C++ URL: http://www.mingw.org/ Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz -Source10: mingw64-gcc-rpmlintrc -Patch1: gcc-make-xmmintrin-header-cplusplus-compatible.patch +Source100: mingw64-gcc-rpmlintrc +Patch0: gcc-make-xmmintrin-header-cplusplus-compatible.patch +Patch1: gcc-13.2.0-build-with-fpie.patch BuildRequires: gcc-c++ BuildRequires: gmp-devel >= 4.2.0 BuildRequires: mingw64-cross-binutils @@ -106,14 +106,9 @@ %endif %prep -%setup -q -c -pushd gcc-%{version} -%patch -P 1 -popd +%autosetup -p1 -n gcc-%{version} %build -cd gcc-%{version} - mkdir -p build cd build @@ -126,7 +121,8 @@ ada_options= %endif -CC="gcc %{optflags}" \ +CC="gcc %{optflags} -fPIC -fPIE -pie" \ +CXX="g++ %{optflags} -fPIC -fPIE -pie" \ CFLAGS_FOR_TARGET="-DGC_NOT_DLL %{_mingw64_cflags} -Wno-error=format -Wno-error=format-extra-args" \ CXXFLAGS_FOR_TARGET="-DGC_NOT_DLL %{_mingw64_cflags} -Wno-error=format -Wno-error=format-extra-args" \ CPPFLAGS_FOR_TARGET="-DGC_NOT_DLL %{_mingw64_cflags}" \ @@ -144,7 +140,9 @@ --with-gnu-as --with-gnu-ld --verbose \ --without-newlib \ --disable-multilib \ + --enable-default-pie=no \ --enable-shared \ + --enable-default-pie=no \ --disable-plugin \ --with-system-zlib \ --disable-nls --without-included-gettext \ @@ -166,7 +164,6 @@ make %{?_smp_mflags} all || make all %install -cd gcc-%{version} cd build %make_install ++++++ mingw64-gcc.spec ++++++ --- /var/tmp/diff_new_pack.cr7ffJ/_old 2024-06-11 18:28:39.371473552 +0200 +++ /var/tmp/diff_new_pack.cr7ffJ/_new 2024-06-11 18:28:39.375473697 +0200 @@ -1,7 +1,7 @@ # # spec file for package mingw64-gcc # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,9 +26,9 @@ Group: Development/Languages/C and C++ URL: http://www.mingw.org/ Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz -Source10: mingw64-gcc-rpmlintrc -Patch1: gcc-make-xmmintrin-header-cplusplus-compatible.patch -Patch2: gcc-12.1.0-fix-install-gdb-support-files.patch +Source100: mingw64-gcc-rpmlintrc +Patch0: gcc-make-xmmintrin-header-cplusplus-compatible.patch +Patch1: gcc-12.1.0-fix-install-gdb-support-files.patch BuildRequires: gcc-c++ BuildRequires: gmp-devel BuildRequires: mingw64-cross-binutils @@ -61,6 +61,7 @@ BuildRequires: gcc-ada BuildRequires: mingw64-cross-gcc-ada >= %{version} %endif +BuildArch: noarch # bugzilla.opensuse.org/1184052 #!BuildIgnore: mingw64(libstdc++-6.dll) #!BuildIgnore: mingw64(libgcc_s_sjlj-1.dll) @@ -206,15 +207,9 @@ %_mingw64_debug_package %prep -%setup -q -c -pushd gcc-%{version} -%patch -P 1 -%patch -P 2 -p1 -popd +%autosetup -p1 -n gcc-%{version} %build -cd gcc-%{version} - mkdir -p build cd build @@ -269,7 +264,6 @@ make %{?_smp_mflags} all || make all %install -cd gcc-%{version} cd build %make_install ++++++ gcc-13.2.0-build-with-fpie.patch ++++++ diff -ur gcc-13.2.0.orig/gcc/Makefile.in gcc-13.2.0/gcc/Makefile.in --- gcc-13.2.0.orig/gcc/Makefile.in 2023-07-27 10:13:03.000000000 +0200 +++ gcc-13.2.0/gcc/Makefile.in 2024-06-05 08:48:16.609057439 +0200 @@ -275,10 +275,10 @@ DO_LINK_MUTEX = @DO_LINK_MUTEX@ # We don't want to compile the compilers with -fPIE, it make PCH fail. -COMPILER += $(NO_PIE_CFLAGS) +#COMPILER += $(NO_PIE_CFLAGS) # Link with -no-pie since we compile the compiler with -fno-PIE. -LINKER += $(NO_PIE_FLAG) +#LINKER += $(NO_PIE_FLAG) # Like LINKER, but use a mutex for serializing front end links. ifeq (@DO_LINK_MUTEX@,true) ++++++ gcc-make-xmmintrin-header-cplusplus-compatible.patch ++++++ --- /var/tmp/diff_new_pack.cr7ffJ/_old 2024-06-11 18:28:39.439476034 +0200 +++ /var/tmp/diff_new_pack.cr7ffJ/_new 2024-06-11 18:28:39.443476180 +0200 @@ -1,5 +1,5 @@ ---- gcc/config/i386/xmmintrin.h 2015-01-05 13:33:28.000000000 +0100 -+++ gcc/config/i386/xmmintrin.h 2015-04-23 21:31:22.155138087 +0200 +--- a/gcc/config/i386/xmmintrin.h 2015-01-05 13:33:28.000000000 +0100 ++++ b/gcc/config/i386/xmmintrin.h 2015-04-23 21:31:22.155138087 +0200 @@ -64,6 +64,10 @@ #define __DISABLE_SSE__ #endif /* __SSE__ */