[cfe-dev] ld linker freezes my computer

Andrew Pennebaker andrew.pennebaker at gmail.com
Mon Oct 15 14:06:19 PDT 2012


>
> Attempts to stop the linker with Control+C, quitting Terminal.app, Force
> Quit Applications, and Activity Monitor fail, as the system becomes too
> slow to process user input.
>
>
> Try running ‘top’ or the Activity Monitor window while you do this. It
> sounds like the linker is either consuming address space like crazy, or
> maybe forking like crazy.
>

My computer becomes very slow, too slow to type anything in Terminal.app,
and too slow to launch the Activity Monitor.


>
> In any case, as answered on your other thread, the program you’re trying
> to build isn’t going to work because it’s trying to use the Linux/BSD
> kernel call ABI instead of Mach’s. (But of course, the linker shouldn’t
> blow up like this even given bad input.)
>

This is discounted by the fact that the equivalent NASM
code<https://github.com/mcandre/mcandre/blob/master/nasm/hello/freebsd/hello.asm>is
fully functional in Mac OS X. Only the the GNU assembler syntax fails.

-- 
Cheers,

Andrew Pennebaker
www.yellosoft.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121015/c2f146c1/attachment.html>


More information about the cfe-dev mailing list