[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #31448 [Applications/Tor Browser]: gold and lld break linking 32bit Linux bundles we need to resort to bfd



#31448: gold and lld break linking 32bit Linux bundles we need to resort to bfd
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-rbm, ff68-esr, tbb-9.0-must-     |  Actual Points:
  alpha, TorBrowserTeam201909                    |
Parent ID:  #30321                               |         Points:  2
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor44-can
-------------------------------------------------+-------------------------

Comment (by boklm):

 `gold` is working if we disable debug infos, and remove the `--verbose`
 option from `./mach build`. This is also fixing #31618.

 With the `--verbose` option, the build fails with the error:
 {{{
 20:23.94 [style 0.0.1] cargo:rerun-if-changed=/var/tmp/build/firefox-
 80f3dafdd420/obj-i686-pc-linux-gnu/dist/include/nsISelectionController.h
 20:23.94 thread 'main' panicked at 'stack backtrace:
 20:23.94    0:     0x556c358f0aaf -
 std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h304be3226173ed42
 20:23.94                                at
 src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
 20:23.94    1:     0x556c358d7027 -
 std::sys_common::backtrace::print::hd25e8e60339fbb32
 20:23.94                                at
 src/libstd/sys_common/backtrace.rs:70
 20:23.94                                at
 src/libstd/sys_common/backtrace.rs:58
 20:23.94    2:     0x556c358f6131 -
 std::panicking::default_hook::{{closure}}::h03a7ac06911d91f6
 20:23.94                                at src/libstd/panicking.rs:200
 20:23.94    3:     0x556c358f5eb3 -
 std::panicking::default_hook::hf698310ff6948dc9
 20:23.94                                at src/libstd/panicking.rs:215
 20:23.94    4:     0x556c358f681f -
 std::panicking::rust_panic_with_hook::h1110d0ebea64132e
 20:23.94                                at src/libstd/panicking.rs:478
 20:23.94    5:     0x556c358f63b1 -
 std::panicking::continue_panic_fmt::h021e998d93d9aaa2
 20:23.94                                at src/libstd/panicking.rs:385
 20:23.94    6:     0x556c358f62fe -
 std::panicking::begin_panic_fmt::h77660097330c47c3
 20:23.94                                at src/libstd/panicking.rs:340
 20:23.94    7:     0x556c358ed576 -
 std::io::stdio::_print::h6e57cfdb1b772a9e
 20:23.94                                at src/libstd/io/stdio.rs:735
 20:23.94                                at src/libstd/io/stdio.rs:744
 20:23.94    8:     0x556c3550d9aa -
 cargo::core::compiler::job_queue::JobQueue::drain_the_queue::hffcf682cf810a238
 20:23.94    9:     0x556c35549954 -
 std::panicking::try::do_call::h66c050aaf8a469a2
 20:23.94   10:     0x556c358f9829 - __rust_maybe_catch_panic
 20:23.94                                at src/libpanic_unwind/lib.rs:87
 20:23.94   11:     0x556c35602eb4 -
 crossbeam_utils::thread::scope::hf1785210d8a5b66b
 20:23.94   12:     0x556c3550b981 -
 cargo::core::compiler::job_queue::JobQueue::execute::h09f1e669b485a855
 20:23.94   13:     0x556c3555ecc1 -
 cargo::core::compiler::context::Context::compile::h8a68efdbc0494af1
 20:23.94   14:     0x556c35331d10 -
 cargo::ops::cargo_compile::compile_ws::hd78d2523b7ad97f6
 20:23.94   15:     0x556c3532dfd8 -
 cargo::ops::cargo_compile::compile::h509beaa3ec4c3493
 20:23.94   16:     0x556c3529033b -
 cargo::commands::rustc::exec::h3b4e359c9f17ec05
 20:23.94   17:     0x556c3527ce55 - cargo::cli::main::hc45236825e872f74
 20:23.94   18:     0x556c3529b01f - cargo::main::hda5e03499791a40b
 20:23.94   19:     0x556c35290ea2 -
 std::rt::lang_start::{{closure}}::h6ad13ea773945a56
 20:23.94   20:     0x556c358f6232 -
 std::panicking::try::do_call::h89d6bcd43bef83f4
 20:23.94                                at src/libstd/rt.rs:49
 20:23.94                                at src/libstd/panicking.rs:297
 20:23.94   21:     0x556c358f9829 - __rust_maybe_catch_panic
 20:23.94                                at src/libpanic_unwind/lib.rs:87
 20:23.94   22:     0x556c358ea51f -
 std::rt::lang_start_internal::h6d57f5d29fcde9f1
 20:23.94                                at src/libstd/panicking.rs:276
 20:23.94                                at src/libstd/panic.rs:388
 20:23.94                                at src/libstd/rt.rs:48
 20:23.94   23:     0x556c3529d641 - main
 20:23.94   24:     0x2adc4abcfeac - __libc_start_main
 20:23.94   25:     0x556c35272248 - <unknown>
 22:19.92 [style 0.0.1] cargo:rerun-if-changed=/var/tmp/build/firefox-
 80f3dafdd420/obj-i686-pc-linux-gnu/dist/include/mozilla/dom/TouchBinding.h
 22:19.92 make[4]: *** [force-cargo-library-build] Error 101
 22:19.92 make[4]: Leaving directory `/var/tmp/build/firefox-
 80f3dafdd420/obj-i686-pc-linux-gnu/toolkit/library/rust'
 22:19.92 make[3]: *** [toolkit/library/rust/target] Error 2
 22:19.92 make[3]: Leaving directory `/var/tmp/build/firefox-
 80f3dafdd420/obj-i686-pc-linux-gnu'
 22:19.92 make[2]: *** [compile] Error 2
 22:19.92 make[2]: Leaving directory `/var/tmp/build/firefox-
 80f3dafdd420/obj-i686-pc-linux-gnu'
 22:19.92 make[1]: *** [default] Error 2
 22:19.92 make[1]: Leaving directory `/var/tmp/build/firefox-
 80f3dafdd420/obj-i686-pc-linux-gnu'
 22:19.92 make: *** [build] Error 2
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31448#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs