tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc-trunk-arm64 macOS 11.3 Darwin 21.6.0/aarch64 2022-10-19 13:12



Le 20 oct. 2022 à 04:36, MNX Cloud <pkgsrc%mnx.io@localhost> a écrit :

pkgsrc bulk build report
========================

Darwin 21.6.0/aarch64
Compiler: clang

Package                               Breaks Maintainer
lang/erlang                               40 pkgsrc-users%NetBSD.org@localhost

https://us-central.manta.mnx.io/pkgsrc/public/reports/Darwin/11.3/arm64/20221019.1312/erlang-25.1.1/build.log
CXX	obj/x86_64-apple-darwin21.6.0/opt/jit/beam_jit_common.o
In file included from beam/jit/x86/beam_asm_module.cpp:24:
beam/jit/x86/beam_asm.hpp:62:5: error: use of undeclared identifier 'x86'
   x86::Assembler a;

When I build lang/erlang, I don’t have line which contains x86_64-apple-darwin21.6.0. But I have aarch64-apple-darwin21.6.0.

% bmake show-var VARNAME=MACHINE_PLATFORM
Darwin-21.6.0-aarch64

I am not sure, but maybe this patch could help. Unfortunately, I cannot reproduce the error: --- erts/emulator/beam/jit/x86/beam_asm.hpp.orig 2022-10-03 08:12:56.000000000 +0000
+++ erts/emulator/beam/jit/x86/beam_asm.hpp
@@ -29,6 +29,8 @@
#    include <asmjit/asmjit.hpp>
#endif

+#include <asmjit/x86.h>
+
extern "C"
{
#ifdef HAVE_CONFIG_H


Home | Main Index | Thread Index | Old Index