compile on openBSD arm64 fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
compiling sbcl 2.3.2 on openBSD 7.2 aarch64 / arm with host sbcl 2.0.5-arm64-
sh make.sh --fancy
egcc -g -Wall -Wundef -Wsign-compare -Wpointer-arith -O3 -pthread -fno-pie -fno-pie -I. -c -o murmur_hash.o murmur_hash.c
egcc -g -Wall -Wundef -Wsign-compare -Wpointer-arith -O3 -pthread -fno-pie -fno-pie -I. -c -o os-common.o os-common.c
In file included from target-os.h:93,
os-common.c: In function 'set_os_
target-
13 | # define OS_CONTEXT_
os-common.c:358:5: note: in expansion of macro 'OS_CONTEXT_PC'
358 | OS_CONTEXT_
| ^~~~~~~~~~~~~
os-common.c:358:28: error: expected expression before '=' token
358 | OS_CONTEXT_
| ^
In file included from target-os.h:93,
os-common.c: In function 'os_context_
target-
13 | # define OS_CONTEXT_
| ^
os-common.c:361:38: note: in expansion of macro 'OS_CONTEXT_PC'
361 | return (os_context_
| ^~~~~~~~~~~~~
os-common.c:361:37: note: to match this '('
361 | return (os_context_
| ^
gmake: *** [<builtin>: os-common.o] Error 1
gmake: Leaving directory '/home/
> uname -a
OpenBSD reddwarf.xxxx.at 7.2 GENERIC.MP#7 arm64
> sbcl --version SBCL 2.0.5
Changed in sbcl: | |
status: | New → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
I think it just needed PC(context) context->sc_elr; PC(context) context->sc_elr
-# define OS_CONTEXT_
+# define OS_CONTEXT_
but I can't test it. I pushed it anyway. Can you test at the latest commit?