NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/59100: compat fixes from Nov 22 2024 break cvsup 1.6ZC static binary
The following reply was made to PR kern/59100; it has been noted by GNATS.
From: Onno van der Linden <o.vd.linden%quicknet.nl@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/59100: compat fixes from Nov 22 2024 break cvsup 1.6ZC
static binary
Date: Thu, 27 Feb 2025 22:17:25 +0100
The current code in netbsd32_compat_16 defines __HAVE_MD_NETBSD32_SIGRETURN14
for __amd64__ in /sys/compat/netbsd32/netbsd32_compat_16.c.
/sys/arch/amd64/amd64/netbd32_sigcode.S contains both netbsd32_sigcode
and netbsd32_esigcode. It looks to me like __HAVE_MD_NETBSD32_SIGCODE
should be defined for __amd64__ too in
/sys/compat/netbsd32_/netbsd32_compat_16.c.
And with
--- /sys/compat/netbsd32/netbsd32_compat_16.c.orig 2025-02-26 10:49:56.871640011 +0100
+++ /sys/compat/netbsd32/netbsd32_compat_16.c 2025-02-27 22:10:57.245055044 +0100
@@ -52,7 +52,7 @@
#define __HAVE_MD_NETBSD32_SIGRETURN14
#endif
-#if defined(__arm__) || defined(__mips__) || defined(__powerpc__) || defined(__riscv__)
+#if defined(__amd64__) || defined(__arm__) || defined(__mips__) || defined(__powerpc__) || defined(__riscv__)
#define __HAVE_MD_NETBSD32_SIGCODE
#endif
cvsup runs fine.
Home |
Main Index |
Thread Index |
Old Index