After waiting through about 2 hours of hard drive spinning for Clang to link under my Xubuntu Lucid Lynx Linux setup on VirtualBox, ld finally just gave up trying to link it. I was using CMake's build scripts on version 2.7 release of LLVM and Clang. The version of ld is (GNU Binutils for Ubuntu) 2.20.1-system.20100303. Can anyone confirm this problem? If needed I'll cross-post this to the Ubuntu forums. Thanks for your time.
On 05/05/2010 11:12 PM, Samuel Crow wrote:> After waiting through about 2 hours of hard drive spinning for Clang to link under my Xubuntu Lucid Lynx Linux setup on VirtualBox, ld finally just gave up trying to link it.How much memory? Debug or Release build?> I was using CMake's build scripts on version 2.7 release of LLVM and Clang. The version of ld is (GNU Binutils for Ubuntu) 2.20.1-system.20100303. Can anyone confirm this problem?FWIW I use the Debian version of it, GNU ld (GNU Binutils for Debian) 2.20.1-system.20100303, and never had problems with it. Best regards, --Edwin
Hi Samuel,> After waiting through about 2 hours of hard drive spinning for Clang to link under my Xubuntu Lucid Lynx Linux setup on VirtualBox, ld finally just gave up trying to link it. I was using CMake's build scripts on version 2.7 release of LLVM and Clang. The version of ld is (GNU Binutils for Ubuntu) 2.20.1-system.20100303. Can anyone confirm this problem? If needed I'll cross-post this to the Ubuntu forums. Thanks for your time.if you build without optimization then clang is huge and takes forever to link. Try building with optimization. Ciao, Duncan.
I build llvm+clang almost every day with Ubuntu 10.04. Everything goes fine. I guess it's your VirtualBox has too little memory. On Thu, May 6, 2010 at 4:12 AM, Samuel Crow <samuraileumas at yahoo.com> wrote:> After waiting through about 2 hours of hard drive spinning for Clang to > link under my Xubuntu Lucid Lynx Linux setup on VirtualBox, ld finally just > gave up trying to link it. I was using CMake's build scripts on version 2.7 > release of LLVM and Clang. The version of ld is (GNU Binutils for Ubuntu) > 2.20.1-system.20100303. Can anyone confirm this problem? If needed I'll > cross-post this to the Ubuntu forums. Thanks for your time. > > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100506/caab191b/attachment.html>
I've tried lots of times. Ubuntu 10.04 on both x86 and x64, nothing wrong. 2010/5/6 Samuel Crow <samuraileumas at yahoo.com>> After waiting through about 2 hours of hard drive spinning for Clang to > link under my Xubuntu Lucid Lynx Linux setup on VirtualBox, ld finally just > gave up trying to link it. I was using CMake's build scripts on version 2.7 > release of LLVM and Clang. The version of ld is (GNU Binutils for Ubuntu) > 2.20.1-system.20100303. Can anyone confirm this problem? If needed I'll > cross-post this to the Ubuntu forums. Thanks for your time. > > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100506/8f7b9fdf/attachment.html>
You're right, it was a memory issue. Today I'll start cleaning out my native toolchains so that I can build natively on my Mac without the virtual machine getting in the way.> >From: Zhongxing Xu <xuzhongxing at gmail.com> >To: Samuel Crow <samuraileumas at yahoo.com> >Cc: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu> >Sent: Thu, May 6, 2010 4:33:27 AM >Subject: Re: [LLVMdev] Another bad binutils? > >I build llvm+clang almost every day with Ubuntu 10.04. Everything goes fine. I guess it's your VirtualBox has too little memory. > > >On Thu, May 6, 2010 at 4:12 AM, Samuel Crow <samuraileumas at yahoo.com> wrote: > >After waiting through about 2 hours of hard drive spinning for Clang to link under my Xubuntu Lucid Lynx Linux setup on VirtualBox, ld finally just gave up trying to link it. I was using CMake's build scripts on version 2.7 release of LLVM and Clang. The version of ld is (GNU Binutils for Ubuntu) 2.20.1-system.20100303. Can anyone confirm this problem? If needed I'll cross-post this to the Ubuntu forums. Thanks for your time. >> >> >> >> >>_______________________________________________ >>LLVM Developers mailing list >>LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu/ >>http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100506/0a03a061/attachment.html>