Bug 1206600

Summary: Firefox no longer builds for i586/i686
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dominique Leuenberger <dimstar>
Component: FirefoxAssignee: Wolfgang Rosenauer <wolfgang>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: jengelh, suseino, wolfgang
Version: Current   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dominique Leuenberger 2022-12-21 15:08:41 UTC
with SR https://build.opensuse.org/request/show/1043934, Mozilla Firefox has been excluded to be built on i586/i686. Prior to excluding it, the last two SRs had a non-building version (which meant blocking the update on all arches)

With FF disabled on i586/i686, that basically means there are not many web-browser left on this architecture (only epiphany comes to mind)
Comment 1 Wolfgang Rosenauer 2022-12-21 15:37:31 UTC
I'm still trying to get it solved in general.
It takes signifcant time and even if upstream fixes it (like it currently is for i586) the fix is heavily intrusive and cannot easily be backported in every case (like here).
Still investigating to deliver a working package later.
Comment 2 Jan Engelhardt 2022-12-21 16:14:10 UTC
mozilla:Factory/MozillaFirefox -r1024 had

[ 1424s] 23:02.53 /usr/bin/g++ [..] -o libxul.so [..]
[ 1486s] 24:04.72 /usr/lib/gcc/i586-suse-linux/12/../../../../i586-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/obj/toolkit/library/build/../../components/uniffi-js/Unified_cpp_uniffi-js0.o: in function `mozilla::uniffi::ScaffoldingCallHandler<mozilla::uniffi::ScaffoldingObjectConverter<&mozilla::uniffi::kTabsTabsStorePointerType>, mozilla::uniffi::ScaffoldingConverter<mozilla::uniffi::RustBuffer, mozilla::uniffi::ScaffoldingConverterTagDefault> >::CallAsync(void* (*)(mozilla::uniffi::RustBuffer, mozilla::uniffi::RustCallStatus*), mozilla::dom::GlobalObject const&, mozilla::dom::Sequence<mozilla::dom::OwningDoubleOrArrayBufferOrUniFFIPointer> const&, nsTLiteralString<char> const&, mozilla::ErrorResult&) [clone .constprop.0]':
[ 1486s] 24:04.72 /home/abuild/rpmbuild/BUILD/obj/dist/include/mozilla/dom/ScaffoldingCall.h:78: undefined reference to `tabs_4d51_TabsStore_new'
[ 1486s] 24:04.72 /usr/lib/gcc/i586-suse-linux/12/../../../../i586-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/obj/toolkit/library/build/../../components/uniffi-js/Unified_cpp_uniffi-js0.o: relocation R_386_GOTOFF against undefined hidden symbol `tabs_4d51_TabsStore_new' can not be used when making a shared object

Either -fPIC or LTO come to mind. But PIC is present and -flto=auto is absent.

[ 1268s] 20:26.59 /usr/bin/g++ -o Unified_cpp_uniffi-js0.o -c  -I/home/abuild/rpmbuild/BUILD/obj/dist/stl_wrappers -I/home/abuild/rpmbuild/BUILD/obj/dist/system_wrappers -include /home/abuild/rpmbuild/BUILD/firefox-108.0/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/home/abuild/rpmbuild/BUILD/firefox-108.0/toolkit/components/uniffi-js -I/home/abuild/rpmbuild/BUILD/obj/toolkit/components/uniffi-js -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 -fomit-frame-pointer -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -march=i686 -mtune=generic -msse2 -fimplicit-constexpr -fno-exceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -freorder-blocks -O2 -fomit-frame-pointer -funwind-tables -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-invalid-offsetof -Wc++2a-compat -Wcomma-subscript -Wno-error=deprecated -Wno-error=deprecated-enum-enum-conversion -Wno-error=volatile -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 -fno-strict-aliasing -ffp-contract=off  -MD -MP -MF .deps/Unified_cpp_uniffi-js0.o.pp   Unified_cpp_uniffi-js0.cpp
Comment 3 OBSbugzilla Bot 2022-12-22 07:45:02 UTC
This is an autogenerated message for OBS integration:
This bug (1206600) was mentioned in
https://build.opensuse.org/request/show/1044163 Factory / MozillaFirefox
Comment 4 Wolfgang Rosenauer 2022-12-22 10:58:11 UTC
submitted building version
Comment 5 Andreas Stieger 2022-12-23 19:20:34 UTC
*** Bug 1206660 has been marked as a duplicate of this bug. ***