-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Error in make with libuv with uv_rwlock_t #2502
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
Comments
Potentially a compiler version issue. From what I can tell, RHEL 6.1 has GCC 4.4. The README recommends 4.6 or later. |
This is really strange. From the log you posted, it seems you are missing sigset_t, pthread_rwlock_t, and pthread_barrier_t or that uv_rwlock_t and uv_barrier_t. This seems very unlikely. Can you try
and let me know if you get the same error? |
I love how we only have these problems with the enterprise linux distros. |
That's because RHEL loves ancient compilers. |
|
Hi, @vtjnash, thanks for the pointers. The problem is in libuv and I ended up doing a bisect in
Julia0.2 is also bad. I also tried with gcc 4.7.2 and got an identical error message. In Julia I did a bisection and the first bad commit is Hopefully those two line up. Let me know if you require more info and thanks for you help with this. Glen |
Alright, so it looks like it might be an upstream bug. That commit doesn't look like it changed anything other than renaming a variable. What is the output of |
Hi,
Glen |
aha! any idea where that OS variable is coming from? Libuv is now using that variable to override the uname detection of the operating system |
The |
The intention is to allow the user to override it with their environment variables. |
I added issue 737 to libuv. Thanks again. |
Since this is an upstream issue I'm closing this and improving the title so people can find this easier in the future. |
I believe we keep upstream bugs open until a fixed version is incorporated in Julia. |
In general, we should also avoid updating libraries in bugfix releases. |
But what if the library updates fix bugs?? |
If this is a simple libuv makefile fix, we could add a local patch. |
This can also be handled by the build errata: call |
I suggest we should only carry out minor bugfix library updates in our bugfix releases. That is of course difficult with libuv as it is also a fast moving target. It is not good that a bugfix release does not build on computers where it previously used to. |
I don't think any policy would have changed this situation. There was a pretty bad bug, libuv had a fix, and we had no idea it would bring along build breakage. I guess what we could have done is cherry-picked the minimal libuv change that would solve the problem. |
libuv folks renamed OS to PLATFORM upstream. just need to remember to fix & close this on the next libuv rebase |
Shall we rebase our libuv? |
Bump |
Bump |
This patch is now in our libuv julia0.2 branch, just need to bump the sha1 in julia (and fix deps/Makefile libuv target) |
Hi,
On
0.1.1
tag and master I get the following make error:I tried both 1.1 branch and master and got the same error. I tried
make -C deps/libuv clean; make
and from a fresh install which didn't work.Thanks,
Glen
The text was updated successfully, but these errors were encountered: