Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package go1.17 for openSUSE:Factory checked 
in at 2022-03-18 16:41:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/go1.17 (Old)
 and      /work/SRC/openSUSE:Factory/.go1.17.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "go1.17"

Fri Mar 18 16:41:38 2022 rev:10 rq:962259 version:1.17.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/go1.17/go1.17.changes    2022-03-05 
14:43:06.467696236 +0100
+++ /work/SRC/openSUSE:Factory/.go1.17.new.25692/go1.17.changes 2022-03-18 
16:41:47.841166771 +0100
@@ -1,0 +2,6 @@
+Wed Mar  9 17:03:28 UTC 2022 - Dirk M??ller <dmuel...@suse.com>
+
+- add dont-force-gold-on-arm64.patch (bsc#1183043)
+- drop binutils-gold dependency 
+
+-------------------------------------------------------------------

New:
----
  dont-force-gold-on-arm64.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ go1.17.spec ++++++
--- /var/tmp/diff_new_pack.X6dQRL/_old  2022-03-18 16:41:48.461167215 +0100
+++ /var/tmp/diff_new_pack.X6dQRL/_new  2022-03-18 16:41:48.465167218 +0100
@@ -147,6 +147,8 @@
 Source6:        go.gdbinit
 # We have to compile TSAN ourselves. boo#1052528
 Source100:      llvm-%{tsan_commit}.tar.xz
+# PATCH-FIX-OPENSUSE: https://go-review.googlesource.com/c/go/+/391115
+Patch7:         dont-force-gold-on-arm64.patch
 # PATCH-FIX-UPSTREAM marguer...@opensuse.org - find /usr/bin/go-5 when 
bootstrapping with gcc5-go
 Patch8:         gcc6-go.patch
 Patch9:         gcc7-go.patch
@@ -169,22 +171,8 @@
 %endif
 #BNC#818502 debug edit tool of rpm fails on i586 builds
 BuildRequires:  rpm >= 4.11.1
-# Needed on arm aarch64 to avoid
-# collect2: fatal error: cannot find 'ld'-
-%ifarch %arm aarch64
-BuildRequires:  binutils-gold
-%endif
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
-# Needed on arm aarch64 to avoid
-# collect2: fatal error: cannot find 'ld'-
-%ifarch %arm aarch64
-%if 0%{?is_opensuse}
-Requires:       binutils-gold
-%else
-Recommends:     binutils-gold
-%endif
-%endif
 Requires:       gcc
 Provides:       go = %{version}
 Provides:       go-devel = go%{version}
@@ -234,6 +222,7 @@
 %endif
 # go
 %setup -q -n go
+%patch7 -p1
 %if %{with gccgo}
 %if 0%{?gcc_go_version} == 6
 %patch8 -p1

++++++ dont-force-gold-on-arm64.patch ++++++
Index: go/src/cmd/link/internal/ld/lib.go
===================================================================
--- go.orig/src/cmd/link/internal/ld/lib.go
+++ go/src/cmd/link/internal/ld/lib.go
@@ -1389,28 +1389,6 @@ func (ctxt *Link) hostlink() {
                        // Use lld to avoid errors from default linker (issue 
#38838)
                        altLinker = "lld"
                }
-
-               if ctxt.Arch.InFamily(sys.ARM, sys.ARM64) && buildcfg.GOOS == 
"linux" {
-                       // On ARM, the GNU linker will generate COPY relocations
-                       // even with -znocopyreloc set.
-                       // https://sourceware.org/bugzilla/show_bug.cgi?id=19962
-                       //
-                       // On ARM64, the GNU linker will fail instead of
-                       // generating COPY relocations.
-                       //
-                       // In both cases, switch to gold.
-                       altLinker = "gold"
-
-                       // If gold is not installed, gcc will silently switch
-                       // back to ld.bfd. So we parse the version information
-                       // and provide a useful error if gold is missing.
-                       cmd := exec.Command(*flagExtld, "-fuse-ld=gold", 
"-Wl,--version")
-                       if out, err := cmd.CombinedOutput(); err == nil {
-                               if !bytes.Contains(out, []byte("GNU gold")) {
-                                       log.Fatalf("ARM external linker must be 
gold (issue #15696), but is not: %s", out)
-                               }
-                       }
-               }
        }
        if ctxt.Arch.Family == sys.ARM64 && buildcfg.GOOS == "freebsd" {
                // Switch to ld.bfd on freebsd/arm64.

Reply via email to