public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: rruzicka <rruziro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/skopeo] rawhide: Fix ppc64le PIE syscall trampolines
Date: Thu, 12 Nov 2026 00:59:00 GMT	[thread overview]
Message-ID: <179444514041.1.4264455300236567536.rpms-skopeo-52a040e02081@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/skopeo
Branch : rawhide
Commit : 52a040e02081870a6bf3c81678580cd7aa7aa60e
Author : rruzicka <rruziro@gmail.com>
Date   : 2026-11-12T00:53:34+01:00
Stats  : +32/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/skopeo/c/52a040e02081870a6bf3c81678580cd7aa7aa60e?branch=rawhide

Log:
Fix ppc64le PIE syscall trampolines

---
diff --git a/0001-fix-ppc64le-pie-syscalls.patch b/0001-fix-ppc64le-pie-syscalls.patch
new file mode 100644
index 0000000..ac5750f
--- /dev/null
+++ b/0001-fix-ppc64le-pie-syscalls.patch
@@ -0,0 +1,31 @@
+diff --git a/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s b/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
+--- a/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
++++ b/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
+@@ -14,9 +14,9 @@
+ TEXT ·Syscall(SB),NOSPLIT,$0-56
+-	MOVD	$syscall·Syscall(SB), R31
+-	MOVD	R31, CTR
++	MOVD	$syscall·Syscall(SB), R12
++	MOVD	R12, CTR
+ 	JMP	(CTR)
+
+ TEXT ·Syscall6(SB),NOSPLIT,$0-80
+-	MOVD	$syscall·Syscall6(SB), R31
+-	MOVD	R31, CTR
++	MOVD	$syscall·Syscall6(SB), R12
++	MOVD	R12, CTR
+ 	JMP	(CTR)
+@@ -38,9 +38,9 @@
+ TEXT ·RawSyscall(SB),NOSPLIT,$0-56
+-	MOVD	$syscall·RawSyscall(SB), R31
+-	MOVD	R31, CTR
++	MOVD	$syscall·RawSyscall(SB), R12
++	MOVD	R12, CTR
+ 	JMP	(CTR)
+
+ TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
+-	MOVD	$syscall·RawSyscall6(SB), R31
+-	MOVD	R31, CTR
++	MOVD	$syscall·RawSyscall6(SB), R12
++	MOVD	R12, CTR
+ 	JMP	(CTR)

diff --git a/skopeo.spec b/skopeo.spec
index e8453b1..72f22fb 100644
--- a/skopeo.spec
+++ b/skopeo.spec
@@ -53,6 +53,7 @@ Summary: Inspect container images and repositories on registries
 URL: https://github.com/containers/%{name}
 # Tarball fetched from upstream
 Source0: %{url}/archive/v%{version}.tar.gz
+Patch0: 0001-fix-ppc64le-pie-syscalls.patch
 BuildRequires: %{_bindir}/go-md2man
 %if %{defined build_with_btrfs}
 BuildRequires: btrfs-progs-devel

                 reply	other threads:[~2026-11-12  0:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179444514041.1.4264455300236567536.rpms-skopeo-52a040e02081@fedoraproject.org \
    --to=rruziro@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox