Created attachment 515604 [details] firefox-57.0.4.log.tar.bz2 Emerging Firefox v.57.0.4 fails in compilation phase.
Re-open with emerge --info
Created attachment 517182 [details] emerge --info firefox
Does this still occur with 58.0.1 ?
Created attachment 519580 [details] output of emerge --info for firefox-58.0.1
Created attachment 519582 [details] build.log for firefox-58.0.1
Hello there. Fail a compilation time still present for Firefox-58.0.1
It happens to me when I emerge 58.0.1 too. Is there any more information I can provide? And is there any work around?
fedeliallalinea in Gentoo Forum points me to this bug https://bugs.gentoo.org/646660 It fails at = note: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: symbol lookup error: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: undefined symbol: rx_additional_link_map_text Just FYI. I don't know enough to determine they are the issue.
Just update. I recompile binutil-libs with multitarget and emerge firefox successfully.
I can confirm that sys-libs/binutils-libs with multitarget help. Not to be confused with sys-devel/binutils.
Same error for me with firefox-59.0.2, fixed by building binutils-libs[multitarget]. I have llvm[gold]. The question is where this flag should be enforced. Firefox? Rust? llvm? My guess would be that llvm should require binutils-libs with multitarget flag? I'm not sure. 2:08.38 libxpcom_base.a.desc 2:08.52 Compiling moz_cbor v0.1.0 2:11.13 Compiling log v0.3.8 2:11.92 Compiling cose v0.1.4 2:12.18 error: linking with `/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/build/cargo-linker` failed: exit code: 1 2:12.18 | 2:12.18 = note: "/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/build/cargo-linker" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-cc1169f4082ef308/build_script_build-cc1169f4082ef308.build_script_build0-9f0b091e4943bd91373de3bfa406654f.rs.rcgu.o" "/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-cc1169f4082ef308/build_script_build-cc1169f4082ef308.build_script_build1-9f0b091e4943bd91373de3bfa406654f.rs.rcgu.o" "/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-cc1169f4082ef308/build_script_build-cc1169f4082ef308.build_script_build2-9f0b091e4943bd91373de3bfa406654f.rs.rcgu.o" "/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-cc1169f4082ef308/build_script_build-cc1169f4082ef308.build_script_build3-9f0b091e4943bd91373de3bfa406654f.rs.rcgu.o" "/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-cc1169f4082ef308/build_script_build-cc1169f4082ef308.build_script_build4-9f0b091e4943bd91373de3bfa406654f.rs.rcgu.o" "/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-cc1169f4082ef308/build_script_build-cc1169f4082ef308.build_script_build5-9f0b091e4943bd91373de3bfa406654f.rs.rcgu.o" "/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-cc1169f4082ef308/build_script_build-cc1169f4082ef308.build_script_build6-9f0b091e4943bd91373de3bfa406654f.rs.rcgu.o" "/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-cc1169f4082ef308/build_script_build-cc1169f4082ef308.build_script_build7-9f0b091e4943bd91373de3bfa406654f.rs.rcgu.o" "/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-cc1169f4082ef308/build_script_build-cc1169f4082ef308.build_script_build8-9f0b091e4943bd91373de3bfa406654f.rs.rcgu.o" "-o" "/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-cc1169f4082ef308/build_script_build-cc1169f4082ef308" "/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-cc1169f4082ef308/build_script_build-cc1169f4082ef308.crate.allocator.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/deps" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eac23794ba75fb4b.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d5b7573dbd2a97c9.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-7c830959f384e571.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-7bd2cd501470f8b9.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-cadd016c00b5de2d.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a0b32af18d16dc87.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-b41182f137394261.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd_unicode-cf4a399ac45042a2.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcore-40f5c600e4b14118.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-692482667ecd1289.rlib" "-Wl,-Bdynamic" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util" "-l" "util" 2:12.19 = note: /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: symbol lookup error: /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: undefined symbol: rx_additional_link_map_text 2:12.19 collect2: error: ld returned 127 exit status 2:12.19 2:12.19 2:12.19 error: aborting due to previous error 2:12.19 2:12.21 error: Could not compile `cose`. 2:12.21 2:12.21 To learn more, run the command again with --verbose.
*** This bug has been marked as a duplicate of bug 666100 ***