I cloned julia (linux) and added Make.user, this happened (it does not
happen when I rename Make.user):
LINK usr/lib/libjulia.so
CC ui/repl.o
LINK usr/bin/julia
JULIA usr/lib/julia/inference0.o
Illegal instruction
make[1]: *** [/home/jas/julia/julia/usr/lib/julia/inference0.o] Error 132
make: *** [julia-sysimg] Error 2
On Thursday, July 9, 2015 at 4:27:12 PM UTC-4, Keno Fischer wrote:
>
> I fixed that this morning in
> https://github.com/llvm-mirror/lldb/commit/f9d5ebafe446857ff805b078b90c8c400758acdd.
>
> Try updating LLDB (make -C deps update-llvm will do the trick).
>
> On Thu, Jul 9, 2015 at 4:24 PM, Kostas Tavlaridis-Gyparakis <
> [email protected] <javascript:>> wrote:
>
>> Hello again,
>> I am facing some problems when trying to run the julia source code.
>> As you pointed out I created the Make.user file and tried to run the
>> source
>> code but I receive the following error which I can not sort out how to
>> fix:
>>
>> /home/kostav/julia/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbInitialize.a(SystemInitializerCommon.o):
>>
>> In function `lldb_private::SystemInitializerCommon::Initialize()':
>> SystemInitializerCommon.cpp:(.text._ZN12lldb_private23SystemInitializerCommon10InitializeEv+0x65):
>>
>> undefined reference to
>> `lldb_private::DynamicLoaderWindowsDYLD::Initialize()'
>> /home/kostav/julia/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbInitialize.a(SystemInitializerCommon.o):
>>
>> In function `lldb_private::SystemInitializerCommon::Terminate()':
>> SystemInitializerCommon.cpp:(.text._ZN12lldb_private23SystemInitializerCommon9TerminateEv+0x3c):
>>
>> undefined reference to `lldb_private::DynamicLoaderWindowsDYLD::Terminate()'
>> collect2: error: ld returned 1 exit status
>> /home/kostav/julia/deps/llvm-svn/Makefile.rules:1206: recipe for target
>> '/home/kostav/julia/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldb.so'
>>
>> failed
>> make[5]: ***
>> [/home/kostav/julia/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldb.so]
>>
>> Error 1
>> /home/kostav/julia/deps/llvm-svn/Makefile.rules:880: recipe for target
>> 'install' failed
>> make[4]: *** [install] Error 1
>> /home/kostav/julia/deps/llvm-svn/Makefile.rules:965: recipe for target
>> 'install' failed
>> make[3]: *** [install] Error 1
>> /home/kostav/julia/deps/llvm-svn/Makefile.rules:880: recipe for target
>> 'install' failed
>> make[2]: *** [install] Error 1
>> Makefile:642: recipe for target
>> '/home/kostav/julia/usr/lib/libLLVMCodeGen.a' failed
>> make[1]: *** [/home/kostav/julia/usr/lib/libLLVMCodeGen.a] Error 2
>> Makefile:49: recipe for target 'julia-deps' failed
>> make: *** [julia-deps] Error 2
>>
>>
>> On Tuesday, July 7, 2015 at 6:03:12 PM UTC+2, Keno Fischer wrote:
>>>
>>> Yes, that is correct, just create a Make.user file with that content in
>>> the same directory as your julia source install (where the Make.inc file
>>> already is). The `LLVM_VER=svn` line directs it to use the svn version
>>> of llvm.
>>>
>>> On Tue, Jul 7, 2015 at 11:59 AM, Kostas Tavlaridis-Gyparakis <
>>> [email protected]> wrote:
>>>
>>>> Ok, thank you pointing that out.
>>>> So, I need to uninstall my current version and install using the source
>>>> files.
>>>> Just two questions really noob ones.
>>>> In the read me file, it says that I need to add the following lines to
>>>> a Make.user:
>>>>
>>>> override LLDB_VER=master
>>>> override LLVM_VER=svn
>>>> override LLVM_ASSERTIONS=1
>>>> override BUILD_LLVM_CLANG=1
>>>> override BUILD_LLDB=1
>>>> override USE_LLVM_SHLIB=1
>>>> override LLDB_DISABLE_PYTHON=1
>>>>
>>>> Does this mean that I just create a file with the name Make.user and copy
>>>> paste this line
>>>> on the file and then save it in the directory where the source file is
>>>> downloaded?
>>>> Also when you say "ne that uses LLVM-svn" not sure what I need to check
>>>> for this one.
>>>>
>>>>
>>>>
>>>> On Tuesday, July 7, 2015 at 5:36:49 PM UTC+2, Keno Fischer wrote:
>>>>>
>>>>> Please see the instructions in the Cxx.jl README.
>>>>>
>>>>> In particular, you need (at the moment at least)
>>>>> - a source install of julia
>>>>> - one that uses LLVM-svn
>>>>>
>>>>>
>>>>> On Tue, Jul 7, 2015 at 11:33 AM, Kostas Tavlaridis-Gyparakis <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Hello,
>>>>>> I am running the following version of Julia:
>>>>>>
>>>>>> Julia Version 0.4.0-dev+5809
>>>>>> Commit b414076* (2015-07-06 15:38 UTC)
>>>>>> Platform Info:
>>>>>> System: Linux (x86_64-linux-gnu)
>>>>>> CPU: Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz
>>>>>> WORD_SIZE: 64
>>>>>> BLAS: libopenblas (NO_LAPACKE DYNAMIC_ARCH NO_AFFINITY Haswell)
>>>>>> LAPACK: liblapack.so.3
>>>>>> LIBM: libopenlibm
>>>>>> LLVM: libLLVM-3.3
>>>>>>
>>>>>> And when I try to add the CXX package I receive the following error:
>>>>>>
>>>>>> Pkg.build("Cxx")
>>>>>> INFO: Building Cxx
>>>>>> Tuning for julia installation at: /usr/bin
>>>>>> BuildBootstrap.Makefile:2: /usr/bin/../../deps/Versions.make: No such
>>>>>> file or directory
>>>>>> BuildBootstrap.Makefile:3: /usr/bin/../../Make.inc: No such file or
>>>>>> directory
>>>>>> make: *** No rule to make target '/usr/bin/../../Make.inc'. Stop.
>>>>>> =================================[ ERROR: Cxx
>>>>>> ]=================================
>>>>>>
>>>>>> LoadError: failed process: Process(`make -f BuildBootstrap.Makefile
>>>>>> JULIA_HOME=/usr/bin`, ProcessExited(2)) [2]
>>>>>> while loading /home/kostav/.julia/v0.4/Cxx/deps/build.jl, in
>>>>>> expression starting on line 16
>>>>>>
>>>>>>
>>>>>> ================================================================================
>>>>>>
>>>>>> ================================[ BUILD ERRORS
>>>>>> ]================================
>>>>>>
>>>>>> WARNING: Cxx had build errors.
>>>>>>
>>>>>> - packages with build errors remain installed in
>>>>>> /home/kostav/.julia/v0.4
>>>>>> - build the package(s) and all dependencies with `Pkg.build("Cxx")`
>>>>>> - build a single package by running its `deps/build.jl` script
>>>>>>
>>>>>>
>>>>>> ================================================================================
>>>>>>
>>>>>>
>>>>>> I did try to search online about it and found some posts but didn't
>>>>>> manage to solve the issue, so in case there
>>>>>> are any suggestions I would be really glad to hear.
>>>>>>
>>>>>
>>>>>
>>>
>