Hello community, here is the log from the commit of package go1.14 for openSUSE:Factory checked in at 2020-06-11 14:42:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go1.14 (Old) and /work/SRC/openSUSE:Factory/.go1.14.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go1.14" Thu Jun 11 14:42:49 2020 rev:5 rq:813076 version:1.14.4 Changes: -------- --- /work/SRC/openSUSE:Factory/go1.14/go1.14.changes 2020-05-02 22:14:00.604117817 +0200 +++ /work/SRC/openSUSE:Factory/.go1.14.new.3606/go1.14.changes 2020-06-11 14:43:38.881198277 +0200 @@ -1,0 +2,42 @@ +Tue Jun 9 17:32:52 UTC 2020 - Jeff Kowalczyk <jkowalc...@suse.com> + +- go1.14.4 (released 2020-06-01) includes fixes to the go doc command, + the runtime, and the encoding/json and os packages. + Refs boo#1164903 go1.14 release tracking + * go#39158 os: opening an existing file with O_CREATE|O_TRUNC and permission 0 changes file to be read-only on Windows + * go#38993 cmd/doc: -src flag misbehaves on some systems + * go#38933 runtime: preemption in startTemplateThread may cause infinite hang + * go#38178 encoding/json: marshal result of string type struct field with ",string" option change in go1.14 + * go#38106 encoding/json: mangled unmarshal string result + +------------------------------------------------------------------- +Mon Jun 8 08:22:07 UTC 2020 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Ensure ARM arch is set properly - boo#1169832 + +------------------------------------------------------------------- +Sat Jun 6 01:46:13 UTC 2020 - Aleksa Sarai <asa...@suse.com> + +- Update compiler-rt snapshot to 0fb8a5356214c47bbb832e89fbb3da1c755eeb73 + which is needed for go1.14.3 to build on amd64. +- Change compiler-rt git repo url to new location in LLVM project. +- Allow go-race to be built on arm64 and ppc64le. +- Document (and clean up) LLVM snapshotting for go-race. +- Update _service to no longer fetch Go from git. + +------------------------------------------------------------------- +Fri May 15 19:42:01 UTC 2020 - Jeff Kowalczyk <jkowalc...@suse.com> + +- go1.14.3 (released 2020-05-14) includes fixes to cgo, the compiler, + the runtime, and the go/doc and math/big packages. + Refs boo#1164903 go1.14 release tracking + * go#38856 runtime: scavenger freezes up in Go 1.14 in Windows due to coarse time granularity + * go#38606 runtime: pageAlloc.allocToCache updates pageAlloc.searchAddr in an invalid way + * go#38443 cmd/compile: unexpected nil dereference on s390x + * go#38426 cmd/cgo: types regression for anonymous structs + * go#38418 go/doc: whole file is used as example even when there are tests or benchmarks + * go#38321 runtime/race: race_linux_amd64.syso now depends on glibc 2.16 + * go#38123 cmd/compile: conversion from int/float typed constant to complex variable changed in 1.14 + * go#37501 math/big: panic in big.ParseFloat (off by one access) + +------------------------------------------------------------------- Old: ---- compiler-rt-g810ae8ddac890a6613d814c0b5415c7fcb7f5cca.tar.xz go1.14.2.src.tar.gz New: ---- go1.14.4.src.tar.gz llvm-0fb8a5356214c47bbb832e89fbb3da1c755eeb73.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go1.14.spec ++++++ --- /var/tmp/diff_new_pack.9FuYGl/_old 2020-06-11 14:43:40.985204406 +0200 +++ /var/tmp/diff_new_pack.9FuYGl/_new 2020-06-11 14:43:40.989204419 +0200 @@ -65,15 +65,25 @@ #!BuildIgnore: gcc-PIE %endif -# By default we don't include tsan. It's only supported on amd64. -%define tsan_arch x86_64 +# Build go-race only on platforms where it's supported (both amd64 and aarch64 +# requires SLE15-or-later because of C++14, and ppc64le doesn't build at all +# on openSUSE yet). +%if 0%{suse_version} >= 1500 || 0%{?sle_version} >= 150000 +%define tsan_arch x86_64 aarch64 +%else +# Cannot use {nil} here (ifarch doesn't like it) so just make up a fake +# architecture that no build will ever match. +%define tsan_arch openSUSE_FAKE_ARCH +%endif # Go has precompiled versions of LLVM's compiler-rt inside their source code. # We cannot ship pre-compiled binaries so we have to recompile said source, # however they vendor specific commits from upstream. This value comes from # src/runtime/race/README (and we verify that it matches in check). -# See boo#1052528 for more details. -%define tsan_commit 810ae8ddac890a6613d814c0b5415c7fcb7f5cca +# +# In order to update the TSAN version, modify _service. See boo#1052528 for +# more details. +%define tsan_commit 0fb8a5356214c47bbb832e89fbb3da1c755eeb73 %define go_api 1.14 @@ -118,7 +128,7 @@ %endif Name: go1.14 -Version: 1.14.2 +Version: 1.14.4 Release: 0 Summary: A compiled, garbage-collected, concurrent programming language License: BSD-3-Clause @@ -129,7 +139,7 @@ Source4: README.SUSE Source6: go.gdbinit # We have to compile TSAN ourselves. boo#1052528 -Source100: compiler-rt-g%{tsan_commit}.tar.xz +Source100: llvm-%{tsan_commit}.tar.xz # PATCH-FIX-OPENSUSE enable writing tools outside $GOROOT/pkg/tool for packaging Patch5: tools-packaging.patch # PATCH-FIX-UPSTREAM marguer...@opensuse.org - find /usr/bin/go-5 when bootstrapping with gcc5-go @@ -210,8 +220,8 @@ %prep %ifarch %{tsan_arch} -# compiler-rt -%setup -q -T -b 100 -n compiler-rt-g%{tsan_commit} +# compiler-rt (from LLVM) +%setup -q -T -b 100 -n llvm-%{tsan_commit} %endif # go %setup -q -n go @@ -235,10 +245,11 @@ # First, compile LLVM's TSAN, and replace the built-in with it. We can only do # this for amd64. %ifarch %{tsan_arch} -pushd ../compiler-rt*/lib/tsan/go +TSAN_DIR="../llvm-%{tsan_commit}/compiler-rt/lib/tsan/go" +pushd "$TSAN_DIR" ./buildgo.sh popd -cp ../compiler-rt*/lib/tsan/go/race_linux_%{go_arch}.syso src/runtime/race/race_linux_%{go_arch}.syso +cp -v "$TSAN_DIR/race_linux_%{go_arch}.syso" src/runtime/race/ %endif # Now, compile Go. @@ -247,6 +258,15 @@ %else export GOROOT_BOOTSTRAP=%{_libdir}/%{go_bootstrap_version} %endif +# Ensure ARM arch is set properly - boo#1169832 +%ifarch armv6l armv6hl +export GOARCH=arm +export GOARM=6 +%endif +%ifarch armv7l armv7hl +export GOARCH=arm +export GOARM=7 +%endif export GOROOT="`pwd`" export GOROOT_FINAL=%{_libdir}/go/%{go_api} export GOBIN="$GOROOT/bin" @@ -267,7 +287,7 @@ %check %ifarch %{tsan_arch} # Make sure that we have the right TSAN checked out. -grep "%{tsan_commit}" src/runtime/race/README +grep "^race_linux_%{go_arch}.syso built with LLVM %{tsan_commit}" src/runtime/race/README %endif %install ++++++ _service ++++++ --- /var/tmp/diff_new_pack.9FuYGl/_old 2020-06-11 14:43:41.029204535 +0200 +++ /var/tmp/diff_new_pack.9FuYGl/_new 2020-06-11 14:43:41.029204535 +0200 @@ -1,30 +1,15 @@ <services> <service name="tar_scm" mode="disabled"> - <param name="url">https://github.com/golang/go</param> + <param name="url">https://github.com/llvm/llvm-project.git</param> <param name="scm">git</param> - <param name="exclude">.git</param> - <param name="revision">go1.14rc1</param> - <param name="versionformat">@PARENT_TAG@</param> - <param name="changesgenerate">enable</param> - <param name="versionrewrite-pattern">go(.*)</param> - </service> - <service name="set_version" mode="disabled"> - <param name="basename">go</param> - </service> - <service name="recompress" mode="disabled"> - <param name="file">go-*.tar</param> - <param name="compression">xz</param> - </service> - <service name="tar_scm" mode="disabled"> - <param name="url">https://git.llvm.org/git/compiler-rt.git</param> - <param name="scm">git</param> - <param name="exclude">.git</param> - <!-- [boo#1052528] Always make sure this is kept up to date with src/runtime/race/README. --> - <param name="revision">810ae8ddac890a6613d814c0b5415c7fcb7f5cca</param> - <param name="versionformat">g%H</param> + <param name="include">compiler-rt</param> + <!-- [boo#1052528] Always make sure this is kept up to date with src/runtime/race/README. --> + <param name="revision">0fb8a5356214c47bbb832e89fbb3da1c755eeb73</param> + <param name="versionformat">%H</param> + <param name="filename">llvm</param> </service> <service name="recompress" mode="disabled"> - <param name="file">compiler-rt-*.tar</param> + <param name="file">llvm-*.tar</param> <param name="compression">xz</param> </service> </services> ++++++ go1.14.2.src.tar.gz -> go1.14.4.src.tar.gz ++++++ /work/SRC/openSUSE:Factory/go1.14/go1.14.2.src.tar.gz /work/SRC/openSUSE:Factory/.go1.14.new.3606/go1.14.4.src.tar.gz differ: char 29, line 1