Miscellaneous questions
Pedro Giffuni
pfg at FreeBSD.org
Fri May 3 19:05:33 UTC 2013
Hello;
El 03/05/2013 5:30 a. m., Dimitry Andric escribió:
...
>
>> 2.) Alternative linkers
>>
>> Is there a document available detailing the current feasible linkers
>> and their status?
>>
>> e.g., is it possible to build a working system with mclinker, gold,
>> etc., and what is the
>> process for accomplishing this? I'm willing to write up detailed
>> guides if someone
>> will provide the broad strokes of how to test this out.
>
> I am not aware of any documentation, but there have been a few efforts,
> by different people. In all cases, it seems to be highly experimental,
> and a lot of things might still be broken. The most interesting
> challenge is linking the kernel, of course. And custom linker scripts,
> written specifically for GNU ld.
>
FWIW, The Solaris people have lived with the problem of supporting
alternative linkers for a while and they came up with LD_ALTEXEC:
http://blogs.everycity.co.uk/alasdair/2011/03/using-the-gnu-ld-linker-on-solaris/
There even appears to be a proof-of-concept patch for binutils:
http://sourceware.org/bugzilla/show_bug.cgi?id=13863
Again FWIW, one of our linker experts says the patch is ugly but I
wouldn't spend time beautifying GNU ld anyways ;).
>
>> 4.) lldb status
>>
>> Is this described in detail anywhere?
>
I heard good things about it from a Mac developer but I haven't tried
it. We should look at it.
We should also start considering merging the elftoolchain.
Regards,
Pedro.
More information about the freebsd-toolchain
mailing list