[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-pkg
Subject:    Re: pkgsrc-trunk-arm64 macOS 11.3 Darwin 21.6.0/aarch64 2022-10-19 13:12
From:       Frédéric_Fauberteau <triaxx () NetBSD ! org>
Date:       2022-10-20 11:34:25
Message-ID: 74db09caa42a34344609243aaa068fec () NetBSD ! org
[Download RAW message or body]

> Le 20 oct. 2022 à 04:36, MNX Cloud <pkgsrc@mnx.io> a écrit :
> 
> pkgsrc bulk build report
> ========================
> 
> Darwin 21.6.0/aarch64
> Compiler: clang
> 
> Package                               Breaks Maintainer
> lang/erlang                               40 pkgsrc-users@NetBSD.org

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic