Re: BSD ld (was Re: MCLinker and llvm-config)

2012-07-29 Thread David Chisnall
On 29 Jul 2012, at 16:08, Erik Cederstrand wrote: > MCLinker seems to me like the most promising project at the moment. But in > the end, working code is what counts :-) Agreed. The top requirement on my list was 'actually exists' for that exact reason: vapourware is of no interest. Unfortuna

Re: BSD ld (was Re: MCLinker and llvm-config)

2012-07-29 Thread Erik Cederstrand
Den 28/07/2012 kl. 16.15 skrev Pedro Giffuni: > Hello; > > The Elftoolchain project has been developing a BSD ld: > > http://sourceforge.net/apps/trac/elftoolchain/ > > > http://sourceforge.net/apps/trac/elftoolchain/browser/trunk/ld > > > I thought that would be the official FreeBSD imple

Re: BSD ld (was Re: MCLinker and llvm-config)

2012-07-29 Thread Luba Tang
> The linker's ELF generation support is similarly overlapping with that of > the compiler, and I would much rather that we have a single implementation > in the base system than two. > There are some thing I can share. One years ago, when we were brainstoming the idea of MCLinker, we also discuss

Re: BSD ld (was Re: MCLinker and llvm-config)

2012-07-29 Thread David Chisnall
On 28 Jul 2012, at 15:15, Pedro Giffuni wrote: > The Elftoolchain project has been developing a BSD ld: > > http://sourceforge.net/apps/trac/elftoolchain/ > > > http://sourceforge.net/apps/trac/elftoolchain/browser/trunk/ld > > > I thought that would be the official FreeBSD implementation.

Re: BSD ld (was Re: MCLinker and llvm-config)

2012-07-28 Thread Konstantin Belousov
On Sat, Jul 28, 2012 at 06:15:29PM +0200, Dimitry Andric wrote: > On 2012-07-28 16:15, Pedro Giffuni wrote: > > The Elftoolchain project has been developing a BSD ld: > > > > http://sourceforge.net/apps/trac/elftoolchain/ > > > > > > http://sourceforge.net/apps/trac/elftoolchain/browser/trunk/l

Re: BSD ld (was Re: MCLinker and llvm-config)

2012-07-28 Thread Dimitry Andric
On 2012-07-28 16:15, Pedro Giffuni wrote: > The Elftoolchain project has been developing a BSD ld: > > http://sourceforge.net/apps/trac/elftoolchain/ > > > http://sourceforge.net/apps/trac/elftoolchain/browser/trunk/ld > > > I thought that would be the official FreeBSD implementation. Let's

BSD ld (was Re: MCLinker and llvm-config)

2012-07-28 Thread Pedro Giffuni
Hello; The Elftoolchain project has been developing a BSD ld: http://sourceforge.net/apps/trac/elftoolchain/  http://sourceforge.net/apps/trac/elftoolchain/browser/trunk/ld  I thought that would be the official FreeBSD implementation. cheers, Pedro. _

Re: MCLinker and llvm-config

2012-07-25 Thread Erik Cederstrand
Luba, Thanks for the update. Den 25/07/2012 kl. 11.22 skrev Luba Tang: > BTW, I think llvm-config is necessary for every LLVM-based project. If it > will not be in BSD system, I think we can negotiate an approach to get rid > of it. I created a FreeBSD port for llvm-config for testing MCLinker,

Re: MCLinker and llvm-config

2012-07-25 Thread Luba Tang
2012/7/25 David Chisnall > On 25 Jul 2012, at 10:22, Luba Tang wrote: > > > Let me explain the status of MCLinker. > > MCLinker now is one of the standard system linkers in Android system. > > https://android.googlesource.com/platform/frameworks/compile/mclinker > > It looks like MCLinker has mad

Re: MCLinker and llvm-config

2012-07-25 Thread David Chisnall
On 25 Jul 2012, at 10:22, Luba Tang wrote: > Let me explain the status of MCLinker. > MCLinker now is one of the standard system linkers in Android system. > https://android.googlesource.com/platform/frameworks/compile/mclinker It looks like MCLinker has made a lot of progress since I last checke

MCLinker and llvm-config

2012-07-25 Thread Luba Tang
> On 24 Jul 2012, at 10:39, Erik Cederstrand wrote: >> Btw, do you guys have any plans for a GNU ld replacement? Progress on the more "official" lld (http://lld.llvm.org/) seems slow, and MCLinker more promising. Hence my feeble attempts :-) > Most of the progress in lld is not in lld itself, but

Re: MCLinker and llvm-config

2012-07-24 Thread David Chisnall
On 24 Jul 2012, at 10:39, Erik Cederstrand wrote: > Btw, do you guys have any plans for a GNU ld replacement? Progress on the > more "official" lld (http://lld.llvm.org/) seems slow, and MCLinker more > promising. Hence my feeble attempts :-) Most of the progress in lld is not in lld itself, bu

Re: MCLinker and llvm-config

2012-07-24 Thread Erik Cederstrand
Hi Dimitry, Den 24/07/2012 kl. 11.15 skrev Dimitry Andric: > On 2012-07-24 11:02, Erik Cederstrand wrote: >> I'm creating a FreeBSD port for MCLinker >> (http://code.google.com/p/mclinker/) in preparation of MCLinker working >> without patching LLVM, and testing MCLinker as a system linker when

Re: MCLinker and llvm-config

2012-07-24 Thread Dimitry Andric
On 2012-07-24 11:02, Erik Cederstrand wrote: > I'm creating a FreeBSD port for MCLinker (http://code.google.com/p/mclinker/) > in preparation of MCLinker working without patching LLVM, and testing > MCLinker as a system linker when it gets far enough. > > In the configure stage, MCLinker needs t

MCLinker and llvm-config

2012-07-24 Thread Erik Cederstrand
Hi list, I'm creating a FreeBSD port for MCLinker (http://code.google.com/p/mclinker/) in preparation of MCLinker working without patching LLVM, and testing MCLinker as a system linker when it gets far enough. In the configure stage, MCLinker needs to run llvm-config, which is not installed by