Hey Andrea,

You didn't do anything wrong. I think there's a bug in the Makefile that
makes things sometimes break, which is unfortunate.

-- Leah


On Wed, Sep 3, 2014 at 10:06 AM, Andrea Vigliotti <
[email protected]> wrote:

> Hi all,
>
> I could compile Julia correctly again after
>
> make -C deps distclean-llvm
>
>
>
> (following an advice taken from the link posted by Kevin :
> https://github.com/JuliaLang/julia/issues/8200)
>
> but that meant I had to recompile the whole thing. I had also to 'make
> clean', after the first attempt,
>
> I was just wondering if there is anything I did wrong that put me in the
> situation of having to compile everything or every now and than, that
> cannot be avoided...
>
> thanks for your help and advices,
>
> andrea
>
>
> On Monday, September 1, 2014 9:36:43 AM UTC+1, Kevin Squire wrote:
>
>> See https://github.com/JuliaLang/julia/issues/8200.
>>
>>
>> On Sun, Aug 31, 2014 at 7:45 PM, Dan Luu <[email protected]> wrote:
>>
>>> I'm also having problems, and I wonder if I've run into the same issue.
>>>
>>> When I updated Julia today on my Mac (10.9.2), I got the following error:
>>>
>>> /bin/sh: line 1: 23089 Segmentation fault: 11
>>> /Users/danluu/dev/julia/usr/bin/julia --build
>>> /Users/danluu/dev/julia/usr/lib/julia/sys
>>> -J/Users/danluu/dev/julia/usr/lib/julia/$([ -e
>>> /Users/danluu/dev/julia/usr/lib/julia/sys.ji ] && echo sys.ji || echo
>>> sys0.ji) -f sysimg.jl
>>> * This error is usually fixed by running 'make clean'. If the error
>>> persists, try 'make cleanall'. *
>>> make[1]: * [/Users/danluu/dev/julia/usr/lib/julia/sys.o] Error 1
>>> make: * [release] Error 2
>>>
>>> I've tried doing make cleanall, and even wiping out my repository and
>>> re-cloning in case it's a problem with deps, and I still get the same
>>> error.
>>>
>>> On Linux (64-bit, 3.2.0-65-generic), the build doesn't error out, but
>>> Julia segfaults on startup. The gdb backtrace for that is:
>>> Program received signal SIGSEGV, Segmentation fault.
>>> 0x00007ffff6e2328c in jl_deserialize_gv (v=0x7bb138, s=0x7fffffffdcc0)
>>> at dump.c:145
>>> 145             *sysimg_gvars[gvname_index] = v;
>>> (gdb) bt
>>> #0  0x00007ffff6e2328c in jl_deserialize_gv (v=0x7bb138,
>>> s=0x7fffffffdcc0) at dump.c:145
>>> #1  jl_deserialize_value_internal (s=0x7fffffffdcc0) at dump.c:854
>>> #2  0x00007ffff6e233e5 in jl_deserialize_value (s=0x7fffffffdcc0) at
>>> dump.c:950
>>> #3  jl_deserialize_value_internal (s=0x7fffffffdcc0) at dump.c:937
>>> #4  0x00007ffff6e2350d in jl_deserialize_value (s=0x7fffffffdcc0) at
>>> dump.c:950
>>> #5  jl_deserialize_datatype (pos=403560, s=0x7fffffffdcc0) at dump.c:646
>>> #6  jl_deserialize_value_internal (s=0x7fffffffdcc0) at dump.c:886
>>> #7  0x00007ffff6e22818 in jl_deserialize_value (s=0x7fffffffdcc0) at
>>> dump.c:950
>>> #8  jl_deserialize_value_internal (s=0x7fffffffdcc0) at dump.c:715
>>> ...
>>> #134 jl_deserialize_value_internal (s=0x7fffffffdcc0) at dump.c:715
>>> #135 0x00007ffff6e233e5 in jl_deserialize_value (s=0x7fffffffdcc0) at
>>> dump.c:950
>>> #136 jl_deserialize_value_internal (s=0x7fffffffdcc0) at dump.c:937
>>> #137 0x00007ffff6e233e5 in jl_deserialize_value (s=0x7fffffffdcc0) at
>>> dump.c:950
>>> #138 jl_deserialize_value_internal (s=0x7fffffffdcc0) at dump.c:937
>>> #139 0x00007ffff6e23881 in jl_deserialize_value (s=0x7fffffffdcc0) at
>>> dump.c:950
>>> #140 jl_restore_system_image (fname=<optimized out>) at dump.c:1060
>>> #141 0x00007ffff6e1f33b in julia_init (
>>>     imageFile=0x608e60
>>> "/home/dluu/dev/julia/usr/bin/../lib/julia/sys.ji") at init.c:826
>>> #142 0x000000000040140a in main (argc=0, argv=0x7fffffffe1c0) at
>>> repl.c:378
>>>
>>>
>>>
>>> On Sun, Aug 31, 2014 at 8:39 AM, Andrea Vigliotti
>>> <[email protected]> wrote:
>>> > Hi all!
>>> >
>>> >
>>> > I am having problems in updating Julia from the git. As usual, every
>>> three
>>> > four days I download the last updates from the git and
>>> > compile them, this is what I do (I'm running ubuntu with KDE, and
>>> Julia is
>>> > v0.4) from the source directory I typed
>>> >
>>> > git pull && make
>>> >
>>> >
>>> >
>>> > then I got this
>>> >
>>> > ...
>>> > ...
>>> > ...
>>> > iterator.jl
>>> > inference.jl
>>> > ERROR:
>>> > LoadError("/usr/local/julia/v0.4/base/sysimg.jl",65,
>>> LoadError("inference.jl",134,UndefVarError(:sizeof)))
>>> >  in include at ./boot.jl:245 (repeats 2 times)
>>> >  in include_from_node1 at loading.jl:128
>>> >  in process_options at ./client.jl:285
>>> >  in _start at ./client.jl:354
>>> >  in _start_3B_13569 at /usr/local/julia/v0.4/usr/lib/julia/sys.so
>>> >
>>> > *** This error is usually fixed by running 'make clean'. If the error
>>> > persists, try 'make cleanall'. ***
>>> > make[1]: *** [/usr/local/julia/v0.4/usr/lib/julia/sys.o] Error 1
>>> > make: *** [release] Error 2
>>> >
>>> >
>>> > after doing the make cleanall, tried make again and got
>>> >
>>> > ...
>>> > ...
>>> > ...
>>> >  /usr/bin/install -c -m 644 '_U_dyn_register.man'
>>> > '/usr/local/julia/v0.4/usr/share/man/man3/_U_dyn_register.3'
>>> >  /usr/bin/install -c -m 644 '_U_dyn_cancel.man'
>>> > '/usr/local/julia/v0.4/usr/share/man/man3/_U_dyn_cancel.3'
>>> >  /usr/bin/install -c -m 644 include/libunwind-dynamic.h
>>> > include/libunwind-ptrace.h include/libunwind-coredump.h
>>> > include/libunwind-x86_64.h include/libunwind.h include/unwind.h
>>> > '/usr/local/julia/v0.4/usr/include'
>>> >  /usr/bin/install -c -m 644 include/libunwind-common.h
>>> > '/usr/local/julia/v0.4/usr/include'
>>> > Makefile:141: /Makefile.rules: No such file or directory
>>> > make[3]: *** No rule to make target `/Makefile.rules'. Stop.
>>> > make[2]: *** [/usr/local/julia/v0.4/usr/lib/libLLVMJIT.a] Error 2
>>> > make[1]: *** [julia-release] Error 2
>>> > make: *** [release] Error 2
>>> >
>>> >
>>> > now I'm stucked, I looked on the internet but could find reason or
>>> solutions
>>> > for this, it happened before and I had to remove everything and
>>> download and
>>> > make everything from scratch,
>>> >
>>> > does anybody know how it is possible to fix this without completely
>>> > reinstalling Julia??
>>> >
>>> > thanks!
>>> >
>>> > andrea
>>>
>>
>>

Reply via email to