Hello community, here is the log from the commit of package go1.10 for openSUSE:Factory checked in at 2019-05-09 10:01:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go1.10 (Old) and /work/SRC/openSUSE:Factory/.go1.10.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go1.10" Thu May 9 10:01:23 2019 rev:7 rq:700271 version:1.10.8 Changes: -------- --- /work/SRC/openSUSE:Factory/go1.10/go1.10.changes 2019-01-26 22:19:58.106974572 +0100 +++ /work/SRC/openSUSE:Factory/.go1.10.new.5148/go1.10.changes 2019-05-09 10:01:33.387678852 +0200 @@ -1,0 +2,12 @@ +Mon Mar 11 12:54:18 UTC 2019 - Martin Liška <[email protected]> + +- Add gcc9-rsp-clobber.patch in order to fix bsc#1121397. + +------------------------------------------------------------------- +Mon Feb 18 11:58:06 UTC 2019 - Guillaume GARDET <[email protected]> + +- Enable build for %arm (boo#1125768), with go1.4 as building + with gccgo hangs (boo#974800) +- Remove unneeded armv6l.patch + +------------------------------------------------------------------- Old: ---- armv6l.patch New: ---- gcc9-rsp-clobber.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go1.10.spec ++++++ --- /var/tmp/diff_new_pack.buQ1zv/_old 2019-05-09 10:01:34.827682975 +0200 +++ /var/tmp/diff_new_pack.buQ1zv/_new 2019-05-09 10:01:34.831682987 +0200 @@ -46,6 +46,12 @@ %define with_gccgo 1 %endif +# On Tumbleweed and Leap 15.1, building on %%arm with gccgo just hangs +# due to boo#974800 +%ifarch %arm +%define with_gccgo 0 +%endif + # gccgo on ppc64le with default PIE enabled fails with: # error while loading shared libraries: # R_PPC64_ADDR16_HA re10143fb0c for symbol `' out of range @@ -106,14 +112,12 @@ Patch2: allow-binary-only-packages.patch # PATCH-FIX-OPENSUSE enable writing tools outside $GOROOT/pkg/tool for packaging Patch5: tools-packaging.patch -# armv6l needs this patch for our build system -# see https://groups.google.com/forum/#!topic/golang-nuts/MqKTX_XIOKE -Patch6: armv6l.patch # PATCH-FIX-UPSTREAM [email protected] - find /usr/bin/go-5 when bootstrapping with gcc5-go Patch8: gcc6-go.patch Patch9: gcc7-go.patch # PATCH-FIX-UPSTREAM (compiler-rt): Fix sanitizer build against latest glibc Patch100: fix-sanitizer-build-against-latest-glibc.patch +Patch101: gcc9-rsp-clobber.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # boostrap %if %{with_gccgo} @@ -153,7 +157,7 @@ # go-vim/emacs were separate projects starting from 1.4 Obsoletes: go-emacs <= 1.3.3 Obsoletes: go-vim <= 1.3.3 -ExclusiveArch: %ix86 x86_64 aarch64 ppc64 ppc64le s390x +ExclusiveArch: %ix86 x86_64 %arm aarch64 ppc64 ppc64le s390x %description Go is an expressive, concurrent, garbage collected systems programming language @@ -191,14 +195,12 @@ # compiler-rt %setup -q -T -b 100 -n compiler-rt-g%{tsan_commit} %patch100 -p1 +%patch101 -p1 %endif # go %setup -q -n go %patch2 -p1 %patch5 -p1 -%ifarch armv6hl -%patch6 -p1 -%endif %if %{with_gccgo} %if 0%{?suse_version} == 1315 # SLE12 or Leap 42.x ++++++ gcc9-rsp-clobber.patch ++++++ --- a/lib/sanitizer_common/sanitizer_linux.cc 2018-01-11 23:53:30.000000000 +0100 +++ b/lib/sanitizer_common/sanitizer_linux.cc.new 2019-03-10 21:23:23.824919781 +0100 @@ -1243,7 +1243,7 @@ "d"(parent_tidptr), "r"(r8), "r"(r10) - : "rsp", "memory", "r11", "rcx"); + : "memory", "r11", "rcx"); return res; } #elif defined(__mips__)
