Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2017 11:53:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 223680] www/firefox: DTRACE=on fails with /usr/bin/ld: error: ../../js/src/jsarray.o: string table non-null terminated
Message-ID:  <bug-223680-21738-8T2H1MTm1b@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223680-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223680-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Jan Beich <jbeich@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to gecko@FreeBSD.o=
rg:
Bug 223680: www/firefox: DTRACE=3Don fails with /usr/bin/ld: error:
../../js/src/jsarray.o: string table non-null terminated
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223680



--- Description ---
I'd like to use lld in order to fix bug 222641. jsarray.o links fine until
processed by dtrace -G. bfd and gold are unaffected. Any clue why?

$ c++ -v
FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on LLVM
5.0.0svn)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin

$ ln -fs ld.lld /usr/bin/ld
$ c++ -Wl,-V
LLD 5.0.0 (FreeBSD 312559) (compatible with GNU linkers)

$ sed -i '.bak' '/LLD_UNSAFE/d' /usr/ports/Mk/bsd.gecko.mk
$ cd /usr/ports/www/firefox
$ make
[...]
/usr/bin/ld: error: ../../js/src/jsarray.o: string table non-null terminated
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223680-21738-8T2H1MTm1b>