NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/58746: aarch64 compat_netbsd32_16: Exec format error
>Number: 58746
>Category: kern
>Synopsis: aarch64 compat_netbsd32_16: Exec format error
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 12 13:25:00 +0000 2024
>Originator: Michael van Elst
>Release: NetBSD 10.0_STABLE
>Organization:
>Environment:
System: NetBSD victory.netbsd.org 10.0_STABLE NetBSD 10.0_STABLE (VICTORY) #5: Sat Oct 12 07:26:49 UTC 2024 spz%franklin.NetBSD.org@localhost:/home/netbsd/10/evbarm-aarch64/obj/sys/arch/evbarm/compile/VICTORY evbarm
Architecture: aarch64
Machine: evbarm
>Description:
Running 32bit code in a netbsd-9 chroot on netbsd-10 (or -current)
requires COMPAT_16.
On aarch64 this fails. A kernel with COMPAT_16 doesn't build
and the compatibility module fails to load with the error:
compat_netbsd32_16: Exec format error
and dmesg entries showing missing symbols:
[ 8.816073] kobj_checksyms, 1004: [compat_16]: linker error: symbol `sendsig_sigcontext' not found
[ 8.826074] kobj_checksyms, 1004: [compat_16]: linker error: symbol `esigcode' not found
[ 8.836073] kobj_checksyms, 1004: [compat_16]: linker error: symbol `compat_16_sys___sigreturn14' not found
[ 8.846073] kobj_checksyms, 1004: [compat_16]: linker error: symbol `sigcode' not found
>How-To-Repeat:
Try to bulk build python312 for netbsd-9/earmv{6,7}hf on aarch64.
>Fix:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index