Why dependency re2 is disabled?
Description:
libvpx
has been disabled due to a bug in Qt, while re2
have been disabled without any clear reason. It's important to note that re2
is still essential; however, it is statically linked to the version bundled with Chromium. Is this the best approach?
My actual issue
I am maintaining the qt6-webengine
package for the unofficial Arch Linux loong64 port, which has been stalled for a while due to a linking problem. The error message is as follows:
/build/qt6-webengine/src/build/src/core/RelWithDebInfo/loongarch64/obj/extensions/common/common/common_jumbo_14.o: in function `bool re2::RE2::Arg::DoParse4ary<unsigned long>(char const*, unsigned long, void*)':
/build/qt6-webengine/src/build/src/core/RelWithDebInfo/loongarch64/../../../../../qtwebengine/src/3rdparty/chromium/third_party/re2/src/re2/re2.h:930:(.text._ZN3re23RE23Arg11DoParse4aryImEEbPKcmPv[_ZN3re23RE23Arg11DoParse4aryImEEbPKcmPv]+0x18): relocation truncated to fit: R_LARCH_B26 against symbol `bool re2::re2_internal::Parse<unsigned long>(char const*, unsigned long, unsigned long*, int)' defined in .text._ZN3re212re2_internal5ParseImEEbPKcmPT_i section in /build/qt6-webengine/src/build/src/core/RelWithDebInfo/loongarch64/obj/third_party/re2/bundled_re2/re2.o
/usr/bin/ld: final link failed: bad value
I'm wondering if we should consider using the system version of re2
instead of relying on the one provided by Chromium. What are your thoughts on this?