Hi while I install Nim 1.6.2 I'm getting below error. Please let me know if I should open an issue on GitHub.
Thank you!
$ choosenim 1.6.2
Downloading Nim 1.6.2 from nim-lang.org
[##################################################] 100.0% 0kb/s
Extracting nim-1.6.2.tar.xz
Extracting nim-1.6.2.tar
Building Nim 1.6.2
Building koch
Building Nim
Exception: Execution failed with exit code 1
... Command: ./koch boot -d:release
... Output: iteration: 1
... bin/nim c --skipUserCfg --skipParentCfg -d:nimKochBootstrap --nimcache:nimcache/r_macosx_amd64 -d:release --compileOnly compiler/nim.nim
... Hint: used config file '/Users/gcao/.choosenim/toolchains/nim-1.6.2/config/nim.cfg' [Conf]
... Hint: used config file '/Users/gcao/.choosenim/toolchains/nim-1.6.2/config/config.nims' [Conf]
... Hint: used config file '/Users/gcao/.choosenim/toolchains/nim-1.6.2/compiler/nim.cfg' [Conf]
... ..............................................................................................................................................................................................................................................................................................
... Hint: gc: refc; opt: speed; options: -d:release
... 179099 lines; 8.742s; 669.773MiB peakmem; proj: /Users/gcao/.choosenim/toolchains/nim-1.6.2/compiler/nim.nim; out: /Users/gcao/.choosenim/toolchains/nim-1.6.2/nimcache/r_macosx_amd64/nim.json [SuccessX]
... bin/nim jsonscript --nimcache:nimcache/r_macosx_amd64 -d:release compiler/nim.nim
... Hint: used config file '/Users/gcao/.choosenim/toolchains/nim-1.6.2/config/nim.cfg' [Conf]
... Hint: used config file '/Users/gcao/.choosenim/toolchains/nim-1.6.2/config/config.nims' [Conf]
... Hint: used config file '/Users/gcao/.choosenim/toolchains/nim-1.6.2/compiler/nim.cfg' [Conf]
... iteration: 2
... compiler/nim1 c --nimcache:nimcache/r_macosx_amd64 -d:release --compileOnly compiler/nim.nim
... FAILURE
Cleaning failed build
Tip: 8 messages have been suppressed, use --verbose to show them.
Error: Build failed
GCC version
$ gcc -v
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.5 (clang-1205.0.22.11)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin