From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: llvm-3.3 memory exhausted error
Date: Tue, 18 Jun 2013 15:42:06 +0200 [thread overview]
Message-ID: <20130618134206.GK6548@port70.net> (raw)
In-Reply-To: <CAGSZau3uDxphPZQFVegjoubVLeqBupY7c7EBK7as3tXx0-erTw@mail.gmail.com>
* plan9assembler <plan9assembler@gmail.com> [2013-06-18 22:03:53 +0900]:
> Linking Debug+Asserts executable clang
> /llvm-build/Debug+Asserts/lib/libLLVMCodeGen.a: could not read symbols:
> Memory exhausted
> collect2: error: ld returned 1 exit status
> ...
gnu ld ran out of memory as usual
(i dont think this issue is musl related)
google had the same problem so they wrote the gold linker
(you can try that, it's in binutils)
you can also try the magic flags
-Wl,--no-keep-memory,--reduce-memory-overheads
(this will make linking even slower)
you can try to run ld under valgrind to see if there are leaks
and report the bugs to binutils
alternatively buy more ram
or report the bug to llvm that their code is too bloated
prev parent reply other threads:[~2013-06-18 13:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-18 13:03 plan9assembler
2013-06-18 13:42 ` Szabolcs Nagy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130618134206.GK6548@port70.net \
--to=nsz@port70.net \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).