Hi LLVMdev,
The stuff I am working on requires linking 9-10 LLVM
libraries, along with a few libs of my own. The linker is
taking a long time to do that, about 6 mins (on a P4 with
512 MB mem). I tried the latest (2.14) release of binutils,
but that didn't help. Is anyone aware of any solution to this?
Thanks,
Rahul
Rahul Joshi wrote:
Hi LLVMdev,
The stuff I am working on requires linking 9-10 LLVM
libraries, along with a few libs of my own. The linker is
taking a long time to do that, about 6 mins (on a P4 with
512 MB mem). I tried the latest (2.14) release of binutils, but that didn't help. Is anyone aware of any solution to this?
You may want to try the latest binutils from:
ftp://ftp.kernel.org/pub/linux/devel/binutils/
ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-2.14.90.0.8.tar.bz2
or
ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-2.14.90.0.8.tar.gz
Try downloading and building binutils from CVS. For me, it sped up
linking "opt" from 61 -> 9s. Other hints: make sure that the build tree
is on a local disk, not over NFS.
-Chris