Bug 1225460 - Firefox fails to build on aarch64 due to arm_neon_sve_bridge.h missing
Summary: Firefox fails to build on aarch64 due to arm_neon_sve_bridge.h missing
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Firefox (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Guillaume GARDET
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-28 10:11 UTC by Guillaume GARDET
Modified: 2024-05-29 07:55 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume GARDET 2024-05-28 10:11:37 UTC
Firefox fails to build on aarch64 due to arm_neon_sve_bridge.h missing.

Latest build log: https://build.opensuse.org/package/live_build_log/mozilla:Factory/MozillaFirefox/openSUSE_Factory_ARM/aarch64

Build log:
[  582s]  8:18.71 /usr/bin/gcc -std=gnu99 -o vp9_error_sve.o -c  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DHAVE_CONFIG_H=vpx_config.h -DMOZ_HAS_MOZGLUE -I/home/abuild/rpmbuild/BUILD/firefox-126.0/media/libvpx -I/home/abuild/rpmbuild/BUILD/obj/media/libvpx -I/home/abuild/rpmbuild/BUILD/firefox-126.0/media/libvpx/config/linux/arm64 -I/home/abuild/rpmbuild/BUILD/firefox-126.0/media/libvpx/config -I/home/abuild/rpmbuild/BUILD/firefox-126.0/media/libvpx/libvpx -I/home/abuild/rpmbuild/BUILD/obj/dist/include -I/usr/include/nspr4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/home/abuild/rpmbuild/BUILD/obj/dist/include/nss -include /home/abuild/rpmbuild/BUILD/obj/mozilla-config.h -DMOZILLA_CLIENT -mbranch-protection=standard -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -fPIC -ffunction-sections -fdata-sections -fno-math-errno -pthread -g0 -O2 -fomit-frame-pointer -funwind-tables -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wduplicated-cond -Wlogical-op -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wformat -Wformat-overflow=2 -Werror=implicit-function-declaration -Wno-psabi -Wno-error=builtin-macro-redefined -Wno-sign-compare -Wno-unused-function -fno-strict-aliasing -ffp-contract=off  -MD -MP -MF .deps/vp9_error_sve.o.pp  -march=armv8.2-a+dotprod+i8mm+sve /home/abuild/rpmbuild/BUILD/firefox-126.0/media/libvpx/libvpx/vp9/encoder/arm/neon/vp9_error_sve.c
[  582s]  8:18.96 /usr/bin/g++ -o currfmt.o -c  -I/home/abuild/rpmbuild/BUILD/obj/dist/system_wrappers -include /home/abuild/rpmbuild/BUILD/firefox-126.0/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DU_I18N_IMPLEMENTATION -DU_USING_ICU_NAMESPACE=0 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DU_HIDE_OBSOLETE_UTF_OLD_H=1 -DUCONFIG_NO_LEGACY_CONVERSION -DUCONFIG_NO_TRANSLITERATION -DUCONFIG_NO_REGULAR_EXPRESSIONS -DUCONFIG_NO_BREAK_ITERATION -DU_CHARSET_IS_UTF8 -DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit -DU_ENABLE_DYLOAD=0 -I/home/abuild/rpmbuild/BUILD/firefox-126.0/config/external/icu/i18n -I/home/abuild/rpmbuild/BUILD/obj/config/external/icu/i18n -I/home/abuild/rpmbuild/BUILD/firefox-126.0/intl/icu/source/common -I/home/abuild/rpmbuild/BUILD/firefox-126.0/mfbt/double-conversion -I/home/abuild/rpmbuild/BUILD/obj/dist/include -I/usr/include/nspr4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/home/abuild/rpmbuild/BUILD/obj/dist/include/nss -DMOZILLA_CLIENT -include /home/abuild/rpmbuild/BUILD/obj/mozilla-config.h -fno-sized-deallocation -fno-aligned-new -mbranch-protection=standard -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -fno-exceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -g0 -O2 -fomit-frame-pointer -funwind-tables -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-invalid-offsetof -Wcomma-subscript -Wvolatile -Wno-deprecated-enum-enum-conversion -Wduplicated-cond -Wimplicit-fallthrough -Wlogical-op -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wformat -Wformat-overflow=2 -Wno-psabi -Wno-error=builtin-macro-redefined -frtti -fno-strict-aliasing -ffp-contract=off  -MD -MP -MF .deps/currfmt.o.pp   /home/abuild/rpmbuild/BUILD/firefox-126.0/intl/icu/source/i18n/currfmt.cpp
[  582s]  8:18.96 /usr/bin/gcc -std=gnu99 -o resize.o -c  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DMOZ_HAS_MOZGLUE -I/home/abuild/rpmbuild/BUILD/firefox-126.0/media/libaom -I/home/abuild/rpmbuild/BUILD/obj/media/libaom -I/home/abuild/rpmbuild/BUILD/firefox-126.0/media/libaom/config/generic -I/home/abuild/rpmbuild/BUILD/firefox-126.0/media/libaom/config -I/home/abuild/rpmbuild/BUILD/firefox-126.0/third_party/aom -I/home/abuild/rpmbuild/BUILD/obj/dist/include -I/usr/include/nspr4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/home/abuild/rpmbuild/BUILD/obj/dist/include/nss -include /home/abuild/rpmbuild/BUILD/obj/mozilla-config.h -DMOZILLA_CLIENT -mbranch-protection=standard -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -fPIC -ffunction-sections -fdata-sections -fno-math-errno -pthread -g0 -O2 -fomit-frame-pointer -funwind-tables -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wduplicated-cond -Wlogical-op -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wformat -Wformat-overflow=2 -Werror=implicit-function-declaration -Wno-psabi -Wno-error=builtin-macro-redefined -Wno-sign-compare -Wno-unused-function -fno-strict-aliasing -ffp-contract=off  -MD -MP -MF .deps/resize.o.pp   /home/abuild/rpmbuild/BUILD/firefox-126.0/third_party/aom/av1/common/resize.c
[  582s]  8:18.96 media/libaom/restoration.o
[  582s]  8:18.96 config/external/icu/i18n/currpinf.o
[  582s]  8:18.97 In file included from /home/abuild/rpmbuild/BUILD/firefox-126.0/media/libvpx/libvpx/vp9/encoder/arm/neon/vp9_error_sve.c:17:
[  582s]  8:18.97 /home/abuild/rpmbuild/BUILD/firefox-126.0/media/libvpx/libvpx/vpx_dsp/arm/vpx_neon_sve_bridge.h:16:10: fatal error: arm_neon_sve_bridge.h: No such file or directory
[  582s]  8:18.97    16 | #include <arm_neon_sve_bridge.h>
[  582s]  8:18.97       |          ^~~~~~~~~~~~~~~~~~~~~~~
[  582s]  8:18.97 compilation terminated.
[  582s]  8:18.97 gmake[4]: *** [/home/abuild/rpmbuild/BUILD/firefox-126.0/config/rules.mk:600: vp9_error_sve.o] Error 1
[  582s]  8:18.97 gmake[4]: Leaving directory '/home/abuild/rpmbuild/BUILD/obj/media/libvpx'
[  582s]  8:18.97 gmake[3]: *** [/home/abuild/rpmbuild/BUILD/firefox-126.0/config/recurse.mk:72: media/libvpx/target-objects] Error 2
[  582s]  8:18.97 gmake[3]: *** Waiting for unfinished jobs....
Comment 1 Guillaume GARDET 2024-05-28 10:24:58 UTC
Upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1886378

Should be fixed in Firefox 127.x 
Maybe we could/should backport patches?
Comment 2 Guillaume GARDET 2024-05-28 15:06:47 UTC
Will be fixed with https://build.opensuse.org/request/show/1177370
Comment 3 OBSbugzilla Bot 2024-05-29 07:55:02 UTC
This is an autogenerated message for OBS integration:
This bug (1225460) was mentioned in
https://build.opensuse.org/request/show/1177453 Factory / MozillaFirefox