Displaying 1 result from an estimated 1 matches for "timberc".
Did you mean:
timber
2010 May 04
0
[LLVMdev] llvm-ld (and pthreads) problem
...tables with
llvm-ld. Both TimberLLVMLIB and TimberLLVMRTS is compiled into bitcode
files and archived with llvm-ar. Everything works fine when using the
flag -disable-opt
llvm-ld -Xlinker='-pthread' -Xlinker='-m32' -native -disable-opt
-L/home/capitrane/local/timber-llvm//share/timberc-1.0.3/rtsPOSIX
ConcMap.bc ParPrimes.bc main.bc -o ParPrimes -lTimberLLVMRTS
-lTimberLLVMLIB -v
The generated file executes correctly. But when the flag -disable-opt
is removed to introduce link-time optimizations the generated program
segfaults.
llvm-ld -Xlinker='-pthread' -Xlinker=...