tinygo-org / tinygo

Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
https://tinygo.org
Other
14.72k stars 858 forks source link

Compiling programs SIGKILL on latest arm mac #4272

Closed austinabell closed 1 month ago

austinabell commented 1 month ago

commands to repro:

make llvm-source && make llvm-build

# All programs crash the same
./build/tinygo build -x testdata/string.go
Killed: 9

Seems independent from the go version installed, I've tried a few. This worked about a week ago, and I don't think anything had changed meaningfully since then. Are there versions that are recommended, or ones I should look into configuring correctly? Tried using as close to CI build as possible, also using llvm17.

Tried reinstalling xcode completely, as well as trying many combinations of versions. Also tried the dockerfile, and that seemed to be broken?

Appreciate in advance any help :)

austinabell commented 1 month ago

nevermind, seemed to have been an incompatibly versioned gcc