Date: Fri, 03 May 2013 14:03:21 -0500 From: Pedro Giffuni <pfg@FreeBSD.org> To: freebsd-toolchain@freebsd.org Subject: Re: Miscellaneous questions Message-ID: <518409F9.6030909@FreeBSD.org> In-Reply-To: <518391E2.5000002@FreeBSD.org> References: <CC4D1CB7-1F31-4B46-B0A8-91BBC4F7065A@furosys.com> <518391E2.5000002@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?518409F9.6030909>