-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
libuv failing build on 32-bit Centos 5 system #1689
Comments
Is it better to report these here, or on JuliaLang/libuv? |
More information: seems to be some commit upstream between node-v0.8.11 and node-v0.9.0 |
The culprit is joyent/libuv@f91e6be. The immediate error is fixed by removing |
Okay, never mind, found it by grepping. |
Epic self-conversation, but good work :-) |
I've submitted JuliaLang/libuv#3 (which simply removes "--std=c89" from the libuv build). I'm not sure, though, if that is there for a reason. I can submit upstream to see what they say, instead--let me know. CC: @loladiro @vtjnash |
(* embarassed laugh ensues... *) |
Can you please check to see if this happens building from the most recent upstream sources from Joyent? |
Yep. That's actually how I determined which upstream branch (by manual bisection---I really should figure out how to use ~/src/julia32/deps/libuv$ git remote -v | grep upstream
upstream https://github.com/joyent/libuv (fetch)
upstream https://github.com/joyent/libuv (push)
~/src/julia32/deps/libuv$ git fetch upstream
~/src/julia32/deps/libuv$ git status
# On branch upstream-master
nothing to commit, working directory clean
~/src/julia32/deps/libuv$ git diff upstream/master
~/src/julia32/deps/libuv$ CC=gcc44 make
gcc44 --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -D_GNU_SOURCE -Iinclude -Iinclude/uv-private -Isrc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -c src/unix/async.c -o src/unix/async.o
In file included from src/unix/internal.h:37,
from src/unix/async.c:22:
src/unix/linux/syscalls.h:74: error: expected specifier-qualifier-list before ‘__u64’
make: *** [src/unix/async.o] Error 1 |
# assume things aren't working now...
git bisect bad
# find a known good spot
git checkout XXXXX
run_tests
# tests passed? then...
git bisect good
# magic happens
run_tests
# ... Then keep running either |
Thanks @pao! |
For debugging problems in Julia itself, I keep this
Then you can do automatic bisection (see the last couple of lines here: http://git-scm.com/book/ch6-5.html). Have a nice meal while you wait. |
That's also quite useful tim--thanks! |
@timholy Your |
See commit 25c1ee2 |
@kmsquire Did you ever submit this upstream? |
Not yet, sorry. I'm going to have very spotty internet access until next On Sat, Jan 5, 2013 at 12:10 AM, Keno Fischer [email protected]:
|
Finally submitted upstream: joyent/libuv#685 |
This has been fixed upstream, can we close this? |
It's not fixed for julia yet, but there's an issue here: JuliaLang/libuv#5. I personally only use a 32-bit Centos machine when I'm testing portability of a patch. So it's not urgent to me that it's fixed, but I hope it happens before I need it again. |
@vtjnash @loladiro Does our libuv now include this upstream patch for CentOS 5? Could one of you cherry-pick the relevant commit so that we can close this? |
This actually happened with (I think) the last libuv update in julia, with (julia) commit a6e75e3, corresponding to libuv commit 0709538fecef54c67c84d446af7edddd3e4a1e99.
The text was updated successfully, but these errors were encountered: