As I thought, it's the archlinux issue:
gcc.options.linker %= "${gcc.options.linker}
-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
RunThat's the line that was added to the `/etc/nim.cfg` by the package maintainers. It causes issues because `-z` flag is Linux-specific.
