@dzaima I am trying to install CBQN on a mac using make FFI=0, and it hangs on load.c for ~ 10 minutes... I figured something was wrong so I stopped it, but wasn't sure. Is that normal? What is the expected compile time on a newish, pretty beefy laptop?
@Jonah load.c takes some time, but even on my old arm64 phone with -O3 it's ~10s max
but it does parallel builds by default, so it may be waiting on some other file, load.c being started in parallel with the faulty one; you can make manualJobs=1 FFI=0 to make it go one-by-one
then there's make debug FFI=0 which'll disable optimizations; if that works fine, then the optimizer is presumably getting stuck in an infinite loop (I've had that happen)
@dzaima so when i do make manualJobs=1 FFI=0, it hangs on jit/nvm.c. When I do make debug FFI=0 it finishes quickly, outputting a working BQN executable, but the final line of the compilation output is clang: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument].
(apparently the only thing -no-pie does is reduce the binary size by ~1% and increase startup time by ~1%, on gcc, x86-64, linux. Presumably everywhere else (on clang it changes nothing, on my phone it causes an error, on macs it's a no-op at best) it's somewhere between useless, annoying, and error-inducing. maybe fine to remove? It's just a linker flag currently, so it can't even affect performance of actual code)