On Jan 17, 2026, at 10:58 AM, Kurt Miller <[email protected]> wrote:
> 
> On Jan 17, 2026, at 9:07 AM, Thomas Frohwein <[email protected]> wrote:
>> 
>> On Fri, 16 Jan 2026 17:25:22 -0700 (MST)
>> [email protected] wrote:
>> 
>>> bulk build on arm64.ports.openbsd.org
>>> started on  Tue Jan 13 04:33:35 MST 2026
>>> finished at Fri Jan 16 17:25:09 MST 2026
>>> lasted 3D12h51m
>>> done with kern.version=OpenBSD 7.8-current (GENERIC.MP) #105: Sun Jan
>>> 11 16:45:04 MST 2026
>>> 
>>> built packages:12584
>>> Jan 13:4552
>>> Jan 14:292
>>> Jan 15:1378
>>> Jan 16:6361
>>> 
>>> 
>>> critical path missing pkgs:
>>> http://build-failures.rhaalovely.net/aarch64/2026-01-13/summary.log
>>> 
>>> build failures: 4
>>> http://build-failures.rhaalovely.net/aarch64/2026-01-13/games/stratagus.log
>>> http://build-failures.rhaalovely.net/aarch64/2026-01-13/graphics/mypaint.log
>>> http://build-failures.rhaalovely.net/aarch64/2026-01-13/lang/hashlink.log
>> 
>> Makefile:219: HashLink vm is not supported on arm64, skipping
>> [...]
>> Error: /usr/obj/ports/hashlink-1.15pl0/fake-aarch64/usr/local/bin/hl
>> does not exist
>> 
>> Upstream decided to refuse building bin/hl on aarch64 in this
>> non-descriptive commit that seems to be about CI:
>> 
>> https://github.com/HaxeFoundation/hashlink/commit/f6175ed33326b5909cfb7e8a576f491ecba6041a
>> 
>> Options:
>> 
>> 1. If anyone can test if bin/hl works on aarch64 with the diff below,
>> we can commit this. (see hello world at [1] and compile hashlink with
>> lang/haxe and  `-hl` flag and run as at the top of [2])
>> 
> 
> There’s one more place to remove the arm64 in the Makefile:
> 
>  install:
> - $(UNAME)==Darwin && ${MAKE} uninstall
> - ifneq ($(ARCH),arm64)
> +-ifneq ($(ARCH),arm64)
>   mkdir -p $(INSTALL_BIN_DIR)
>   cp hl $(INSTALL_BIN_DIR)
> -@@ -240,8 +225,10 @@ endif
> +-endif
>   mkdir -p $(INSTALL_LIB_DIR)
>   cp *.hdll $(INSTALL_LIB_DIR)
>   cp libhl.${LIBEXT} $(INSTALL_LIB_DIR)
> 
> with that addition it builds ok on aarch64. Not sure I fully
> understood the test instructions. This command fails:
> 
> m2$ haxe -hl out/main.c -main Main                                            
>                                    
> Called from /usr/obj/ports/haxe-4.3.6/haxe-4.3.6/std/neko/_std/EReg.hx line 
> 205
> Uncaught exception - load.c(237) : Failed to load library : regexp.ndll (File 
> not found)
> Error: Build failed
> 
> With:
> m2:$ cat Main.hx   
> /**
>    Multi-line comments for documentation.
> **/
> class Main {
>    static public function main():Void {
>        // Single line comment
>        trace("Hello World");
>    }
> }
> 

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) 
m2$ egdb /usr/local/bin/hl hl.core  
GNU gdb (GDB) 16.3
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-unknown-openbsd7.8".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/hl...
(No debugging symbols found in /usr/local/bin/hl)
[New process 159376]
[New process 196103]
[New process 464905]
[New process 534459]
[New process 227736]
Core was generated by `hl'.
Program terminated with signal SIGILL, Illegal instruction.
#0  0x000000207dcf9010 in ?? ()
[Current thread is 1 (process 159376)]
(gdb) bt
#0  0x000000207dcf9010 in ?? ()
#1  0x0000002022f84000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) x/i $pc
=> 0x207dcf9010:        .inst   0xec8b4855 ; undefined


Reply via email to