Remoting is not enabled on Tier3 platforms, so building audio_thread_priority brings no benefit. https://searchfox.org/mozilla-central/rev/543e1fbd04a8/dom/media/CubebUtils.cpp#60-63 https://searchfox.org/mozilla-central/rev/543e1fbd04a8/toolkit/library/rust/gkrust-features.mozbuild#26-29 $ c++ -v FreeBSD clang version 8.0.1 (branches/release_80 363030) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin $ rustc -vV rustc 1.37.0-nightly binary: rustc commit-hash: b25ee644971a commit-date: 2019-06-17 host: x86_64-unknown-freebsd release: 1.37.0-nightly LLVM version: 8.0 $ ./mach bootstrap $ ./mach build [...] error[E0412]: cannot find type `RtPriorityHandleInternal` in this scope --> third_party/rust/audio_thread_priority/src/lib.rs:52:29 | 52 | pub type RtPriorityHandle = RtPriorityHandleInternal; | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `RtPriorityHandle` error[E0425]: cannot find function `promote_current_thread_to_real_time_internal` in this scope --> third_party/rust/audio_thread_priority/src/lib.rs:73:12 | 73 | return promote_current_thread_to_real_time_internal(audio_buffer_frames, audio_samplerate_hz); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `promote_current_thread_to_real_time` error[E0425]: cannot find function `demote_current_thread_from_real_time_internal` in this scope --> third_party/rust/audio_thread_priority/src/lib.rs:87:12 | 87 | return demote_current_thread_from_real_time_internal(handle); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `demote_current_thread_from_real_time` warning: unused `#[macro_use]` import --> third_party/rust/audio_thread_priority/src/lib.rs:9:1 | 9 | #[macro_use] | ^^^^^^^^^^^^ | = note: #[warn(unused_imports)] on by default error: aborting due to 3 previous errors Some errors have detailed explanations: E0412, E0425. For more information about an error, try `rustc --explain E0412`. error: Could not compile `audio_thread_priority`.
Bug 1560720 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Remoting is not enabled on Tier3 platforms, so building audio_thread_priority brings no benefit. https://searchfox.org/mozilla-central/rev/543e1fbd04a8/dom/media/CubebUtils.cpp#60-63 https://searchfox.org/mozilla-central/rev/543e1fbd04a8/toolkit/library/rust/gkrust-features.mozbuild#26-29 $ c++ -v FreeBSD clang version 8.0.1 (branches/release_80 363030) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin $ rustc -vV rustc 1.37.0-nightly binary: rustc commit-hash: b25ee644971a commit-date: 2019-06-17 host: x86_64-unknown-freebsd release: 1.37.0-nightly LLVM version: 8.0 $ ./mach bootstrap $ ./mach build [...] error[E0412]: cannot find type `RtPriorityHandleInternal` in this scope --> third_party/rust/audio_thread_priority/src/lib.rs:52:29 | 52 | pub type RtPriorityHandle = RtPriorityHandleInternal; | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `RtPriorityHandle` error[E0425]: cannot find function `promote_current_thread_to_real_time_internal` in this scope --> third_party/rust/audio_thread_priority/src/lib.rs:73:12 | 73 | return promote_current_thread_to_real_time_internal(audio_buffer_frames, audio_samplerate_hz); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `promote_current_thread_to_real_time` error[E0425]: cannot find function `demote_current_thread_from_real_time_internal` in this scope --> third_party/rust/audio_thread_priority/src/lib.rs:87:12 | 87 | return demote_current_thread_from_real_time_internal(handle); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `demote_current_thread_from_real_time` warning: unused `#[macro_use]` import --> third_party/rust/audio_thread_priority/src/lib.rs:9:1 | 9 | #[macro_use] | ^^^^^^^^^^^^ | = note: #[warn(unused_imports)] on by default error: aborting due to 3 previous errors Some errors have detailed explanations: E0412, E0425. For more information about an error, try `rustc --explain E0412`. error: Could not compile `audio_thread_priority`. [...] toolkit/library/libxul.so ld.lld: error: undefined symbol: atp_promote_current_thread_to_real_time >>> referenced by Unified_cpp_dom_media4.cpp >>> ../../dom/media/Unified_cpp_dom_media4.o:(mozilla::GraphRunner::Run()) ld.lld: error: undefined symbol: atp_demote_current_thread_from_real_time >>> referenced by Unified_cpp_dom_media4.cpp >>> ../../dom/media/Unified_cpp_dom_media4.o:(mozilla::GraphRunner::Run()) c++: error: linker command failed with exit code 1 (use -v to see invocation)
Remoting is not enabled on Tier3 platforms, so building audio_thread_priority brings no benefit. https://searchfox.org/mozilla-central/rev/543e1fbd04a8/dom/media/CubebUtils.cpp#60-63 https://searchfox.org/mozilla-central/rev/543e1fbd04a8/toolkit/library/rust/gkrust-features.mozbuild#26-29 ``` $ c++ -v FreeBSD clang version 8.0.1 (branches/release_80 363030) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin $ rustc -vV rustc 1.37.0-nightly binary: rustc commit-hash: b25ee644971a commit-date: 2019-06-17 host: x86_64-unknown-freebsd release: 1.37.0-nightly LLVM version: 8.0 ``` ```rust $ ./mach bootstrap $ ./mach build [...] error[E0412]: cannot find type `RtPriorityHandleInternal` in this scope --> third_party/rust/audio_thread_priority/src/lib.rs:52:29 | 52 | pub type RtPriorityHandle = RtPriorityHandleInternal; | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `RtPriorityHandle` error[E0425]: cannot find function `promote_current_thread_to_real_time_internal` in this scope --> third_party/rust/audio_thread_priority/src/lib.rs:73:12 | 73 | return promote_current_thread_to_real_time_internal(audio_buffer_frames, audio_samplerate_hz); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `promote_current_thread_to_real_time` error[E0425]: cannot find function `demote_current_thread_from_real_time_internal` in this scope --> third_party/rust/audio_thread_priority/src/lib.rs:87:12 | 87 | return demote_current_thread_from_real_time_internal(handle); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `demote_current_thread_from_real_time` warning: unused `#[macro_use]` import --> third_party/rust/audio_thread_priority/src/lib.rs:9:1 | 9 | #[macro_use] | ^^^^^^^^^^^^ | = note: #[warn(unused_imports)] on by default error: aborting due to 3 previous errors Some errors have detailed explanations: E0412, E0425. For more information about an error, try `rustc --explain E0412`. error: Could not compile `audio_thread_priority`. [...] toolkit/library/libxul.so ld.lld: error: undefined symbol: atp_promote_current_thread_to_real_time >>> referenced by Unified_cpp_dom_media4.cpp >>> ../../dom/media/Unified_cpp_dom_media4.o:(mozilla::GraphRunner::Run()) ld.lld: error: undefined symbol: atp_demote_current_thread_from_real_time >>> referenced by Unified_cpp_dom_media4.cpp >>> ../../dom/media/Unified_cpp_dom_media4.o:(mozilla::GraphRunner::Run()) c++: error: linker command failed with exit code 1 (use -v to see invocation) ```