[macOS M1] Segmentation fault when running dcd-server/client from v0.15.2 release archive
I don't speak English well, so I'm writing this through translation. Sorry if anything sounds unnatural.
Environment
macOS: Sequoia 15.4.1 Chip: Apple M1 MAX
Problem
When running the binaries from the v0.15.2 release archive, I get segmentation faults:
$ ./dcd-server --version
zsh: segmentation fault ./dcd-server --version
$ ./dcd-client --version
zsh: segmentation fault ./dcd-client --version
What I tried
When I clone the repository and build the binaries myself, the version displays correctly:
$ git clone https://github.com/dlang-community/DCD.git
$ cd DCD
$ git checkout v0.15.2
$ dub build --build=release --config=client
$ dub build --build=release --config=server
$cd bin
$ ./dcd-server --version
v0.15.2
$ ./dcd-client --version
v0.15.2
Conclusion
It seems that the file below in the release assets is broken or incompatible with Apple Silicon:
dcd-v0.15.2-osx-arm64.tar.gz
It was likely created with the wrong compiler.
Only the ldc beta is working on the current OSX version (Apple changed something).
https://github.com/ldc-developers/ldc/releases/tag/v1.41.0-beta1
It's working now with the latest LDC. Is it possible to put out a new release? Otherwise people have to manually build and install DCD in order to get code-d working for e.g. VS Code integration on Mac M1.
Bump: Can anyone produce the new binaries? That is still happening. DCD has no compilation error on my end