Skip to content

unexpected panic while compiling firefox on arm64 #49281

Closed
@khumarahn

Description

@khumarahn

Hi, I see this strange error while trying to compile firefox-59.0.1 with rust-1.23 on arm64 laptop running gentoo linux. It says, my bug report would be appreciated. I'd also appreciate any feedback.

I would be happy to provide any additional information.

   Compiling quote v0.3.15
   Compiling peeking_take_while v0.1.2
   Compiling glob v0.2.11
error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.23.0-dev running on aarch64-unknown-linux-gnu

note: run with `RUST_BACKTRACE=1` for a backtrace

thread 'rustc' panicked at 'other was less than the current instant', src/libstd/sys/unix/time.rs:284:16
stack backtrace:
   0:       0x7f9e7de973 - rust_metadata_std_5958eddae63d6947e0733521fc5435ed
   1:       0x7f9e7da9d7 - rust_metadata_std_5958eddae63d6947e0733521fc5435ed
   2:       0x7f9e7e9f3f - rust_metadata_std_5958eddae63d6947e0733521fc5435ed
   3:       0x7f9e7e9c4f - rust_metadata_std_5958eddae63d6947e0733521fc5435ed
   4:       0x7f9e7ea443 - std::panicking::rust_panic_with_hook::h22b280fc4fc0de87
   5:       0x7f9e7ea303 - rust_metadata_std_5958eddae63d6947e0733521fc5435ed
   6:       0x7f9e7d9eb7 - std::time::Instant::elapsed::hf802fe319eded9b8
   7:       0x7f9da24283 - <unknown>
   8:       0x7f9da4965b - <unknown>
   9:       0x7f9cd3199b - rust_metadata_rustc_3ea30897d9dddf7b5fa3a6c2523637e7
  10:       0x7f9cf028f7 - rust_metadata_rustc_3ea30897d9dddf7b5fa3a6c2523637e7
  11:       0x7f9cc1cd2b - rust_metadata_rustc_3ea30897d9dddf7b5fa3a6c2523637e7
  12:       0x7f9d09b153 - <unknown>
  13:       0x7f9cd31a33 - rust_metadata_rustc_3ea30897d9dddf7b5fa3a6c2523637e7
  14:       0x7f9cd320ff - rustc::ty::maps::<impl rustc::ty::maps::queries::symbol_name<'tcx>>::try_get::hf71dec19792cb774
  15:       0x7f9ce83073 - rustc::ty::maps::TyCtxtAt::symbol_name::hf81eb960dfd03136
  16:       0x7f9d0ae4f3 - rustc::ty::maps::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::symbol_name::hd40df66149759931
  17:       0x7f9d984003 - <unknown>
  18:       0x7f9d9609c7 - <unknown>
  19:       0x7f9d984fc3 - <unknown>
  20:       0x7f9cd7a433 - rust_metadata_rustc_3ea30897d9dddf7b5fa3a6c2523637e7
  21:       0x7f9cf0ad07 - rust_metadata_rustc_3ea30897d9dddf7b5fa3a6c2523637e7
  22:       0x7f9cc1e81b - rust_metadata_rustc_3ea30897d9dddf7b5fa3a6c2523637e7
  23:       0x7f9d081dbb - <unknown>
  24:       0x7f9cd7a4af - rust_metadata_rustc_3ea30897d9dddf7b5fa3a6c2523637e7
  25:       0x7f9cd7a9df - rustc::ty::maps::<impl rustc::ty::maps::queries::exported_symbols<'tcx>>::try_get::h7cd7159316d987b4
  26:       0x7f9ce870e3 - rustc::ty::maps::TyCtxtAt::exported_symbols::h35b6eb150f9aa7b2
  27:       0x7f9d0af0df - rustc::ty::maps::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::exported_symbols::h69dd1a8087b4ddb7
  28:       0x7f9da0be0f - <unknown>
  29:       0x7f9da0b253 - rustc_trans::back::write::start_async_translation::hd810efc5779dac71
  30:       0x7f9da4ea93 - rustc_trans::base::trans_crate::h1ab479cd2e56d359
  31:       0x7f9d9f930f - <rustc_trans::LlvmTransCrate as rustc_trans_utils::trans_crate::TransCrate>::trans_crate::hf0c11cb959ccfc0e
  32:       0x7f9e9b987f - <unknown>
  33:       0x7f9e949f1b - <unknown>
  34:       0x7f9e9a949f - <unknown>
  35:       0x7f9e9a1967 - <unknown>
  36:       0x7f9e99ed5f - <unknown>
  37:       0x7f9e910633 - <unknown>
  38:       0x7f9e9462ff - rustc_driver::driver::compile_input::h10487c1bd068aca0
  39:       0x7f9e9952bb - rustc_driver::run_compiler::h90c48c1cfea93e36
  40:       0x7f9e92682b - <unknown>
  41:       0x7f9e7f5d17 - __rust_maybe_catch_panic
  42:       0x7f9e988733 - <unknown>
  43:       0x7f9e7e8e6f - rust_metadata_std_5958eddae63d6947e0733521fc5435ed
  44:       0x7f9c3f25bb - <unknown>

error: Could not compile `glob`.
warning: build failed, waiting for other jobs to finish...
error: build failed
gmake[4]: *** [/var/tmp/portage/www-client/firefox-59.0.1/work/mozilla-release-3db9e3d52b17563efca181ccbb50deb8660c59ae/config/rules.mk:972: force-cargo-library-build] Error 101
gmake[3]: *** [/var/tmp/portage/www-client/firefox-59.0.1/work/mozilla-release-3db9e3d52b17563efca181ccbb50deb8660c59ae/config/recurse.mk:73: toolkit/library/rust/target] Error 2
gmake[2]: *** [/var/tmp/portage/www-client/firefox-59.0.1/work/mozilla-release-3db9e3d52b17563efca181ccbb50deb8660c59ae/config/recurse.mk:33: compile] Error 2
gmake[1]: *** [/var/tmp/portage/www-client/firefox-59.0.1/work/mozilla-release-3db9e3d52b17563efca181ccbb50deb8660c59ae/config/rules.mk:434: default] Error 2
gmake: *** [client.mk:168: build] Error 2
0 compiler warnings present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions