Skip to content

update ci.yml to test Nim 2.2; also test gcc-14#42

Merged
tersec merged 3 commits intostablefrom
use-nim-2.2
Sep 30, 2024
Merged

update ci.yml to test Nim 2.2; also test gcc-14#42
tersec merged 3 commits intostablefrom
use-nim-2.2

Conversation

@narimiran
Copy link
Contributor

No description provided.

@tersec
Copy link
Contributor

tersec commented Sep 23, 2024

nim-lang/Nim#24159

@tersec
Copy link
Contributor

tersec commented Sep 30, 2024

It's trying to generate x86 assembly for the arm64 target:

[NimScript] exec: nim c  --styleCheck:usages --styleCheck:error --verbosity:0 --hints:off --skipParentCfg --skipUserCfg --outdir:build --nimcache:build/nimcache -f --stacktrace:on --linetrace:on --threads:on   --mm:refc -r benchmarks/dfs/taskpool_dfs.nim
/Users/runner/work/nim-taskpools/nim-taskpools/taskpools/event_notifiers.nim(56, 1) Warning: Overriding `=` hook is deprecated; Override `=copy` hook instead [Deprecated]
/Users/runner/work/nim-taskpools/nim-taskpools/taskpools/taskpools.nim(115, 3) template/generic instantiation of `preCondition` from here
/Users/runner/work/nim-taskpools/nim-taskpools/taskpools/instrumentation/contracts.nim(84, 19) Warning: use `uint`; ByteAddress is deprecated [Deprecated]
In file included from /Users/runner/work/nim-taskpools/nim-taskpools/build/nimcache/@mtaskpool_dfs.nim.c:11:
/Users/runner/work/nim-taskpools/nim-taskpools/benchmarks/wtime.h:36:26: error: invalid output constraint '=a' in asm
        asm volatile ("rdtsc" : "=a" (lo), "=d" (hi));
                                ^
1 error generated.

@tersec tersec merged commit 66585e2 into stable Sep 30, 2024
@tersec tersec deleted the use-nim-2.2 branch September 30, 2024 09:22
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

Successfully merging this pull request may close these issues.

2 participants