Open Bug 1571353 Opened 7 years ago Updated 3 years ago

linker error: undefined symbol when building Fennec aarch64 with -O3

Categories

(Firefox Build System :: General, defect)

68 Branch
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: u638509, Unassigned)

Details

Attachments

(1 file)

Attached file buildlog.txt

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 IceCat/60.0

Steps to reproduce:

Building Fennec 68.0.1esr for aarch64 with -O2 or -O3 currently fails for me where -Oz succeeds. Since I have a high end device and don't care too much about the size of the APK, I would prefer to build it with -O3 as I did previously on 60esr (though I admit I don't know how big the performance difference would be).

Actual results:

29:00.25 toolkit/library/libxul.so
29:01.46 ld.lld-8: error: undefined symbol: void mozilla::dom::MediaKeys::ResolvePromiseWithResult<bool>(unsigned int, bool const&)
29:01.46 >>> referenced by MediaDrmCDMProxy.cpp:297 (/home/debian/firefox/firefox-68.0.1/dom/media/eme/mediadrm/MediaDrmCDMProxy.cpp:297)
29:01.46 >>> ../../dom/media/eme/mediadrm/Unified_cpp_media_eme_mediadrm0.o:(mozilla::MediaDrmCDMProxy::md_SetServerCertificate(unsigned int, nsTArray<unsigned char> const&))
29:01.46 ld.lld-8: error: undefined symbol: void mozilla::dom::MediaKeys::ResolvePromiseWithResult<bool>(unsigned int, bool const&)
29:01.46 >>> referenced by MediaDrmCDMProxy.cpp:297 (/home/debian/firefox/firefox-68.0.1/dom/media/eme/mediadrm/MediaDrmCDMProxy.cpp:297)
29:01.46 >>> ../../dom/media/eme/mediadrm/Unified_cpp_media_eme_mediadrm0.o:(void mozilla::MediaDrmCDMProxy::ResolvePromiseWithResult<bool>(unsigned int, bool const&))
29:01.51 ld.lld-8: error: undefined symbol: mozilla::a11y::HyperTextAccessible::ReplaceText(nsTSubstring<char16_t> const&)
29:01.51 >>> referenced by AccessibleWrap.cpp:226 (/home/debian/firefox/firefox-68.0.1/accessible/android/AccessibleWrap.cpp:226)
29:01.51 >>> ../../accessible/android/AccessibleWrap.o:(mozilla::a11y::AccessibleWrap::SetTextContents(nsTSubstring<char16_t> const&))
29:01.51 ld.lld-8: error: undefined symbol: mozilla::a11y::Accessible::HasNumericValue() const
29:01.51 >>> referenced by ProxyAccessibleWrap.cpp:117 (/home/debian/firefox/firefox-68.0.1/accessible/android/ProxyAccessibleWrap.cpp:117)
29:01.51 >>> ../../accessible/android/ProxyAccessibleWrap.o:(mozilla::a11y::ProxyAccessibleWrap::WrapperRangeInfo(double*, double*, double*, double*))
29:01.51 ld.lld-8: error: undefined symbol: mozilla::a11y::Accessible::HasGenericType(mozilla::a11y::AccGenericType) const
29:01.51 >>> referenced by Accessible.h:581 (/home/debian/firefox/firefox-68.0.1/accessible/generic/Accessible.h:581)
29:01.51 >>> ../../accessible/android/SessionAccessibility.o:(mozilla::a11y::SessionAccessibility::SendFocusEvent(mozilla::a11y::AccessibleWrap*))
29:01.51 ld.lld-8: error: undefined symbol: mozilla::a11y::Accessible::HasGenericType(mozilla::a11y::AccGenericType) const
29:01.51 >>> referenced by Accessible.h:581 (/home/debian/firefox/firefox-68.0.1/accessible/generic/Accessible.h:581)
29:01.51 >>> ../../accessible/android/SessionAccessibility.o:(mozilla::a11y::SessionAccessibility::SendWindowStateChangedEvent(mozilla::a11y::AccessibleWrap*))
29:01.65 clang: error: linker command failed with exit code 1 (use -v to see invocation)
29:01.66 /home/debian/firefox/firefox-68.0.1/config/rules.mk:680: recipe for target 'libxul.so' failed
29:01.66 make[4]: *** [libxul.so] Error 1
29:01.67 /home/debian/firefox/firefox-68.0.1/config/recurse.mk:74: recipe for target 'toolkit/library/target' failed
29:01.67 make[3]: *** [toolkit/library/target] Error 2
29:01.67 /home/debian/firefox/firefox-68.0.1/config/recurse.mk:32: recipe for target 'compile' failed
29:01.67 make[2]: *** [compile] Error 2
29:01.67 /home/debian/firefox/firefox-68.0.1/config/rules.mk:413: recipe for target 'default' failed
29:01.67 make[1]: *** [default] Error 2
29:01.67 client.mk:125: recipe for target 'build' failed
29:01.67 make: *** [build] Error 2
29:01.69 269 compiler warnings present.
29:01.73 /usr/bin/notify-send --app-name=Mozilla Build System Mozilla Build System Build failed

Expected results:

Build should succeed.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: