JuliaLang/julia — Issue #379: Segfault while compiling on Ubuntu 11.10 64-bit
Author: crnixon
Created: 2012-02-18 21:44:22+00:00
State: open

I'm trying to compile Julia on Ubuntu 11.10 64-bit, and having a segfault. Here is what I'm seeing:

````
llvm[3]: Building Intrinsics.gen.tmp from Intrinsics.td
0 llvm-tblgen 0x000000000053856f
1 llvm-tblgen 0x00000000005389d9
2 libc.so.6 0x00002b9784440420
3 libstdc++.so.6 0x00002b9783fa5886 __dynamic_cast + 102
4 llvm-tblgen 0x000000000050832a
5 llvm-tblgen 0x000000000051c75e
6 llvm-tblgen 0x000000000051d0e6
7 llvm-tblgen 0x000000000051fcaa
8 llvm-tblgen 0x00000000004f5d2f
9 llvm-tblgen 0x00000000004eacb0
10 libc.so.6 0x00002b978442b30d __libc_start_main + 237
11 llvm-tblgen 0x0000000000404379
Stack dump:
0.	Program arguments: /usr/local/src/julia/external/llvm-3.0/Release/bin/llvm-tblgen -I /usr/local/src/julia/external/llvm-3.0/lib/VMCore -I /usr/local/src/julia/external/llvm-3.0/include -I /usr/local/src/julia/external/llvm-3.0/include -I /usr/local/src/julia/external/llvm-3.0/lib/Target /usr/local/src/julia/external/llvm-3.0/include/llvm/Intrinsics.td -o /usr/local/src/julia/external/llvm-3.0/lib/VMCore/Release/Intrinsics.gen.tmp -gen-intrinsic
make[3]: *** [/usr/local/src/julia/external/llvm-3.0/lib/VMCore/Release/Intrinsics.gen.tmp] Segmentation fault
make[2]: *** [all] Error 1
make[1]: *** [llvm-3.0/Release/lib/libLLVM-3.0.so] Error 2
make: *** [julia-release] Error 2
````

I'm not sure what's causing this, but can send any information about my machine that's needed. Here's `/proc/cpuinfo` to start with:

````

processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 20
model	: 1
model name	: AMD E-350 Processor
stepping	: 0
cpu MHz	: 800.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	: 6
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 pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor ssse3 cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch ibs skinit wdt arat npt lbrv svm_lock nrip_save pausefilter
bogomips	: 3192.98
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 20
model	: 1
model name	: AMD E-350 Processor
stepping	: 0
cpu MHz	: 800.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	: 6
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 pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor ssse3 cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch ibs skinit wdt arat npt lbrv svm_lock nrip_save pausefilter
bogomips	: 3193.26
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate
````