-
Notifications
You must be signed in to change notification settings - Fork 34
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
Pthread linking issue #25
Comments
Thanks for reporting this. I will look into it. |
Maybe it should be both compile and link time option? What platform are you compiling on and I will |
Actually it looks to be just a link time option. Let me commit that and see if it fixes it for you. By the way, the reason it fails for your example
is that that command translates both to a compile then a link, and the whole point of |
df3a1a7 works for me now. |
BTW, had a quick search and this seems to mention that |
The |
Thanks again for helping |
Thank you so much for bringing the community such a fabulous tool 😄 |
It's a bit weird but I really don't know why. Building with
-pthread
may still sometimes fail to link correctly.For example, when I use
gclang simple_race.c -pthread
it fails however it works fine withclang simple_race.c -pthread
.On the other hand, it seems everything is fine when building regular projects involving pthread such as lbzip2.
Indeed I'm using the HEAD and there is a callback for
-pthread
.gllvm/shared/parser.go
Line 125 in d52f38c
The text was updated successfully, but these errors were encountered: