Re: 1 GB limit on total object files size for linking?
Re: 1 GB limit on total object files size for linking?
- Subject: Re: 1 GB limit on total object files size for linking?
- From: "Helmut Brandt" <email@hidden>
- Date: Tue, 28 Aug 2007 11:19:31 -0700
On Tue, 28 Aug 2007 16:55:43 +0200, "Jonas Maebe"
<email@hidden> said:
> The error you posted earlier:
>
> > /usr/bin/ld: can't vm_allocate() buffer for output file of size
> > 1235753308 ((os/kern) no space available)
> > collect2: ld returned 1 exit status
>
> means that ld tried to allocate a block of 1.2GB of contiguous
> memory, but that it was no longer available. This has nothing to do
> with the amount of RAM you have installed, but means that there's no
> such contiguous block available anymore in ld's virtual memory space.
>
> The problem is in ld, it probably has to be rewritten so that it no
> longer requires that the entire finished binary can fit into ram (or
> at least not in a single contiguous block of memory).
Jonas - Thanks for the reply, but I am a bit confused. You say first
that "This has nothing to do with the amount of RAM you have installed",
but then go on to say that "ld probably has to be rewritten so that it
no longer requires that the entire finished binary can fit into RAM".
The latter comment seems to imply that more RAM might help??
> Compiling the program for 64 bit might help (not because ld64 is a 64
> bit program, but because ld64 is completely different from the 32 bit
> ld and possibly does not have the above mentioned requirement).
I am not familiar with ld64, but am willing to give it a shot. I have
several questions regarding this:
1: I have a Mac Min Core Duo (not Core 2 Duo). Will ld64 run on this?
2: If ld64 can run on this processor, can the executable?
3: Do I need Leopard for 64 bit?
4: Can I direct Xcode to use ld64, or do I have to run it manually from
the terminal?
Thanks,
Helmut
> Jonas
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
Helmut Brandt
email@hidden
--
http://www.fastmail.fm - Faster than the air-speed velocity of an
unladen european swallow
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden