https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223680

            Bug ID: 223680
           Summary: www/firefox: DTRACE=on fails with /usr/bin/ld: error:
                    ../../js/src/jsarray.o: string table non-null
                    terminated
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ge...@freebsd.org
          Reporter: jbe...@freebsd.org
                CC: freebsd-dtr...@freebsd.org
            Blocks: 214864
          Assignee: ge...@freebsd.org
             Flags: maintainer-feedback?(ge...@freebsd.org)

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)


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864
[Bug 214864] [exp-run] test build with lld as /usr/bin/ld
-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"

Reply via email to