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

--- Comment #6 from John Hein <[email protected]> ---
By the way, using binutils [1] from ports to use a different ld fails when
linking libxul.so in a different way:

 .
 .
/usr/local/bin/ld: ../../js/src/js-dtrace.o: warning: relocation against
`_ZN2js13ExecuteKernelEP9JSContextN2JS6HandleIP8JSScriptEER8JSObjectRKNS2_5ValueENS_16AbstractFramePtrEPS9_'
in read-only section `.SUNW_dof'
/usr/local/bin/ld: read-only segment has dynamic relocations
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)


[1]
Index: Makefile
===================================================================
--- Makefile    (revision 491624)
+++ Makefile    (working copy)
@@ -28,6 +28,8 @@
                zip:archivers/zip

 SSP_UNSAFE=    yes
+USE_BINUTILS=  yes
+LDFLAGS+=-B/usr/local/bin
 USE_GECKO=     gecko
 USE_MOZILLA=   -webp

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "[email protected]"

Reply via email to