Mach compilation error

Hi all,

First, is there a way to get a hold of the mach developers? The discord link they suggest for support is expired and the forejo instance appears to not allow new signups :frowning:

Second, trying to compile a barebones template project (created by mach init), I get the following error:

 zig build run
run
└─ run exe machtest
   └─ compile exe machtest Debug native failure
error: error: using LLD to link macho files is unsupported
<snip>

Is this a known issue that can be worked around?

The main mach developer (emidoots) is usually in the Zig discord and is fairly active there. You may consider posting that in the #zig-help forum over there. I’m not sure if there are many mach users here on Ziggit.

That being said, I know Mach often follows a different Zig release cadence. They use nominated versions. You may want to check if you have a Mach supported Zig version.

Your specific error may need you to switch the machtest exe to use llvm. It’s probably trying to use the zig linker which seems to be unsupported for macos targets.