FreeBSD Bugzilla – Attachment 226146 Details for
Bug 256897
lang/go: Fails to build on armv7: runtime: this CPU has no floating point hardware, so it cannot run this GOARM=7 binary
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to expose AT_HWCAP* auxvec
src.diff (text/plain), 805 bytes, created by
Brad Davis
on 2021-07-01 04:22:02 UTC
(
hide
)
Description:
patch to expose AT_HWCAP* auxvec
Filename:
MIME Type:
Creator:
Brad Davis
Created:
2021-07-01 04:22:02 UTC
Size:
805 bytes
patch
obsolete
>diff --git a/sys/arm64/arm64/elf32_machdep.c b/sys/arm64/arm64/elf32_machdep.c >index 916633650d6..f5af57d3019 100644 >--- a/sys/arm64/arm64/elf32_machdep.c >+++ b/sys/arm64/arm64/elf32_machdep.c >@@ -63,6 +63,8 @@ extern const char *freebsd32_syscallnames[]; > > extern char aarch32_sigcode[]; > extern int sz_aarch32_sigcode; >+extern u_long __read_frequently elf_hwcap; >+extern u_long __read_frequently elf_hwcap2; > > static int freebsd32_fetch_syscall_args(struct thread *td); > static void freebsd32_setregs(struct thread *td, struct image_params *imgp, >@@ -106,6 +108,8 @@ static struct sysentvec elf32_freebsd_sysvec = { > .sv_schedtail = NULL, > .sv_thread_detach = NULL, > .sv_trap = NULL, >+ .sv_hwcap = &elf_hwcap, >+ .sv_hwcap2 = &elf_hwcap2, > }; > INIT_SYSENTVEC(elf32_sysvec, &elf32_freebsd_sysvec); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 256897
: 226146 |
226147