Hi OP, thanks for helping me test and modify this patch, I compiled
successfully and it works.

On Wed, 2023-04-12 at 21:58 +0200, Omar Polo wrote:
> 
> I haven't tested it, but the build ends with a
> 
> : zsyscall_openbsd_amd64.s:213
> : (syscall/zsyscall_openbsd_amd64.s:213)([...]/go-link-
> 1246028766/go.o:
> : (syscall.libc_syscall_trampoline.abi0)): warning: syscall() may go
> : away, please rewrite code to use direct calls
> 
> which hints that it may broke a runtime.
> 

This warning comes from lib/libc/dlfcn/init.c:

#if defined(APIWARN)
__warn_references(syscall,
    "syscall() may go away, please rewrite code to use direct calls");
#endif

I think we may need to wait for the Go language upstream code to make
changes.


Reply via email to