Your message dated Mon, 02 Nov 2026 13:19:13 +0000
with message-id <[email protected]>
and subject line Bug#1151166: fixed in golang-golang-x-sys 0.49.0+dfsg-2
has caused the Debian Bug report #1151166,
regarding golang-golang-x-sys: ppc64x syscall trampolines omit the ELFv2 R12
setup, so PIE binaries die at startup
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1151166: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1151166
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:golang-1.27
Version: 1.27.2-1
Severity: serious
Tags: ftbfs
Control: affects -1 + src:siso
X-Debbugs-Cc: [email protected], [email protected]
Hi found this issue through
* Build log:
https://buildd.debian.org/status/fetch.php?pkg=siso&arch=ppc64el&ver=1.6.4%2Bds-1&stamp=1792241113&file=log
I did some tests, and found that Go programs built for ppc64el with
-buildmode=pie die at startup with
golang-1.27. The same source built without -buildmode=pie runs fine, and
golang-1.26 was fine, so this is a 1.27 regression. It makes siso FTBFS on
ppc64el, because debian/rules runs the binary it just built to generate the
man page.
Smallest case I found:
package main
import (
"fmt"
"os"
"golang.org/x/sys/unix"
)
func main() {
_, _ = unix.IoctlGetTermios(int(os.Stdout.Fd()), unix.TCGETS)
fmt.Println("ok")
}
GOARCH=ppc64le CGO_ENABLED=0 go build -buildmode=pie -o r .
Under qemu-ppc64le that binary never returns and sits at 100% CPU. Without
-buildmode=pie it prints ok. SIGQUIT on the wedged process gives a stack the
runtime itself rejects:
runtime: g 1: unexpected return pc for sync.(*Pool).pinSlow called from
0x1001b8890
siso fails earlier and harder, on the first sampled allocation in a package
init:
runtime.mProf_Malloc runtime/mprof.go:443
runtime.panicBounds runtime/asm_ppc64x.s:1410
runtime.findfunc runtime/symtab.go:923
runtime.findmoduledatap runtime/symtab.go:866 <- SIGSEGV
siso/ui.init.0 ui/ui.go:82
mprof.go:443 is mp.profStack[:debug.profstackdepth+2], and profStack is
allocated as 1+maxSkip+profstackdepth (proc.go:1076), so the bound is 130
against a length of 135: that check cannot legitimately fire. The SIGSEGV
afterwards is at a different address in each build, 0x2a0 then 0x0, which
looks like a garbage pointer rather than a nil one. Both faults are reads of
runtime globals early in startup, and on ppc64 a PIE binary reaches globals
through the TOC in r2.
buildd history is at
https://buildd.debian.org/status/logs.php?pkg=siso&arch=ppc64el : 1.6.4+ds-1
Maybe-Failed three times, while 1.5.13+ds-1 through 1.5.22+ds-2 all succeeded
under golang-1.26. I reproduced it in a clean sid ppc64el chroot under
qemu-user, so it is not hardware specific.
I checked for duplicates today and found none: no ppc64el bug against
golang-1.27, nothing matching in the Go tracker. The
closest precedents are https://github.com/golang/go/issues/30283,
Best,
Juan
--- End Message ---
--- Begin Message ---
Source: golang-golang-x-sys
Source-Version: 0.49.0+dfsg-2
Done: Héctor Orón Martínez <[email protected]>
We believe that the bug you reported is fixed in the latest version of
golang-golang-x-sys, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Héctor Orón Martínez <[email protected]> (supplier of updated
golang-golang-x-sys package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 02 Nov 2026 14:02:59 +0100
Source: golang-golang-x-sys
Architecture: source
Version: 0.49.0+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <[email protected]>
Changed-By: Héctor Orón Martínez <[email protected]>
Closes: 1151166
Changes:
golang-golang-x-sys (0.49.0+dfsg-2) unstable; urgency=medium
.
[ Juan Manuel Méndez Rey ]
* Team upload
* d/patches/04-ppc64x-set-r12-before-syscall-branch.patch: set R12 before
branching to the syscall entry point on ppc64x. The trampolines added in
0.49.0 jump to the ABI0 wrapper's global entry point, which in a PIE binary
derives its TOC from R12, so every PIE binary calling x/sys/unix died at
startup on ppc64el (Closes: #1151166).
Checksums-Sha1:
6619e8d5c8fa55de9f573cce8262ad383f788340 2259
golang-golang-x-sys_0.49.0+dfsg-2.dsc
a488e937aa14fa522d111da48e6ab91eb0e3dc32 1563895
golang-golang-x-sys_0.49.0+dfsg.orig.tar.gz
4e4c322e0cd6d3d108d34c2013d247dd1364b9cd 8324
golang-golang-x-sys_0.49.0+dfsg-2.debian.tar.xz
27eecc2b69f25639ad095e1ba552c6d59c67df77 5887
golang-golang-x-sys_0.49.0+dfsg-2_source.buildinfo
Checksums-Sha256:
d626bb25d5681bde309e1075de17202f3e7a02f825da5911995421076892d90a 2259
golang-golang-x-sys_0.49.0+dfsg-2.dsc
55608b848092a608f1add995971c7379d3f0b902ea7e133bd584455362321c23 1563895
golang-golang-x-sys_0.49.0+dfsg.orig.tar.gz
734c073c6b9d37b97090e5c2d12908c695cecb5d4c39271c20ab137a79e2fcd6 8324
golang-golang-x-sys_0.49.0+dfsg-2.debian.tar.xz
4ea66fe9399d2f3eba0f4ac06defd44a51b716e041529a5c3620b673f89f62c5 5887
golang-golang-x-sys_0.49.0+dfsg-2_source.buildinfo
Files:
1ffbbc2419d1f2e81aab25e09a1cd39e 2259 golang optional
golang-golang-x-sys_0.49.0+dfsg-2.dsc
606d4cff4cb011a8bc29d04f1b380b96 1563895 golang optional
golang-golang-x-sys_0.49.0+dfsg.orig.tar.gz
83503c4d3c4adb0b44f08c3a60f39242 8324 golang optional
golang-golang-x-sys_0.49.0+dfsg-2.debian.tar.xz
75e09a7d6b3e5faab417da9711557737 5887 golang optional
golang-golang-x-sys_0.49.0+dfsg-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE6Q8IiVReeMgqnedOryKDqnbirHsFAmroik8ACgkQryKDqnbi
rHvKxBAAgU1wHFAype1h54YASCkFnF0MC3uqYh3odKSj798NN0b2Wfc3eQpY1X6u
874oFb8M41uZErP1Mxohl0+6z3qalePicFgF5Bqoa9QwF9fwwBQXksu4wf6/LEfc
STI5Gh8mQTFFAseE7fdaYIHF1EG0DqMfy96fJjxnhcz0TKwkXHOGj7IPYvPv7aPM
+L4Cybw8AzPvOaIKwGI5Gu28ojQJhg3jKJ9zMAnqXgPhE7HlUuxkTsg+HHruJuYS
gQ/zHynYTxr3VFD3IyLvxOzS2v6BGmtPILRy23hjqBPUBZHjaSrWPBdltLtfDqTB
hhuT2TdjiSjyJdkCrWyrKw12DeKplYqvykcC0h0iTe6C5cA5euQdX4Wo7dAzMcyS
YyTOBW6UZxUmeRPxU7jeXilTESqxN20oG5vOeJHUzdIPI8th8CAHLoGKOeo4Z5AV
8yHgegQ40uWZIIw9dTkzQ3I3s3aL6JgN4cCyHgEvQwDwkYLTtrtAnrJCu4V1dTX4
zuFkdRlK4rZC7Ix8fhwV1pMYLhFliwAuCrawvbEIWtggUDEMZTvqYvuLcC7VYqsM
07kDEHP5oNHW/4l/Djmzc4nztrbddM/t3hEzAmZVpd7PJWaaK0xFJs/CCA2TPcZF
ZDXVooyVVRbUza5nFnw2B6GyUWkuiDkaBB6dVh4VKphaBiMbCnE=
=GytI
-----END PGP SIGNATURE-----
pgpjorzzFPSvK.pgp
Description: PGP signature
--- End Message ---