[julia-users] Re: Error using Pkg.add

2014-08-10 Thread Patrick O'Leary
It appears that the system image is being built with instructions that your 
processor doesn't support. I believe as a quick fix you can remove the file 
sys.so though I'm not sure where that is put on the system in the binary 
package. What processor does this system have?

On Sunday, August 10, 2014 11:41:47 AM UTC-5, Pablo Zubieta wrote:

 I am currently using Ubuntu 14.04 and the Julia Nightlies PPA. Recently, I 
 updated to the 0.3.0-rc2 versions and I get the following error when trying 
 to add a package:

 signal (4): Illegal instruction
 _mapreduce at ./reduce.jl:168
 prune_versions at ./pkg/query.jl:141
 prune_dependencies at ./pkg/query.jl:335
 jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so 
 (unknown 
 line)
 resolve at ./pkg/entry.jl:379
 edit at pkg/entry.jl:24
 jl_apply_generic at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so 
 (unknown 
 line)
 anonymous at task.jl:340
 unknown function (ip: -1389497680)
 unknown function (ip: -1389497544)
 julia_trampoline at /usr/bin/../lib/x86_64-linux-gnu/julia/libjulia.so 
 (unknown 
 line)
 unknown function (ip: 4199613)
 __libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
 unknown function (ip: 4199667)
 unknown function (ip: 0)
 Illegal instruction

 Is there a way to fix this?



Re: [julia-users] Re: Error using Pkg.add

2014-08-10 Thread Elliot Saba
You can always find the system image by running the following julia command:

filter( x - contains(x, sys.), Sys.dllist())

That being said, we try to compile with a conservative set of CPU
instructions to avoid this problem. What is your CPU hardware, and are you
running inside of a virtual machine?
-E


[julia-users] Re: Error using Pkg.add

2014-08-10 Thread Pablo Zubieta
My processor is an AMD Turion X2. I was using the 0.3.0-rc1 version without 
a problem.



[julia-users] Re: Error using Pkg.add

2014-08-10 Thread Pablo Zubieta
Is it safe to remove the sys.so file?


[julia-users] Re: Error using Pkg.add

2014-08-10 Thread Tony Kelman
Yes, though removing it will make Julia take a bit longer to start. You can 
rename it to something if you want to keep a backup copy.


On Sunday, August 10, 2014 11:44:15 AM UTC-7, Pablo Zubieta wrote:

 Is it safe to remove the sys.so file?



[julia-users] Re: Error using Pkg.add

2014-08-10 Thread Pablo Zubieta
I renamed the file, but it does not sort out the problem.


[julia-users] Re: Error using Pkg.add

2014-08-10 Thread Tony Kelman
Could you post an issue on github, including the output of

versioninfo()

?

Unless Elliot or Patrick have any better ideas.


On Sunday, August 10, 2014 11:57:03 AM UTC-7, Pablo Zubieta wrote:

 I renamed the file, but it does not sort out the problem.



[julia-users] Re: Error using Pkg.add

2014-08-10 Thread Pablo Zubieta
I forgot to mention, I am not running a VM.


[julia-users] Re: Error using Pkg.add

2014-08-10 Thread Patrick O'Leary
On Sunday, August 10, 2014 2:01:20 PM UTC-5, Tony Kelman wrote:

 Could you post an issue on github, including the output of

 versioninfo()

 ?

 Unless Elliot or Patrick have any better ideas.


Nope. Turion 64 x2 appears to support up through SSE3, so the conservative 
settings from the binary should work. 
https://github.com/JuliaLang/julia/issues/new to file an issue. Please link 
to this thread and mention @staticfloat.

If you're running this under Linux, could you also post the output from `$ 
cat /proc/cpuinfo`?


[julia-users] Re: Error using Pkg.add

2014-08-10 Thread Pablo Zubieta
I can't see an sse3 flag in /proc/cpuinfo. Here it is anyway.

processor: 0
vendor_id: AuthenticAMD
cpu family: 17
model: 3
model name: AMD Turion(tm) X2 Dual-Core Mobile RM-70
stepping: 1
microcode: 0x232
cpu MHz: 500.000
cache size: 512 KB
physical id: 0
siblings: 2
core id: 0
cpu cores: 2
apicid: 0
initial apicid: 0
fpu: yes
fpu_exception: yes
cpuid level: 1
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt 
rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid 
pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch osvw 
skinit hw_pstate lbrv svm_lock nrip_save
bogomips: 4000.39
TLB size: 1024 4K pages
clflush size: 64
cache_alignment: 64
address sizes: 40 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor: 1
vendor_id: AuthenticAMD
cpu family: 17
model: 3
model name: AMD Turion(tm) X2 Dual-Core Mobile RM-70
stepping: 1
microcode: 0x232
cpu MHz: 2000.000
cache size: 512 KB
physical id: 0
siblings: 2
core id: 1
cpu cores: 2
apicid: 1
initial apicid: 1
fpu: yes
fpu_exception: yes
cpuid level: 1
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt 
rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid 
pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch osvw 
skinit hw_pstate lbrv svm_lock nrip_save
bogomips: 4000.39
TLB size: 1024 4K pages
clflush size: 64
cache_alignment: 64
address sizes: 40 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

Should I still open an issue?


[julia-users] Re: Error using Pkg.add

2014-08-10 Thread Patrick O'Leary
On Sunday, August 10, 2014 2:32:03 PM UTC-5, Pablo Zubieta wrote: 

 Should I still open an issue?


Yes, please. You should include that output in the issue.


[julia-users] Re: Error using Pkg.add

2014-08-10 Thread Pablo Zubieta
Done!

Here is the link to the issue https://github.com/JuliaLang/julia/issues/7946
.