-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
LLVM ERROR: Associative COMDAT symbol 'std.time.Duration.to_nano' is not a key for its COMDAT. #1704
Labels
Comments
This only happens for single module compilation. |
There seems to be an optimization done by LLVM that doesn't work correctly on windows. |
lerno
added a commit
that referenced
this issue
Dec 26, 2024
lerno
added
Fixed Needs Verification
Fixed, but needs verification that it works
and removed
In Progress
This task is currently being worked on
labels
Dec 26, 2024
Using weak_odr inhibits the optimization that make this happen. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Discussed in #1702
Originally posted by LukyGuyLucky December 21, 2024
Below execise is modified from https://github.com/c3lang/c3c/blob/master/test/unit/stdlib/threads/mutex.c3,it compiles and runs fine when using below commandline:
c3c compile-run mutex01.c3
but when I tried it with
c3c compile -Oz mutex01.c3
the compiler says:
So was I missing something?
The text was updated successfully, but these errors were encountered: