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
Building without threads gives linking error for: git___load #5663
Comments
lhchavez
added a commit
to lhchavez/libgit2
that referenced
this issue
Oct 13, 2020
This should allow folks that build in non-thread-safe environments to still be able to build the library. Fixes: libgit2#5663
lhchavez
added a commit
to lhchavez/libgit2
that referenced
this issue
Oct 13, 2020
This should allow folks that build in non-thread-safe environments to still be able to build the library. Fixes: libgit2#5663
ethomson
pushed a commit
that referenced
this issue
Jun 20, 2021
This should allow folks that build in non-thread-safe environments to still be able to build the library. Fixes: #5663
ethomson
pushed a commit
that referenced
this issue
Jun 29, 2021
This should allow folks that build in non-thread-safe environments to still be able to build the library. Fixes: #5663
ethomson
pushed a commit
that referenced
this issue
Jun 29, 2021
This should allow folks that build in non-thread-safe environments to still be able to build the library. Fixes: #5663
ethomson
pushed a commit
that referenced
this issue
Jun 29, 2021
This should allow folks that build in non-thread-safe environments to still be able to build the library. Fixes: #5663
ethomson
pushed a commit
that referenced
this issue
Jun 29, 2021
This should allow folks that build in non-thread-safe environments to still be able to build the library. Fixes: #5663
ethomson
pushed a commit
that referenced
this issue
Jun 30, 2021
This should allow folks that build in non-thread-safe environments to still be able to build the library. Fixes: #5663
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I run into a bug introduced by #5594 when building
-DTHREADSAFE=OFF
.Eventually the build succeeds, however the
libgit2.a
library gives linking errors looking forgit___load
. I think the problem is thatgit___load
is defined within a#ifdef GIT_THREADS
block, but not the macro that uses it.This is libgit2 1.1.0 on mingw-w64 with gcc 8.3.0.
cc @lhchavez
The text was updated successfully, but these errors were encountered: