Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAC M1 : failed on a simple example #100

Open
codeyash opened this issue Mar 24, 2023 · 0 comments
Open

MAC M1 : failed on a simple example #100

codeyash opened this issue Mar 24, 2023 · 0 comments

Comments

@codeyash
Copy link

codeyash commented Mar 24, 2023

/.nimble/bin/nim c --usenimcache --nimcache=/.cache/nim/jb_windy/triangle.nim_d /windy/examples/triangle.nim
Hint: used config file '/.choosenim/toolchains/nim-1.6.12/config/nim.cfg' [Conf]
Hint: used config file '
/.choosenim/toolchains/nim-1.6.12/config/config.nims' [Conf]
.......................................................................................................................................................................................................................
/.nimble/pkgs/windy-0.0.0/windy/http.nim(68, 3) Warning: The bare except clause is deprecated; use except CatchableError: instead [BareExcept]
/.nimble/pkgs/windy-0.0.0/windy/http.nim(79, 5) Warning: The bare except clause is deprecated; use except CatchableError: instead [BareExcept]
/.nimble/pkgs/windy-0.0.0/windy/http.nim(82, 54) template/generic instantiation of async from here
/.nimble/pkgs/windy-0.0.0/windy/http.nim(91, 70) template/generic instantiation of async from here
/.nimble/pkgs/windy-0.0.0/windy/http.nim(96, 7) Warning: The bare except clause is deprecated; use except CatchableError: instead [BareExcept]
/.nimble/pkgs/windy-0.0.0/windy/http.nim(82, 54) template/generic instantiation of async from here
/.nimble/pkgs/windy-0.0.0/windy/http.nim(91, 70) template/generic instantiation of async from here
/.choosenim/toolchains/nim-1.6.12/lib/pure/asyncmacro.nim(42, 5) Warning: The bare except clause is deprecated; use except CatchableError: instead [BareExcept]
/.nimble/pkgs/windy-0.0.0/windy/http.nim(82, 54) template/generic instantiation of async from here
/.nimble/pkgs/windy-0.0.0/windy/http.nim(112, 38) template/generic instantiation of request from here
/.choosenim/toolchains/nim-1.6.12/lib/pure/httpclient.nim(1086, 14) Warning: Deprecated since v1.5; use HttpMethod enum instead; string parameter httpMethod is deprecated [User]
/.nimble/pkgs/windy-0.0.0/windy/http.nim(82, 54) template/generic instantiation of async from here
/.nimble/pkgs/windy-0.0.0/windy/http.nim(112, 38) template/generic instantiation of request from here
/.choosenim/toolchains/nim-1.6.12/lib/pure/asyncmacro.nim(42, 5) Warning: The bare except clause is deprecated; use except CatchableError: instead [BareExcept]
/.nimble/pkgs/windy-0.0.0/windy/http.nim(82, 54) template/generic instantiation of async from here
/.nimble/pkgs/windy-0.0.0/windy/http.nim(138, 3) Warning: The bare except clause is deprecated; use except CatchableError: instead [BareExcept]
/.nimble/pkgs/windy-0.0.0/windy/http.nim(82, 54) template/generic instantiation of async from here
/.choosenim/toolchains/nim-1.6.12/lib/pure/asyncmacro.nim(42, 5) Warning: The bare except clause is deprecated; use except CatchableError: instead [BareExcept]
/.nimble/pkgs/windy-0.0.0/windy/http.nim(143, 50) template/generic instantiation of async from here
/.nimble/pkgs/windy-0.0.0/windy/http.nim(177, 3) Warning: The bare except clause is deprecated; use except CatchableError: instead [BareExcept]
/.nimble/pkgs/windy-0.0.0/windy/http.nim(143, 50) template/generic instantiation of async from here
/.nimble/pkgs/windy-0.0.0/windy/http.nim(187, 5) Warning: The bare except clause is deprecated; use except CatchableError: instead [BareExcept]
/.nimble/pkgs/windy-0.0.0/windy/http.nim(143, 50) template/generic instantiation of async from here
/.choosenim/toolchains/nim-1.6.12/lib/pure/asyncmacro.nim(42, 5) Warning: The bare except clause is deprecated; use except CatchableError: instead [BareExcept]
/.nimble/pkgs/windy-0.0.0/windy/http.nim(197, 3) Warning: The bare except clause is deprecated; use except CatchableError: instead [BareExcept]
/.nimble/pkgs/windy-0.0.0/windy/http.nim(204, 3) Warning: The bare except clause is deprecated; use except CatchableError: instead [BareExcept]
...
/.nimble/pkgs/windy-0.0.0/windy/platforms/macos/objc.nim(156, 14) Hint: 'addProtocol' is declared but not used [XDeclaredButNotUsed]
/.nimble/pkgs/windy-0.0.0/windy/platforms/macos/objc.nim(156, 14) Hint: 'addProtocol' is declared but not used [XDeclaredButNotUsed]
/.nimble/pkgs/windy-0.0.0/windy/platforms/macos/platform.nim(936, 3) template/generic instantiation of autoreleasepool from here
/.nimble/pkgs/windy-0.0.0/windy/platforms/macos/platform.nim(964, 5) Warning: The bare except clause is deprecated; use except CatchableError: instead [BareExcept]
CC: ../../../../../../..
/.choosenim/toolchains/nim-1.6.12/lib/std/private/digitsutils.nim
CC: ../../../../../../..
/.choosenim/toolchains/nim-1.6.12/lib/system/assertions.nim
CC: ../../../../../../..
/.choosenim/toolchains/nim-1.6.12/lib/system/formatfloat.nim
CC: ../../../../../../..
/.choosenim/toolchains/nim-1.6.12/lib/system/dollars.nim
CC: ../../../../../../..
/.choosenim/toolchains/nim-1.6.12/lib/system/io.nim
CC: ../../../../../../..
/.choosenim/toolchains/nim-1.6.12/lib/system.nim
CC: ../../../../../../..
/.choosenim/toolchains/nim-1.6.12/lib/pure/bitops.nim
CC: ../../../../../../..
/.choosenim/toolchains/nim-1.6.12/lib/pure/math.nim
CC: ../../../../../../..
/.choosenim/toolchains/nim-1.6.12/lib/pure/strutils.nim
CC: ../../../../../../..
/.choosenim/toolchains/nim-1.6.12/lib/posix/posix.nim
CC: ../../../../../../..
/.choosenim/toolchains/nim-1.6.12/lib/pure/dynlib.nim
CC: ../../../../../../..
/.nimble/pkgs/opengl-1.2.6/opengl.nim
CC: ../../../../../../..
/.nimble/pkgs/vmath-1.2.0/vmath.nim
CC: ../../../../../../..
/.nimble/pkgs/chroma-0.2.7/chroma/colortypes.nim
CC: ../../../../../../..
/.choosenim/toolchains/nim-1.6.12/lib/pure/collections/tables.nim
CC: ../../../../../../..
/.choosenim/toolchains/nim-1.6.12/lib/pure/options.nim
CC: ../../../../../../..
/.choosenim/toolchains/nim-1.6.12/lib/pure/times.nim
CC: ../../../../../../..
/.choosenim/toolchains/nim-1.6.12/lib/pure/os.nim
CC: ../../../../../../..
/.nimble/pkgs/pixie-5.0.6/pixie/common.nim
CC: ../../../../../../..
/.nimble/pkgs/nimsimd-1.2.5/nimsimd/runtimecheck.nim
CC: ../../../../../../..
/.nimble/pkgs/pixie-5.0.6/pixie/simd.nim
CC: ../../../../../../..
/.nimble/pkgs/pixie-5.0.6/pixie/internal.nim
CC: ../../../../../../..
/.nimble/pkgs/pixie-5.0.6/pixie/paths.nim
CC: ../../../../../../..
/.nimble/pkgs/pixie-5.0.6/pixie/fonts.nim
CC: ../../../../../../..
/.nimble/pkgs/zippy-0.10.7/zippy/common.nim
CC: ../../../../../../..
/.nimble/pkgs/zippy-0.10.7/zippy/internal.nim
CC: ../../../../../../..
/.nimble/pkgs/zippy-0.10.7/zippy/bitstreams.nim
CC: ../../../../../../..
/.nimble/pkgs/zippy-0.10.7/zippy/adler32_simd.nim
CC: ../../../../../../..
/.nimble/pkgs/zippy-0.10.7/zippy/adler32.nim
CC: ../../../../../../..
/.nimble/pkgs/zippy-0.10.7/zippy/crc32_simd.nim
CC: ../../../../../../../.nimble/pkgs/zippy-0.10.7/zippy/crc.nim
/.cache/nim/jb_windy/triangle.nim_d/@m..@s..@s..@s..@s..@s..@s..@susers@[email protected]@[email protected]@[email protected]:131:10: error: invalid output constraint '=a' in asm
:"=a"(eaxr), "=b"(ebxr), "=c"(ecxr), "=d"(edxr)
^
1 error generated.
CC: ../../../../../../..
/.nimble/pkgs/zippy-0.10.7/zippy/lz77.nim
CC: ../../../../../../..
/.nimble/pkgs/zippy-0.10.7/zippy/snappy.nim
Error: execution of an external compiler program 'clang -c -w -ferror-limit=3 -I~/.choosenim/toolchains/nim-1.6.12/lib -I/windy/examples -o ~/.cache/nim/jb_windy/triangle.nim_d/@m..@s..@s..@s..@s..@s..@s..@susers@[email protected]@[email protected]@[email protected] ~/.cache/nim/jb_windy/triangle.nim_d/@m..@s..@s..@s..@s..@s..@s..@susers@[email protected]@[email protected]@[email protected]' failed with exit code: 1

~/.cache/nim/jb_windy/triangle.nim_d/@m..@s..@s..@s..@s..@s..@s..@susers@[email protected]@[email protected]@[email protected]:826:10: error: invalid output constraint '=a' in asm
:"=a"(eaxr), "=b"(ebxr), "=c"(ecxr), "=d"(edxr)
^
1 error generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant