[cfe-dev] [clang] How can I make Linking clang faster?

Liu proljc at gmail.com
Thu Sep 22 02:04:58 PDT 2011


On Thu, Sep 22, 2011 at 5:02 PM, James Molloy <James.Molloy at arm.com> wrote:
> Hi Liu,
>
> If you use Gold as your linker, the link time memory usage is severely reduced.
>
> I've also found CTRL-C'ing the build close to the link step and rebuilding with -j1 to help too, so linking isn't done in parallel.
>
> Cheers,
>
> James

Thank you, James.

>
> -----Original Message-----
> From: cfe-dev-bounces at cs.uiuc.edu [mailto:cfe-dev-bounces at cs.uiuc.edu] On Behalf Of Liu
> Sent: 22 September 2011 09:17
> To: cfe-dev at cs.uiuc.edu
> Subject: [cfe-dev] [clang] How can I make Linking clang faster?
>
> Hi all
>
> When I build llvm with clang, the linking is so slow and ld have a
> high memory using, what can I do to solve this problem?
> The linking age make my compute very slow for a long time, because
> disk is reading/writing by ld.
>
> --Liu
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
> -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.
>
>




More information about the cfe-dev mailing list