It's not broken, dmd is emitting an arguably invalid elf section.

On Sun, May 3, 2015 at 12:34 PM, Joakim via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
On Sunday, 3 May 2015 at 16:02:54 UTC, Joakim wrote:
On Sunday, 3 May 2015 at 15:06:24 UTC, flamencofantasy wrote:
Thanks everyone for spending the time on this!

I followed the steps and I got to the same point, that is I have built DMD, druntime and phobos successfully but linking fails as pointed out previously.

My version of binutils is;
binutils-2.24nb3;GNU binary utilities

Same here.  Kai, do we need to get 2.25 or is 2.24 good enough?

Hmm, looking at the linker command invoked by gcc, it says it's calling collect2, but it also spits out a version string for the Solaris linker, so maybe it's really using that.  I'm not interested in debugging the broken Solaris toolchain, so I'll leave it here.