Hi

I'm having problems getting Julia to build on a cluster that I'm using. 
It's a Cray XC-30 cluster with an Ivy-Bridge architecture, and it appears 
to be running on SLES 11

Right now, I'm building this without linking to external BLAS, FFTW, etc. 
libraries (the heavy lifting matrix operations will be done in a C function 
anyways, and I had major problems getting anywhere while linking to 
cray-libsci)
The problem I'm having right now is that "flisp" will not link, because of 
problems with the symbols "uv_tick__stop_semaphore" and 
"uv_tick__start_semaphore" in libuv. I've tried using both the provided 
libuv as well as downloading it separately and compiling. I get related but 
different problems in both cases.

First, in the case with the provided libuv:


Making install in SYM
    CC src/jltypes.o
    CC src/gf.o
    CC src/support/hashing.o
    CC src/support/timefuncs.o
    CC src/support/ptrhash.o
    CC src/support/operators.o
    CC src/support/utf8.o
    CC src/support/ios.o
    CC src/support/htable.o
    CC src/support/bitvector.o
    CC src/support/int2str.o
    CC src/support/libsupportinit.o
    CC src/support/arraylist.o
    CC src/support/strtod.o
    LINK src/support/libsupport.a
    CC src/flisp/flisp.o
    CC src/flisp/builtins.o
    CC src/flisp/string.o
    CC src/flisp/equalhash.o
    CC src/flisp/table.o
    CC src/flisp/iostream.o
    CC src/flisp/julia_extensions.o
    LINK src/flisp/libflisp.a
    CC src/flisp/flmain.o
    LINK src/flisp/flisp
/cfs/milner/scratch/n/niklasva/julia_build/julia/usr/lib/libuv.a(libuv_la-core.o):(.note.stapsdt+0x24):
 
undefined reference to `uv_tick__start_semaphore'
/cfs/milner/scratch/n/niklasva/julia_build/julia/usr/lib/libuv.a(libuv_la-core.o):(.note.stapsdt+0x70):
 
undefined reference to `uv_tick__stop_semaphore'
/cfs/milner/scratch/n/niklasva/julia_build/julia/usr/lib/libuv.a(libuv_la-core.o):(.note.stapsdt+0xbc):
 
undefined reference to `uv_tick__stop_semaphore'
collect2: error: ld returned 1 exit status
make[3]: *** [flisp] Error 1
make[2]: *** [flisp/libflisp.a] Error 2
make[1]: *** [julia-release] Error 2
make: *** [release] Error 2




Second, in the case of the external libuv:
Making install in SYM
    CC src/jltypes.o
    CC src/gf.o
    CC src/support/hashing.o
    CC src/support/timefuncs.o
    CC src/support/ptrhash.o
    CC src/support/operators.o
    CC src/support/utf8.o
    CC src/support/ios.o
    CC src/support/htable.o
    CC src/support/bitvector.o
    CC src/support/int2str.o
    CC src/support/libsupportinit.o
    CC src/support/arraylist.o
    CC src/support/strtod.o
    LINK src/support/libsupport.a
    CC src/flisp/flisp.o
    CC src/flisp/builtins.o
    CC src/flisp/string.o
    CC src/flisp/equalhash.o
    CC src/flisp/table.o
    CC src/flisp/iostream.o
    CC src/flisp/julia_extensions.o
    LINK src/flisp/libflisp.a
    CC src/flisp/flmain.o
    LINK src/flisp/flisp
/usr/bin/ld: flisp: hidden symbol `uv_tick__stop_semaphore' in 
/cfs/scratch/n/niklasva/libuv/lib/libuv.a(uv-dtrace.o) is referenced by DSO
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[3]: *** [flisp] Error 1
make[2]: *** [flisp/libflisp.a] Error 2
make[1]: *** [julia-release] Error 2
make: *** [release] Error 2

In the second case, this is the contents of my Make.user:
override LIBUV = /cfs/scratch/n/niklasva/libuv/lib/libuv.a
override LIBUV_INC = /cfs/scratch/n/niklasva/libuv/include/


I would be very grateful if someone could help me fix this problem.

Reply via email to