Firefox 53.0 Bug Report - gold linker

Jan Beich jbeich at FreeBSD.org
Thu Apr 13 04:08:23 UTC 2017


Nathan Burow <nburow at purdue.edu> writes:

> Hello,
>
> I'm trying to compile firefox 53.0 on a FreeBSD 11 VM (Virtual Box on
> Ubuntu
> 16.04). I've changed the linker to the gold linker, and it no longer
> builds. 
> The error output and other requested information is below.  This error
> appears
> identical to bug 200845 / 209952 from 2016-06-03. I attempted adding
> "--disable-gold" to MOZ_OPTIONS in the Makefile, but this had no effect. 

--disable-gold tells Firefox to not opportunistically use gold linker.
It does nothing with gold as ld in which case you may need to pass
-fuse-ld=bfd, -fuse-ld=lld or -B/path/to/not/gold via LDFLAGS.


More information about the freebsd-gecko mailing list