Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645222 - www-client/firefox-57.0.4 - heapsize: ld: undefined symbol: rx_additional_link_map_text
Summary: www-client/firefox-57.0.4 - heapsize: ld: undefined symbol: rx_additional_lin...
Status: RESOLVED DUPLICATE of bug 666100
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-21 09:57 UTC by Marco
Modified: 2018-09-25 07:38 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
firefox-57.0.4.log.tar.bz2 (firefox-57.0.4.log.tar.bz2,61.26 KB, application/x-bzip-compressed-tar)
2018-01-21 09:57 UTC, Marco
Details
emerge --info firefox (firefox_info.txt,16.96 KB, text/plain)
2018-01-30 20:53 UTC, Marco
Details
output of emerge --info for firefox-58.0.1 (emerge_info,16.92 KB, text/plain)
2018-02-15 00:26 UTC, Marco
Details
build.log for firefox-58.0.1 (build.log.tar.bz2,76.05 KB, application/x-bzip2)
2018-02-15 00:28 UTC, Marco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco 2018-01-21 09:57:08 UTC
Created attachment 515604 [details]
firefox-57.0.4.log.tar.bz2

Emerging Firefox v.57.0.4 fails in compilation phase.
Comment 1 Jory A. Pratt gentoo-dev 2018-01-21 22:10:52 UTC
Re-open with emerge --info
Comment 2 Marco 2018-01-30 20:53:35 UTC
Created attachment 517182 [details]
emerge --info firefox
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2018-01-30 22:37:11 UTC
Does this still occur with 58.0.1 ?
Comment 4 Marco 2018-02-15 00:26:24 UTC
Created attachment 519580 [details]
output of emerge --info for firefox-58.0.1
Comment 5 Marco 2018-02-15 00:28:46 UTC
Created attachment 519582 [details]
build.log for firefox-58.0.1
Comment 6 Marco 2018-02-15 00:29:30 UTC
Hello there. Fail a compilation time still present for Firefox-58.0.1
Comment 7 kceiw 2018-02-18 17:56:42 UTC
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?
Comment 8 kceiw 2018-02-18 18:05:40 UTC
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.
Comment 9 kceiw 2018-02-18 19:08:42 UTC
Just update. I recompile binutil-libs with multitarget and emerge firefox successfully.
Comment 10 Bernd Buschinski 2018-04-27 18:34:50 UTC
I can confirm that sys-libs/binutils-libs with multitarget help.
Not to be confused with sys-devel/binutils.
Comment 11 Jonas Jelten 2018-05-01 21:37:03 UTC
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.
Comment 12 Sergei Trofimovich (RETIRED) gentoo-dev 2018-09-25 07:38:42 UTC

*** This bug has been marked as a duplicate of bug 666100 ***