Hi all, 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! Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj
"陳韋任 (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.
Hi Óscar, On Tue, Sep 11, 2012 at 04:45:23AM +0200, Óscar Fuentes wrote:> "陳韋任 (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.But I already enable swap space, doesn't it help? Anyway, I'll try your suggestion. :) David, do you build LLVM/Clang in what mode? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj