Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package mingw32-gcc for openSUSE:Factory
checked in at 2024-06-11 18:27:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mingw32-gcc (Old)
and /work/SRC/openSUSE:Factory/.mingw32-gcc.new.19518 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mingw32-gcc"
Tue Jun 11 18:27:49 2024 rev:15 rq:1179736 version:13.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/mingw32-gcc/mingw32-cross-gcc-bootstrap.changes
2023-11-10 12:32:51.967473831 +0100
+++
/work/SRC/openSUSE:Factory/.mingw32-gcc.new.19518/mingw32-cross-gcc-bootstrap.changes
2024-06-11 18:28:30.635154730 +0200
@@ -1,0 +2,8 @@
+Tue Jun 4 08:05:39 UTC 2024 - Ralf Habacker <[email protected]>
+
+- 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)
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/mingw32-gcc/mingw32-cross-gcc.changes
2024-03-01 23:37:20.465225022 +0100
+++ /work/SRC/openSUSE:Factory/.mingw32-gcc.new.19518/mingw32-cross-gcc.changes
2024-06-11 18:28:30.967166846 +0200
@@ -1,0 +2,9 @@
+Tue Jun 4 08:05:39 UTC 2024 - Ralf Habacker <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/mingw32-gcc/mingw32-gcc.changes 2024-03-01
23:37:20.481225600 +0100
+++ /work/SRC/openSUSE:Factory/.mingw32-gcc.new.19518/mingw32-gcc.changes
2024-06-11 18:28:31.443184218 +0200
@@ -1,0 +2,5 @@
+Tue Jun 4 08:05:39 UTC 2024 - Ralf Habacker <[email protected]>
+
+- Use %autosetup
+
+-------------------------------------------------------------------
New:
----
gcc-13.2.0-build-with-fpie.patch
BETA DEBUG BEGIN:
New:/work/SRC/openSUSE:Factory/.mingw32-gcc.new.19518/mingw32-cross-gcc-bootstrap.changes--
Add patch:
/work/SRC/openSUSE:Factory/.mingw32-gcc.new.19518/mingw32-cross-gcc-bootstrap.changes:
* gcc-13.2.0-build-with-fpie.patch
/work/SRC/openSUSE:Factory/.mingw32-gcc.new.19518/mingw32-cross-gcc-bootstrap.changes--
Fix warning 'position-independent-executable-suggested' (boo#1225900)
--
/work/SRC/openSUSE:Factory/.mingw32-gcc.new.19518/mingw32-cross-gcc.changes--
Add patch:
/work/SRC/openSUSE:Factory/.mingw32-gcc.new.19518/mingw32-cross-gcc.changes: *
gcc-13.2.0-build-with-fpie.patch
/work/SRC/openSUSE:Factory/.mingw32-gcc.new.19518/mingw32-cross-gcc.changes-
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mingw32-cross-gcc-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.O2lzIE/_old 2024-06-11 18:28:34.939311805 +0200
+++ /var/tmp/diff_new_pack.O2lzIE/_new 2024-06-11 18:28:34.959312535 +0200
@@ -1,7 +1,7 @@
#
# spec file for package mingw32-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: mingw32-cross-gcc-bootstrap
Version: 13.2.0
Release: 0
@@ -32,6 +31,7 @@
URL: http://www.mingw.org/
Source: ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz
Source100: mingw32-gcc-rpmlintrc
+Patch0: gcc-13.2.0-build-with-fpie.patch
BuildRequires: gcc-c++
BuildRequires: gmp-devel >= 4.2.0
BuildRequires: mingw32-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
++++++ mingw32-cross-gcc.spec ++++++
--- /var/tmp/diff_new_pack.O2lzIE/_old 2024-06-11 18:28:35.367327425 +0200
+++ /var/tmp/diff_new_pack.O2lzIE/_new 2024-06-11 18:28:35.379327863 +0200
@@ -1,7 +1,7 @@
#
# spec file for package mingw32-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: mingw32-cross-gcc
Version: 13.2.0
@@ -33,7 +32,8 @@
URL: http://www.mingw.org/
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz
Source100: mingw32-gcc-rpmlintrc
-Patch1: gcc-make-xmmintrin-header-cplusplus-compatible.patch
+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: mingw32-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 %{_mingw32_cflags} -Wno-error=format
-Wno-error=format-extra-args" \
CXXFLAGS_FOR_TARGET="-DGC_NOT_DLL %{_mingw32_cflags} -Wno-error=format
-Wno-error=format-extra-args" \
CPPFLAGS_FOR_TARGET="-DGC_NOT_DLL %{_mingw32_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
++++++ mingw32-gcc.spec ++++++
--- /var/tmp/diff_new_pack.O2lzIE/_old 2024-06-11 18:28:35.727340563 +0200
+++ /var/tmp/diff_new_pack.O2lzIE/_new 2024-06-11 18:28:35.739341002 +0200
@@ -1,7 +1,7 @@
#
# spec file for package mingw32-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
@@ -27,8 +27,8 @@
URL: http://www.mingw.org/
Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz
Source100: mingw32-gcc-rpmlintrc
-Patch1: gcc-make-xmmintrin-header-cplusplus-compatible.patch
-Patch2: gcc-12.1.0-fix-install-gdb-support-files.patch
+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: mingw32-cross-binutils
@@ -207,15 +207,9 @@
%_mingw32_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
@@ -270,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.O2lzIE/_old 2024-06-11 18:28:36.103354286 +0200
+++ /var/tmp/diff_new_pack.O2lzIE/_new 2024-06-11 18:28:36.119354869 +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__ */