On Fri, May 09, 2014 at 03:39:50PM -0400, Brian Callahan wrote: > > On 05/09/14 14:41, Pascal Stumpf wrote: > >On Fri, 09 May 2014 01:22:45 -0400, Brian Callahan wrote: > >>On 05/08/14 19:39, Tobias Ulmer wrote: > >>>I've invested some time into adding the mips64(el) backend. It gets > >>>quite far (xgcc seems to be fine), but then our ld takes a dump: > >>> > >>>/usr/bin/ld: not enough GOT space for local GOT entries > >>>/usr/bin/ld: BFD 2.15 internal error, aborting at > >>>/usr/src/gnu/usr.bin/binutils > >>> /bfd/elfxx-mips.c line 6483 in _bfd_mips_elf_relocate_section > >>> > >>>/usr/bin/ld: Please report this bug. > >>> > >>>Log: http://www.tmux.org/~tobiasu/tmp/gcc48-mips64-build.txt > >>> > >>>Others have run into this, and it's possibly fixed in newer binutils, > >>>but I have not been able to make sense of the BFD guts enough to fix ld. > >>> > >>> > >>>Question is, should I commit this in its current form so others can try > >>>their luck? I'm pretty sure this patch is 95% there. > >>Yes, please. > >> > >> > >Seconded. It's a known bug that's fixed in 2.17, iirc. > > Yup. I can confirm that.
Wait, so did you try this patch? Does it build? mips64 or mips64el?