Date: Wed, 12 Apr 2017 14:56:32 -0400 From: Nathan Burow <nburow@purdue.edu> To: <gecko@freebsd.org> Subject: Firefox 53.0 Bug Report - gold linker Message-ID: <439dfd63-0e6f-0d6f-2c17-492f5ea1d508@purdue.edu>
next in thread | raw e-mail | index | archive | help
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. uname -a: FreeBSD 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 ident /usr/ports/www/firefox/Makefile: /usr/ports/www/firefox/Makefile: $FreeBSD: head/www/firefox/Makefile 438318 2017-04-11 21:39:47Z jbeich To reproduce: $ make clean $ make BATCH=yes INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o") /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/Unified_cpp_js_src25.o: multiple definition of '__dtrace_javascript___object-create' /usr/bin/ld: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/jsarray.o: previous definition here /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/Unified_cpp_js_src25.o: multiple definition of '__dtraceenabled_javascript___object-create' /usr/bin/ld: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/jsarray.o: previous definition here /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/Unified_cpp_js_src34.o: multiple definition of '__dtraceenabled_javascript___function-return' /usr/bin/ld: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/Unified_cpp_js_src14.o: previous definition here /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/Unified_cpp_js_src8.o: multiple definition of '__dtraceenabled_javascript___function-return' /usr/bin/ld: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/Unified_cpp_js_src14.o: previous definition here /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/bin/ld: error: /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file /usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library/../../js/src/js-dtrace.o:/usr/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:__SUNW_dof: error: unexpected reloc 8 in object file c++: error: linker command failed with exit code 1 (use -v to see invocation) gmake[6]: *** [/usr/ports/www/firefox/work/firefox-53.0/config/rules.mk:803: libxul.so] Error 1 gmake[6]: Leaving directory '/usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0/toolkit/library' gmake[5]: *** [/usr/ports/www/firefox/work/firefox-53.0/config/recurse.mk:71: toolkit/library/target] Error 2 gmake[5]: Leaving directory '/usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0' gmake[4]: *** [/usr/ports/www/firefox/work/firefox-53.0/config/recurse.mk:33: compile] Error 2 gmake[4]: Leaving directory '/usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0' gmake[3]: *** [/usr/ports/www/firefox/work/firefox-53.0/config/rules.mk:522: default] Error 2 gmake[3]: Leaving directory '/usr/ports/www/firefox/work/firefox-53.0/obj-x86_64-unknown-freebsd11.0' gmake[2]: *** [/usr/ports/www/firefox/work/firefox-53.0/client.mk:419: realbuild] Error 2 gmake[2]: Leaving directory '/usr/ports/www/firefox/work/firefox-53.0' gmake[1]: *** [/usr/ports/www/firefox/work/firefox-53.0/client.mk:170: build] Error 2 gmake[1]: Leaving directory '/usr/ports/www/firefox/work/firefox-53.0' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/www/firefox -- Cheers, Nathan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?439dfd63-0e6f-0d6f-2c17-492f5ea1d508>