Firefox 53.0 Bug Report - gold linker

Jan Beich jbeich at FreeBSD.org
Thu Apr 13 23:10:19 UTC 2017


Nathan Burow <nburow at purdue.edu> writes:

>> On Apr 13, 2017, at 00:10, Jan Beich <jbeich at FreeBSD.org> wrote:
>> 
>> 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.
>
> should firefox be able to compile with the gold linker? I was hoping
> it was supported.

Using gold to link Firefox is supported but not with --enable-dtrace in
.mozconfig yet. Upstream bug didn't receive any attention because it
probably doesn't affect OS X. And none volunteerd with a fix.


More information about the freebsd-gecko mailing list