When remoting audio streams, bump the priority of the child process thread to avoid underruns
Categories
(Core :: Audio/Video: cubeb, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox69 | --- | fixed |
People
(Reporter: padenot, Assigned: padenot)
References
(Regressed 1 open bug)
Details
Attachments
(8 files, 1 obsolete file)
|
59 bytes,
text/x-review-board-request
|
Details | |
|
2.23 KB,
text/html
|
Details | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
Bug 1429847 - Promote audio threads to real-time priority before locking down the sandbox. r?kinetik
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
17.45 KB,
text/plain
|
Details |
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Updated•7 years ago
|
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
| Assignee | ||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 8•7 years ago
|
||
| Assignee | ||
Comment 9•7 years ago
|
||
Comment 10•7 years ago
|
||
| Assignee | ||
Comment 12•7 years ago
|
||
| Assignee | ||
Comment 13•7 years ago
|
||
| Assignee | ||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
| Assignee | ||
Comment 16•6 years ago
|
||
We now have a way to do this on Linux, it's all implemented in Rust. I'm planning to cbindgen it and to use it in Gecko. It should do wonders, especially on Linux and/or when remoting is on. The Linux bit needs a couple adjustments ideally, but it's largely working.
| Assignee | ||
Comment 17•6 years ago
|
||
| Assignee | ||
Comment 18•6 years ago
|
||
| Assignee | ||
Comment 19•6 years ago
|
||
This is way to much threads, but until we refactor the design a bit as planned,
it works.
| Assignee | ||
Comment 20•6 years ago
|
||
Matthew, this is a first stab at doing this, mainly to fix the performances issues on Linux (but it works on other platforms too). It makes quite a difference, especially when doing heavy webrtc calls or when running heavy web audio api application, but also when just doing playback and the machine is otherwise loaded (i.e. doing a build when listening to music).
I'm not happy about the thread setup: it requires bumping too much threads to real-time priority, and there are too many context switches but I think it's best talked about and re-designed in person in front of measurements and with data about the problem.
Comment 21•6 years ago
|
||
Thanks Paul! I filed bug 1551391 to track/discuss the audioipc threading model;feel free to add your thoughts there and/or we can discuss it in person in Whistler too.
| Assignee | ||
Comment 22•6 years ago
|
||
| Assignee | ||
Comment 23•6 years ago
|
||
I've changed the OSX bits to make it behave like a normal CoreAudio thread (thanks to Stephane Letz from GRAME for all the hard-to-find info), removed all the linux priority things, and made it so we try only once to promote a thread (I think it's better, if it doesn't work, it doesn't work).
This can probably be landed, and will kick in when remoting is activated.
I've also promoted the GraphRunner thread to real-time, until we remove it.
| Assignee | ||
Comment 24•6 years ago
|
||
| Assignee | ||
Comment 25•6 years ago
|
||
Updated•6 years ago
|
Comment 26•6 years ago
|
||
Comment 27•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/1d9377463591
https://hg.mozilla.org/mozilla-central/rev/15fadc5ad294
https://hg.mozilla.org/mozilla-central/rev/b3cb4712a543
https://hg.mozilla.org/mozilla-central/rev/6ccf1ede2479
https://hg.mozilla.org/mozilla-central/rev/f058271e55d9
Comment 28•6 years ago
|
||
Paul, how did you vendor the crates? If I revert https://hg.mozilla.org/mozilla-central/rev/15fadc5ad294 and run mach vendor rust, I get the same error as bug 1561102, which makes me wonder how you did it without hitting that.
Comment 29•6 years ago
|
||
This breaks linking with ac_add_options --disable-dbus (ie. build regression):
0:03.93 make[4]: Leaving directory '/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/browser/app'
0:14.43 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_error_init'
0:14.52 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_bus_get_private'
0:14.60 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_connection_set_exit_on_disconnect'
0:14.69 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_connection_add_filter'
0:14.78 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_connection_set_watch_functions'
0:14.88 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_error_free'
0:14.97 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_error_free'
0:15.06 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_error_free'
0:15.16 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_error_free'
0:15.24 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_message_new_method_call'
0:15.32 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_message_iter_init_append'
0:15.42 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function audio_thread_priority::promote_current_thread_to_real_time: error: undefined reference to 'dbus_message_unref'
0:15.50 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function core::ptr::real_drop_in_place: error: undefined reference to 'dbus_connection_close'
0:15.60 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function core::ptr::real_drop_in_place: error: undefined reference to 'dbus_connection_unref'
0:15.68 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function core::ptr::real_drop_in_place: error: undefined reference to 'dbus_message_unref'
0:15.77 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function core::ptr::real_drop_in_place: error: undefined reference to 'dbus_message_unref'
0:15.95 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::strings::Signature::new: error: undefined reference to 'dbus_error_init'
0:16.04 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::strings::Signature::new: error: undefined reference to 'dbus_signature_validate_single'
0:16.21 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function std::sync::once::Once::call_once::{{closure}}: error: undefined reference to 'dbus_threads_init_default'
0:16.29 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function core::ops::function::FnOnce::call_once{{vtable-shim}}: error: undefined reference to 'dbus_threads_init_default'
0:16.38 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_open_container'
0:16.47 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_close_container'
0:16.55 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_open_container'
0:16.64 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_close_container'
0:16.72 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_open_container'
0:16.82 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_close_container'
0:16.91 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_open_container'
0:17.00 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_close_container'
0:17.09 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_append_basic'
0:17.19 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::iter_append: error: undefined reference to 'dbus_message_iter_append_basic'
0:17.27 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter: error: undefined reference to 'dbus_message_iter_next'
0:17.35 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter: error: undefined reference to 'dbus_message_iter_next'
0:17.44 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_get_arg_type'
0:17.52 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_get_basic'
0:17.62 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_recurse'
0:17.72 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_recurse'
0:17.82 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_get_basic'
0:17.91 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_recurse'
0:17.99 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_get_signature'
0:18.09 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_free'
0:18.19 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_get_basic'
0:18.27 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_get_basic'
0:18.66 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::message::MessageItem::from_iter_single: error: undefined reference to 'dbus_message_iter_recurse'
0:19.08 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::strings::Path::check_valid: error: undefined reference to 'dbus_error_init'
0:19.16 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::strings::Path::check_valid: error: undefined reference to 'dbus_validate_path'
0:19.33 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::prop::Props::get: error: undefined reference to 'dbus_message_new_method_call'
0:19.43 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::prop::Props::get: error: undefined reference to 'dbus_message_iter_init_append'
0:19.51 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::prop::Props::get: error: undefined reference to 'dbus_error_init'
0:19.61 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::prop::Props::get: error: undefined reference to 'dbus_set_error_from_message'
0:19.77 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::prop::Props::get: error: undefined reference to 'dbus_message_iter_init'
0:20.04 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::prop::Props::get: error: undefined reference to 'dbus_set_error'
0:20.15 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::prop::Props::get: error: undefined reference to 'dbus_message_unref'
0:20.32 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::connection::Connection::send_with_reply_and_block: error: undefined reference to 'dbus_connection_send_with_reply_and_block'
0:23.31 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::strings::Member::check_valid: error: undefined reference to 'dbus_validate_member'
0:23.56 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::strings::Interface::check_valid: error: undefined reference to 'dbus_validate_interface'
0:23.73 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::watch::WatchList::get_watch: error: undefined reference to 'dbus_watch_get_unix_fd'
0:23.82 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::watch::WatchList::get_watch: error: undefined reference to 'dbus_watch_get_enabled'
0:23.92 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::watch::WatchList::get_watch: error: undefined reference to 'dbus_watch_get_flags'
0:24.02 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function std::panicking::try::do_call: error: undefined reference to 'dbus_message_ref'
0:24.10 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function dbus::connection::default_filter_callback: error: undefined reference to 'dbus_message_get_type'
0:24.28 /home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a(gkrust-4b4c1bdef7d934df.gkrust.ba3rei45-cgu.0.rcgu.o):gkrust.ba3rei45-cgu.0:function <dbus::strings::BusName as core::convert::From<&str>>::from: error: undefined reference to 'dbus_validate_bus_name'
0:26.85 clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
0:26.85 make[4]: *** [/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/config/rules.mk:669: libxul.so] Error 1
0:26.86 make[4]: Leaving directory '/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu/toolkit/library'
0:26.86 make[3]: *** [/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/config/recurse.mk:74: toolkit/library/target] Error 2
0:26.86 make[3]: Leaving directory '/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu'
0:26.86 make[2]: *** [/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/config/recurse.mk:34: compile] Error 2
0:26.86 make[2]: Leaving directory '/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu'
0:26.86 make[1]: *** [/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/config/rules.mk:400: default] Error 2
0:26.86 make[1]: Leaving directory '/home/user/build/1packages/4used/firefox-hg/makepkg_pacman/firefox-hg/src/firefox-hg/obj-x86_64-pc-linux-gnu'
0:26.86 make: *** [client.mk:125: build] Error 2
0:26.89 52 compiler warnings present.
Updated•6 years ago
|
Comment 31•6 years ago
|
||
Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1561207
Thanks.
| Assignee | ||
Comment 32•6 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #28)
Paul, how did you vendor the crates? If I revert https://hg.mozilla.org/mozilla-central/rev/15fadc5ad294 and run
mach vendor rust, I get the same error as bug 1561102, which makes me wonder how you did it without hitting that.
Hrm mach appears to return 0 when this errors out. I don't have the machine where I did this handy (still traveling), but I was probably doing something like mach vendor rust && mach build and it got lost in the output.
Why is BSD-2-clause not approved? We use a bunch of code with the same license already? I'm thinking of making this fail a bit harder and rework the error message so that it's a bit easier to know what to do.
Comment 33•6 years ago
|
||
Description
•