broken --disable-gamepad: dom/bindings/GamepadServiceTestBinding.cpp:10:44: fatal error: mozilla/dom/GamepadServiceTest.h: No such file or directory

RESOLVED DUPLICATE of bug 1282993

Status

Firefox OS
General
RESOLVED DUPLICATE of bug 1282993
2 years ago
2 years ago

People

(Reporter: gerard, Assigned: gerard)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

MozReview Requests

Submitter Diff Changes Open Issues Last Updated
Loading...
Error loading review requests:

Attachments

(1 attachment)

Comment hidden (empty)
(Assignee)

Updated

2 years ago
Summary: dom/bindings/GamepadServiceTestBinding.cpp:10:44: fatal error: mozilla/dom/GamepadServiceTest.h: No such file or directory → broken --disable-gamepad: dom/bindings/GamepadServiceTestBinding.cpp:10:44: fatal error: mozilla/dom/GamepadServiceTest.h: No such file or directory
(Assignee)

Comment 1

2 years ago
Created attachment 8766581 [details]
Bug 1283313 - Followup bug 1283135 and fix Gamepad includes

Review commit: https://reviewboard.mozilla.org/r/61398/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/61398/
Attachment #8766581 - Flags: review?(amarchesini)
(Assignee)

Updated

2 years ago
Attachment #8766581 - Flags: review?(amarchesini)
(Assignee)

Comment 2

2 years ago
This is not yet good, I am facing link time issues:
/home/alex/codaz/Android/android-ndk-linux/android-ndk-r11b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: error: /home/alex/codaz/Mozilla/b2g/devices/XperiaZ3c/B2G/objdir-gecko/toolkit/library/../../ipc/glue/BackgroundChildImpl.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/home/alex/codaz/Android/android-ndk-linux/android-ndk-r11b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: error: /home/alex/codaz/Mozilla/b2g/devices/XperiaZ3c/B2G/objdir-gecko/toolkit/library/../../ipc/glue/BackgroundChildImpl.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/home/alex/codaz/Android/android-ndk-linux/android-ndk-r11b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: error: /home/alex/codaz/Mozilla/b2g/devices/XperiaZ3c/B2G/objdir-gecko/toolkit/library/../../ipc/glue/BackgroundParentImpl.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/home/alex/codaz/Android/android-ndk-linux/android-ndk-r11b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: error: /home/alex/codaz/Mozilla/b2g/devices/XperiaZ3c/B2G/objdir-gecko/toolkit/library/../../ipc/glue/BackgroundParentImpl.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/home/alex/codaz/Android/android-ndk-linux/android-ndk-r11b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: error: /home/alex/codaz/Mozilla/b2g/devices/XperiaZ3c/B2G/objdir-gecko/toolkit/library/../../ipc/glue/BackgroundParentImpl.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/home/alex/codaz/Android/android-ndk-linux/android-ndk-r11b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: error: read-only segment has dynamic relocations
../../../../../../HG/pine/ipc/glue/BackgroundChildImpl.cpp:517: error: undefined reference to 'vtable for mozilla::dom::GamepadTestChannelChild'
/home/alex/codaz/Android/android-ndk-linux/android-ndk-r11b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function (see go/missingkeymethod)
../../../../../../HG/pine/ipc/glue/BackgroundChildImpl.cpp:502: error: undefined reference to 'vtable for mozilla::dom::GamepadEventChannelChild'
/home/alex/codaz/Android/android-ndk-linux/android-ndk-r11b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function (see go/missingkeymethod)
../../../../../../HG/pine/ipc/glue/BackgroundParentImpl.cpp:928: error: undefined reference to 'mozilla::dom::GamepadEventChannelParent::GamepadEventChannelParent()'
../../../../../../HG/pine/ipc/glue/BackgroundParentImpl.cpp:949: error: undefined reference to 'vtable for mozilla::dom::GamepadTestChannelParent'
/home/alex/codaz/Android/android-ndk-linux/android-ndk-r11b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function (see go/missingkeymethod)
../../../../../../HG/pine/ipc/glue/BackgroundParentImpl.cpp:958: error: undefined reference to 'vtable for mozilla::dom::GamepadTestChannelParent'
/home/alex/codaz/Android/android-ndk-linux/android-ndk-r11b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function (see go/missingkeymethod)
../../../../../../HG/pine/ipc/glue/BackgroundParentImpl.cpp:940: error: undefined reference to 'vtable for mozilla::dom::GamepadEventChannelParent'
/home/alex/codaz/Android/android-ndk-linux/android-ndk-r11b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function (see go/missingkeymethod)
GamepadServiceTestBinding.cpp:193: error: undefined reference to 'mozilla::dom::GamepadServiceTest::NewButtonEvent(unsigned int, unsigned int, bool)'
GamepadServiceTestBinding.cpp:151: error: undefined reference to 'mozilla::dom::GamepadServiceTest::RemoveGamepad(unsigned int)'
GamepadServiceTestBinding.cpp:287: error: undefined reference to 'mozilla::dom::GamepadServiceTest::NewAxisMoveEvent(unsigned int, unsigned int, double)'
GamepadServiceTestBinding.cpp:242: error: undefined reference to 'mozilla::dom::GamepadServiceTest::NewButtonValueEvent(unsigned int, unsigned int, bool, double)'
GamepadServiceTestBinding.cpp:97: error: undefined reference to 'mozilla::dom::GamepadServiceTest::AddGamepad(nsAString_internal const&, unsigned int, unsigned int, unsigned int, mozilla::ErrorResult&)'
Flags: needinfo?(kyle)
Flags: needinfo?(amarchesini)
Check what patch of bug 1282993 does for GamepadServiceTest.
Flags: needinfo?(amarchesini)
(Assignee)

Comment 4

2 years ago
Sure, I'm testing it
(Assignee)

Comment 5

2 years ago
(In reply to Andrea Marchesini (:baku) from comment #3)
> Check what patch of bug 1282993 does for GamepadServiceTest.

That one works better.
(Assignee)

Updated

2 years ago
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1282993
(Assignee)

Updated

2 years ago
Flags: needinfo?(kyle)
You need to log in before you can comment on or make changes to this bug.