[cfe-dev] Fwd: Re: LLVM/.Clang: 'make' freeze ?

Török Edwin edwintorok at gmail.com
Sun Apr 10 14:06:38 PDT 2011



-------- Original Message --------
Subject: Re: [cfe-dev] LLVM/.Clang: 'make' freeze ?
Date: Sun, 10 Apr 2011 23:04:15 +0200
From: John Smith <lbalbalba at gmail.com>
To: Török Edwin <edwintorok at gmail.com>

Yup,

Adding the memory seems to resolve the issue.

Mayhaps there should be a min. memory requirement added to the
'building from source page' ?
Not sure what that should be exactly, but 512MB seems not enough, and
2GB does seem like enough.

On Fedora/Linux, anyway ...


Thnaks,


John Smith

2011/4/10 John Smith <lbalbalba at gmail.com>:
> Thanks,
>
>
> Maybe it is the RAM issue. Ive been trying to build in a VMWare
> virtualmachine/partition, with only 512 MB Ram. Trying again with a
> 2Gb partition/virtualmachine.
>
> running now ...
>
> Hope this helps ...
>
>
> Regards,
>
>
> John Smith
>
>
> 2011/4/10 Török Edwin <edwintorok at gmail.com>:
>> On 2011-04-10 22:38, John Smith wrote:
>>> Hi,
>>>
>>> Ive been trying to build llvm/clang from source, but at the point
>>> where the make reaches ' llvm[4]: Linking Debug+Asserts executable
>>> clang', it seems that the make just seems to freeze or become
>>
>> Try a release build, it needs less disk space and RAM to link.
>> And unless you intend to cross-compile, try --enable-targets=host-only.
>>
>>> unresponsive. When it reaches this point, almost no CPU/IO activity
>>> seems to take place, and yet the 'make' does not seem to progress any
>>> further either. Ive been waiting/watching at this point for quite some
>>> time now. In comparison, the 'linking' steps have taken more time than
>>> the 'compiling' steps, but this is getting ridiculous. Should this
>>> step really take a long time on a linux/fedora box ? Like, hours ? Is
>>
>> No, shouldn't take hours, it takes 6m 44s here to do a full
>> debug+asserts build of clang, out of which 1m is spent linking clang.
>>
>> What version of gcc and binutils are you using?
>> See http://llvm.org/docs/GettingStarted.html#brokengcc
>>
>>> something wrong with my system ? Or should I just let it run
>>> overnight, and see where we are tomorrow morning ?
>>
>> How much RAM do you have?
>>
>> Best regards,
>> --Edwin
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>
>



More information about the cfe-dev mailing list