Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package go1.4 for openSUSE:Factory checked in at 2022-02-11 23:07:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go1.4 (Old) and /work/SRC/openSUSE:Factory/.go1.4.new.1956 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go1.4" Fri Feb 11 23:07:38 2022 rev:13 rq:953332 version:1.4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/go1.4/go1.4.changes 2021-07-27 14:32:06.547481282 +0200 +++ /work/SRC/openSUSE:Factory/.go1.4.new.1956/go1.4.changes 2022-02-11 23:09:17.170924568 +0100 @@ -1,0 +2,10 @@ +Thu Feb 10 13:38:57 UTC 2022 - Eike Waldt <[email protected]> + +- Add version check to only use compiler-rt-fix-tsan-build.patch + for suse_version >= 1500 where gcc >= 6 + * compiler-rt-fix-tsan-build.patch adds LDFLAGS -no-pie to gobuild.sh + * gcc-6 introduced flag -no-pie with --enable-default-pie + * SLE-12 has default gcc-4.8 + * Disable LDFLAGS -no-pie flag for SUSE releases having gcc <= 6 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go1.4.spec ++++++ --- /var/tmp/diff_new_pack.IHcGS2/_old 2022-02-11 23:09:17.838926500 +0100 +++ /var/tmp/diff_new_pack.IHcGS2/_new 2022-02-11 23:09:17.842926511 +0100 @@ -1,7 +1,7 @@ # # spec file for package go1.4 # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -75,6 +75,7 @@ # PATCH-FIX-UPSTREAM (compiler-rt): Fix sanitizer build against latest glibc Patch100: fix-sanitizer-build-against-latest-glibc.patch Patch101: gcc9-rsp-clobber.patch +# PATCH-FIX-OPENSUSE Disable LDFLAGS -no-pie flag for use when gcc <= 6 Patch102: compiler-rt-fix-tsan-build.patch BuildRequires: rpm # for go1.4.gdbinit, directory ownership @@ -87,7 +88,7 @@ BuildRequires: gcc-c++ %endif Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Provides: go = %{version} Provides: go-devel = go%{version} Provides: go-devel-static = go%{version} @@ -127,7 +128,7 @@ # boo#1052528 %package race Summary: Go runtime race detector -License: NCSA OR MIT +License: MIT OR NCSA Group: Development/Languages/Other URL: https://compiler-rt.llvm.org/ Requires: %{name} = %{version} @@ -145,8 +146,12 @@ %setup -q -T -b 100 -n compiler-rt-r%{tsan_commit} %patch100 -p1 %patch101 -p1 +%if 0%{?suse_version} >= 1500 +# Disable LDFLAGS -no-pie flag for use when gcc <= 6 +# Used for SLE-12 gcc-4.8 %patch102 -p1 %endif +%endif # go %setup -q -n go %patch1 -p1
