Hello community, here is the log from the commit of package gcc7 for openSUSE:Factory checked in at 2018-04-16 12:42:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gcc7 (Old) and /work/SRC/openSUSE:Factory/.gcc7.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gcc7" Mon Apr 16 12:42:25 2018 rev:16 rq:595563 version:7.3.1+r258812 Changes: -------- --- /work/SRC/openSUSE:Factory/gcc7/cross-aarch64-gcc7.changes 2018-04-10 09:49:05.599589632 +0200 +++ /work/SRC/openSUSE:Factory/.gcc7.new/cross-aarch64-gcc7.changes 2018-04-16 12:42:34.907099282 +0200 @@ -1,0 +2,19 @@ +Wed Apr 11 07:35:40 UTC 2018 - [email protected] + +- Update gcc7-bnc1087550.diff with fix from upstream that supports + both ABIs for ios_base::failure. [bnc#1087550] + +------------------------------------------------------------------- +Mon Apr 9 13:51:55 UTC 2018 - [email protected] + +- Set SUSE_ASNEEDED to zero during %install so libasan keeps its + NEEDED entry for libstdc++.so. [GCC#84428] + +------------------------------------------------------------------- +Fri Apr 6 09:05:43 UTC 2018 - [email protected] + +- Enable --enable-fix-cortex-a53-835769 for aarch64. +- Add gcc7-bnc1087550.diff to revert the ios_base::failure ABI + back to compatible behavior with the default ABI. [bnc#1087550] + +------------------------------------------------------------------- cross-arm-gcc7.changes: same change cross-arm-none-gcc7-bootstrap.changes: same change cross-arm-none-gcc7.changes: same change cross-avr-gcc7-bootstrap.changes: same change cross-avr-gcc7.changes: same change cross-epiphany-gcc7-bootstrap.changes: same change cross-epiphany-gcc7.changes: same change cross-hppa-gcc7.changes: same change cross-i386-gcc7.changes: same change cross-m68k-gcc7.changes: same change cross-mips-gcc7.changes: same change cross-nvptx-gcc7.changes: same change cross-ppc64-gcc7.changes: same change cross-ppc64le-gcc7.changes: same change cross-rx-gcc7-bootstrap.changes: same change cross-rx-gcc7.changes: same change cross-s390x-gcc7.changes: same change cross-sparc-gcc7.changes: same change cross-sparc64-gcc7.changes: same change cross-x86_64-gcc7.changes: same change gcc7-testresults.changes: same change gcc7.changes: same change New: ---- gcc7-bnc1087550.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cross-aarch64-gcc7.spec ++++++ --- /var/tmp/diff_new_pack.gBoioB/_old 2018-04-16 12:42:41.910844418 +0200 +++ /var/tmp/diff_new_pack.gBoioB/_new 2018-04-16 12:42:41.914844272 +0200 @@ -192,6 +192,7 @@ Patch12: gcc7-stack-probe.diff Patch14: gcc7-pr82248.diff Patch15: gcc7-avoid-fixinc-error.diff +Patch16: gcc7-bnc1087550.diff # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -268,6 +269,7 @@ %patch12 %patch14 %patch15 +%patch16 %patch51 %patch60 %patch61 @@ -484,6 +486,7 @@ --disable-sjlj-exceptions \ %endif %if "%{TARGET_ARCH}" == "aarch64" + --enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le" cross-arm-gcc7.spec: same change cross-arm-none-gcc7-bootstrap.spec: same change cross-arm-none-gcc7.spec: same change cross-avr-gcc7-bootstrap.spec: same change cross-avr-gcc7.spec: same change cross-epiphany-gcc7-bootstrap.spec: same change cross-epiphany-gcc7.spec: same change cross-hppa-gcc7.spec: same change cross-i386-gcc7.spec: same change cross-m68k-gcc7.spec: same change cross-mips-gcc7.spec: same change cross-nvptx-gcc7.spec: same change cross-ppc64-gcc7.spec: same change cross-ppc64le-gcc7.spec: same change cross-rx-gcc7-bootstrap.spec: same change cross-rx-gcc7.spec: same change cross-s390x-gcc7.spec: same change cross-sparc-gcc7.spec: same change cross-sparc64-gcc7.spec: same change cross-x86_64-gcc7.spec: same change ++++++ gcc7-testresults.spec ++++++ --- /var/tmp/diff_new_pack.gBoioB/_old 2018-04-16 12:42:42.382827242 +0200 +++ /var/tmp/diff_new_pack.gBoioB/_new 2018-04-16 12:42:42.386827097 +0200 @@ -317,6 +317,7 @@ Patch12: gcc7-stack-probe.diff Patch14: gcc7-pr82248.diff Patch15: gcc7-avoid-fixinc-error.diff +Patch16: gcc7-bnc1087550.diff # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -445,6 +446,7 @@ %patch12 %patch14 %patch15 +%patch16 %patch51 %patch60 %patch61 @@ -661,6 +663,7 @@ --disable-sjlj-exceptions \ %endif %if "%{TARGET_ARCH}" == "aarch64" + --enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le" @@ -756,6 +759,9 @@ %endif %install +# Make sure libtool re-linking libasan at install time doesn't drop the +# libstdc++ reference to make asan of C++ modules in python work +export SUSE_ASNEEDED=0 export NO_BRP_CHECK_BYTECODE_VERSION=true cd obj-%{GCCDIST} %if 0%{?run_tests:1} ++++++ gcc7.spec ++++++ --- /var/tmp/diff_new_pack.gBoioB/_old 2018-04-16 12:42:42.406826369 +0200 +++ /var/tmp/diff_new_pack.gBoioB/_new 2018-04-16 12:42:42.410826224 +0200 @@ -299,6 +299,7 @@ Patch12: gcc7-stack-probe.diff Patch14: gcc7-pr82248.diff Patch15: gcc7-avoid-fixinc-error.diff +Patch16: gcc7-bnc1087550.diff # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -1749,6 +1750,7 @@ %patch12 %patch14 %patch15 +%patch16 %patch51 %patch60 %patch61 @@ -1965,6 +1967,7 @@ --disable-sjlj-exceptions \ %endif %if "%{TARGET_ARCH}" == "aarch64" + --enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le" @@ -2060,6 +2063,9 @@ %endif %install +# Make sure libtool re-linking libasan at install time doesn't drop the +# libstdc++ reference to make asan of C++ modules in python work +export SUSE_ASNEEDED=0 export NO_BRP_CHECK_BYTECODE_VERSION=true cd obj-%{GCCDIST} # Work around tail/head -1 changes @@ -2067,6 +2073,14 @@ export LIBRARY_PATH=$RPM_BUILD_ROOT%{libsubdir}:$RPM_BUILD_ROOT%{mainlibdirbi} make install DESTDIR=$RPM_BUILD_ROOT +# verify libasan really ended up with libstdc++ as NEEDED. +%ifarch %asan_arch + readelf -d $RPM_BUILD_ROOT%{versmainlibdir}/libasan.so.%{libasan_sover}* | grep 'NEEDED.*libstdc++' || exit 1 +%if %{biarch} + readelf -d $RPM_BUILD_ROOT%{versmainlibdirbi}/libasan.so.%{libasan_sover}* | grep 'NEEDED.*libstdc++' || exit 1 +%endif +%endif + # Remove some useless .la files for lib in libobjc libgfortran libquadmath libcaf_single \ libgomp libgomp-plugin-hsa libstdc++ libsupc++ libgo \ ++++++ gcc.spec.in ++++++ --- /var/tmp/diff_new_pack.gBoioB/_old 2018-04-16 12:42:42.562820693 +0200 +++ /var/tmp/diff_new_pack.gBoioB/_new 2018-04-16 12:42:42.562820693 +0200 @@ -304,6 +304,7 @@ Patch12: gcc7-stack-probe.diff Patch14: gcc7-pr82248.diff Patch15: gcc7-avoid-fixinc-error.diff +Patch16: gcc7-bnc1087550.diff # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -1059,6 +1060,7 @@ %patch12 %patch14 %patch15 +%patch16 %patch51 %patch60 %patch61 @@ -1275,6 +1277,7 @@ --disable-sjlj-exceptions \ %endif %if "%{TARGET_ARCH}" == "aarch64" + --enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le" @@ -1372,6 +1375,9 @@ %endif %install +# Make sure libtool re-linking libasan at install time doesn't drop the +# libstdc++ reference to make asan of C++ modules in python work +export SUSE_ASNEEDED=0 export NO_BRP_CHECK_BYTECODE_VERSION=true cd obj-%{GCCDIST} # GCC-TESTSUITE-DELETE-BEGIN @@ -1380,6 +1386,14 @@ export LIBRARY_PATH=$RPM_BUILD_ROOT%{libsubdir}:$RPM_BUILD_ROOT%{mainlibdirbi} make install DESTDIR=$RPM_BUILD_ROOT +# verify libasan really ended up with libstdc++ as NEEDED. +%ifarch %asan_arch + readelf -d $RPM_BUILD_ROOT%{versmainlibdir}/libasan.so.%{libasan_sover}* | grep 'NEEDED.*libstdc++' || exit 1 +%if %{biarch} + readelf -d $RPM_BUILD_ROOT%{versmainlibdirbi}/libasan.so.%{libasan_sover}* | grep 'NEEDED.*libstdc++' || exit 1 +%endif +%endif + # Remove some useless .la files for lib in libobjc libgfortran libquadmath libcaf_single \ libgomp libgomp-plugin-hsa libstdc++ libsupc++ libgo \ ++++++ gcc7-bnc1087550.diff ++++++ ++++ 696 lines (skipped)
