maintainer-feedback requested: [Bug 223680] www/firefox: DTRACE=on fails with /usr/bin/ld: error: ../../js/src/jsarray.o: string table non-null terminated
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Nov 15 11:53:26 UTC 2017
Jan Beich <jbeich at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to gecko at FreeBSD.org:
Bug 223680: www/firefox: DTRACE=on fails with /usr/bin/ld: error:
../../js/src/jsarray.o: string table non-null terminated
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223680
--- 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 invocation)
More information about the freebsd-gecko
mailing list