On Jan 18, 2026, at 6:42 PM, Thomas Frohwein <[email protected]> wrote:
> 
> On Sat, 17 Jan 2026 16:40:33 +0000
> Kurt Miller <[email protected]> wrote:
> 
>> Test show illegal instruction and there’s no debug package or
>> debug symbols so egdb is not that helpful:
>> 
>> m2$ haxe -hl output.hl -main Main 
>> m2$ hl output.hl                    
>> Illegal instruction (core dumped)
> 
> I see you figured out the invocation. I've enabled building
> DEBUG_PACKAGES, maybe that will help
> 

Hi Thomas,

Thanks for adding the debug package. It turns out the code with
the illegal instruction is JIT code in an anonymous page of memory
so the debug package does not help here. I can see with procmap(1)
that it is in an 84k chunk of anon memory with rwx:

0000001bda374000-0000001bda388fff      84k 0000000000000000 rwx--p- (rwx) 1/0/0 
00:00       0 -   [ anon ]
 
I’ve been poking around in the code and I’m having trouble finding
native arm64/aarch64 support for the JIT. I also found this page:

https://gist.github.com/onehundredfeet/92e48e437b0ecc22935f49da3d966c38

I don’t know if that’s outdated but that indicates that it works on
Apple's M1 using Rosetta. If that is still the case this port won’t
run natively on OpenBSD/aarch64.

Best,
-Kurt


Reply via email to