ld.lld: error: undefined hidden symbol: mozilla::dom::SetGamepadLightIndicatorColor
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox83 | --- | unaffected |
firefox84 | --- | unaffected |
firefox85 | --- | disabled |
firefox86 | --- | fixed |
People
(Reporter: jbeich, Assigned: cmartin)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
1.37 KB,
patch
|
Details | Diff | Splinter Review |
dom/gamepad/fallback/FallbackGamepad.cpp still uses the old type. I've attached an example fix but due to bug 1536716 can't really submit it for review.
$ c++ --version
FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673)
Target: x86_64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
$ ./mach build
[...]
toolkit/library/build/libxul.so
ld.lld: error: undefined hidden symbol: mozilla::dom::SetGamepadLightIndicatorColor(mozilla::Tainted<mozilla::dom::GamepadHandle> const&, mozilla::Tainted<unsigned int> const&, mozilla::Tainted<unsigned char> const&, mozilla::Tainted<unsigned char> const&, mozilla::Tainted<unsigned char> const&)
>>> referenced by Unified_cpp_dom_gamepad0.cpp
>>> toolkit/library/build/../../../dom/gamepad/Unified_cpp_dom_gamepad0.o:(mozilla::dom::GamepadEventChannelParent::RecvLightIndicatorColor(mozilla::Tainted<mozilla::dom::GamepadHandle> const&, mozilla::Tainted<unsigned int> const&, mozilla::Tainted<unsigned char> const&, mozilla::Tainted<unsigned char> const&, mozilla::Tainted<unsigned char> const&, mozilla::Tainted<unsigned int> const&))
Assignee | ||
Comment 1•3 years ago
|
||
Starting with one of my earlier patches in Bug 1657404, FreeBSD started seeing
an error,
ld.lld: error: undefined hidden symbol:
mozilla::dom::SetGamepadLightIndicatorColor
We don't build this codepath as part of our regular Firefox testing, and so I
didn't see the issue.
Luckily, Jan Beich <jbeich@FreeBSD.org> noticed the issue and offered up this
patch. They unfortunately can't be given credit because they are protesting
our requirement for 2FA in Phabricator.
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Thanks for the patch, Jan! 🙂 Sorry if I messed up your FF build.
Updated•3 years ago
|
Pushed by cmartin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bb64138c956e Update FallbackGamepad to use new GamepadHandle type r=handyman
Comment 4•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Comment 5•3 years ago
|
||
Fwiw, i had no issue building 85.0b1 and 85.0b2 on OpenBSD but 85.0b3 failed with the following:
In file included from Unified_cpp_dom_gamepad0.cpp:92:
/usr/obj/ports/firefox-85.0beta3/firefox-85.0/dom/gamepad/fallback/FallbackGamepad.cpp:8:10: fatal error: 'mozilla/dom/GamepadHandle.h' file not found
#include "mozilla/dom/GamepadHandle.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
there's no GamepadHandle.h
file in the build dir, while i think this header is looked for in dist/include/mozilla/dom
?
Comment 6•3 years ago
•
|
||
it seems parts of bug #1657404 were backed out from beta in https://hg.mozilla.org/releases/mozilla-beta/rev/0f0e8d040ea71e2ab86e80215fc0e9a7275d1e2a so related to this backout ? maybe this bug should be backed out too ?
Updated•3 years ago
|
Assignee | ||
Comment 7•3 years ago
•
|
||
Ah geez -- Thanks for the heads-up, Landry.
@RyanVM (Julien is on PTO)
My mistake - When we backed out those 3 gamepad changes here, I forgot that I had checked in this fix to fallback gamepad logic (because our automation doesn't currently test on FreeBSD so it wasn't caught)
Could we please back out https://hg.mozilla.org/mozilla-central/rev/bb64138c956e in the Beta branch as well?
Thanks, and sorry!
Comment 8•3 years ago
|
||
Backed out from Beta.
https://hg.mozilla.org/releases/mozilla-beta/rev/945818956ef5
Updated•3 years ago
|
Updated•2 years ago
|
Description
•