[LLVMdev] Stuck on linking llc on ARM

Óscar Fuentes ofv at wanadoo.es
Mon Sep 10 19:45:23 PDT 2012


"陳韋任 (Wei-Ren Chen)" <chenwj at iis.sinica.edu.tw> writes:

>   I have been stuck on compiling LLVM/Clang (r163485) on pandaboard which has
> following configuration,
>
>   - Ubuntu 11.04 + 1G Mem + 1G Swap + 32G SD card
>   - GCC 4.5.2
>   - GNU gold (GNU Binutils for Ubuntu 2.21.0.20110327) 1.11
>
> The compiling process stucks on linking llc, I am pretty surprised on
> this. Anyone has similar issue or any idea? Thanks!

Are you building for Release or Debug? Debug is the default mode and it
requires lots of memory for linking. As stated on the Getting Started
document, for building in Release mode pass

--enable-optimized

to the configure script.




More information about the llvm-dev mailing list