Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package binutils for openSUSE:Factory 
checked in at 2026-06-10 15:47:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/binutils (Old)
 and      /work/SRC/openSUSE:Factory/.binutils.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "binutils"

Wed Jun 10 15:47:36 2026 rev:185 rq:1357958 version:2.45

Changes:
--------
--- /work/SRC/openSUSE:Factory/binutils/binutils.changes        2026-04-23 
17:09:37.725135059 +0200
+++ /work/SRC/openSUSE:Factory/.binutils.new.2375/binutils.changes      
2026-06-10 15:48:04.628097232 +0200
@@ -1,0 +2,7 @@
+Thu May 14 11:20:54 UTC 2026 - JS <[email protected]>
+
+- Add pr33427-fix-loongarch64-glibc-build-with-gcc16.patch to
+  backport a fix for assertion failures when building glibc for
+  loongarch64 with GCC 16.
+
+-------------------------------------------------------------------

New:
----
  pr33427-fix-loongarch64-glibc-build-with-gcc16.patch

----------(New B)----------
  New:
- Add pr33427-fix-loongarch64-glibc-build-with-gcc16.patch to
  backport a fix for assertion failures when building glibc for
----------(New E)----------

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

Other differences:
------------------
++++++ binutils.spec ++++++
--- /var/tmp/diff_new_pack.ZFBoy3/_old  2026-06-10 15:48:07.656222714 +0200
+++ /var/tmp/diff_new_pack.ZFBoy3/_new  2026-06-10 15:48:07.660222880 +0200
@@ -170,6 +170,7 @@
 Patch92:        cross-avr-omit_section_dynsym.patch
 Patch93:        cross-avr-size.patch
 Patch100:       binutils-workaround-premature-libsframe-uninst.diff
+Patch101:       pr33427-fix-loongarch64-glibc-build-with-gcc16.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # Hack.  See binutils-workaround-premature-libsframe-uninst.diff
 # until libsframe2, the package, is in the distro we need to
@@ -345,6 +346,7 @@
 %patch -P 93 -p1
 %endif
 %patch -P 100 -p1
+%patch -P 101 -p1
 #
 # test_vanilla
 %endif

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.ZFBoy3/_old  2026-06-10 15:48:07.772227522 +0200
+++ /var/tmp/diff_new_pack.ZFBoy3/_new  2026-06-10 15:48:07.776227687 +0200
@@ -1,5 +1,5 @@
-mtime: 1776347260
-commit: f4823460434dd78b76783148c43db046447ca99171b720fe75602e42e071e27a
+mtime: 1778758925
+commit: 2986276d9d502df60654863cd4e751c1bd9540d5fd1939da4526a11ee6b57dbd
 url: https://src.opensuse.org/gcc/binutils.git
 revision: main
 



++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-05-14 13:42:05.000000000 +0200
@@ -0,0 +1 @@
+.osc


++++++ pr33427-fix-loongarch64-glibc-build-with-gcc16.patch ++++++
>From e3a18893e1c4a8b9e10a7a1d6bae62412a130737 Mon Sep 17 00:00:00 2001
From: Lulu Cai <[email protected]>
Date: Tue, 16 Sep 2025 14:26:19 +0800
Subject: [PATCH] LoongArch: Use more appropriate assertions for the relocation
 of TLS LE

PR ld/33427

Patches introduced in the GCC mainline:

commit 8cad8f94b450be9b73d07bdeef7fa1778d3f2b96
Author: H.J. Lu <[email protected]>
Date:   Fri Sep 5 15:40:51 2025 -0700

    c: Update TLS model after processing a TLS variable

    Set a tentative TLS model in grokvardecl and update TLS mode with
    the default TLS access model after a TLS variable has been fully
    processed if the default TLS access model is stronger,

triggered a linker error when building glibc using build-many-glibcs.py.

See: https://sourceware.org/pipermail/binutils/2025-September/144225.html

This fix uses more appropriate assertions.

(cherry picked from commit 87961e47c3666d0527b8ce60e56617e63db0a6c4)
---
 bfd/elfnn-loongarch.c                              |  2 +-
 ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp | 12 ++++++++++++
 ld/testsuite/ld-loongarch-elf/undefweak_le.s       |  7 +++++++
 3 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 ld/testsuite/ld-loongarch-elf/undefweak_le.s

diff --git a/bfd/elfnn-loongarch.c b/bfd/elfnn-loongarch.c
index 505f1196987..c3484641f37 100644
--- a/bfd/elfnn-loongarch.c
+++ b/bfd/elfnn-loongarch.c
@@ -4400,7 +4400,7 @@ loongarch_elf_relocate_section (bfd *output_bfd, struct 
bfd_link_info *info,
        case R_LARCH_TLS_LE_LO12_R:
        case R_LARCH_TLS_LE64_LO20:
        case R_LARCH_TLS_LE64_HI12:
-         BFD_ASSERT (resolved_local && elf_hash_table (info)->tls_sec);
+         BFD_ASSERT (bfd_link_executable (info));
 
          relocation += rel->r_addend;
          relocation = tlsoff (info, relocation);
diff --git a/ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp 
b/ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp
index a33727f2efd..5bc48b28ca8 100644
--- a/ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp
+++ b/ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp
@@ -172,6 +172,18 @@ if [istarget "loongarch64-*-*"] {
          "desc-ie-norelax" \
       ] \
   ] \
+
+  run_ld_link_tests \
+      [list \
+          [list \
+               "undefind weak with tls le" \
+               "" "-e0" \
+               "" \
+               {undefweak_le.s} \
+               {} \
+               "undefweak_le" \
+          ] \
+      ]
 }
 
 if [istarget "loongarch64-*-*"] {
diff --git a/ld/testsuite/ld-loongarch-elf/undefweak_le.s 
b/ld/testsuite/ld-loongarch-elf/undefweak_le.s
new file mode 100644
index 00000000000..6e730182448
--- /dev/null
+++ b/ld/testsuite/ld-loongarch-elf/undefweak_le.s
@@ -0,0 +1,7 @@
+_start:
+       lu12i.w $t0,%le_hi20_r(undefweak_le)
+       add.d   $t0,$t0,$tp,%le_add_r(undefweak_le)
+       ld.d    $t0,$t0,%le_lo12_r(undefweak_le)
+
+       .weak   undefweak_le
+       .hidden undefweak_le
-- 
2.43.7

Reply via email to