Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1261038

Bug#1114946: golang-1.24: panic for packages with CGO enabled

From Nilesh Patra <nilesh@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1114946: golang-1.24: panic for packages with CGO enabled
Date 2025-09-12 00:10 +0200
Message-ID <LtXEl-eCds-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: golang-1.24
Version: 1.24.4-1
Severity: serious
Tags: ftbfs
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.org
X-Debbugs-Cc: 1112166@bugs.debian.org
Tags: patch
Control: affects -1 + src:riseup-vpn

Dear Maintainer,

While building packages with CGO_ENABLED=1 on riscv64 with golang-1.24 version
that did build on that arch, there are panics of this kind:

|	cmd/link/main.go:72 +0xb6c
| FAIL	0xacab.org/leap/bitmask-vpn/pkg/snowflake/lib [build failed]
| # 0xacab.org/leap/bitmask-vpn/pkg/vpn/management.test
| loadelf: $WORK/b073/_pkg_.a(_x001.o): 181622: sym#47 (".LVUS0"): ignoring symbol in section 8 (".debug_loclists")  | (type 0)
| panic: unexpected empty container symbol

This is an upstream issue itself, reported in https://github.com/golang/go/issues/72840 and fixed in
https://github.com/golang/go/commit/12e5efd71011fbb5816a1d815e91b5c865fa9a83

I haven't tried, since riscv64 porter box is exceedingly slow - but I suspect this may as
well fix #1112166 since the commit message explicitly mentions gcc-15 on riscv64.

Thanks
Nilesh

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1114946: golang-1.24: panic for packages with CGO enabled Nilesh Patra <nilesh@debian.org> - 2025-09-12 00:10 +0200

csiph-web