[Webkit-unassigned] [Bug 249983] New: [GTK] 2.39.3: build fais on linking with LTO with missing _ZTVN7WebCore17SpeechRecognitionE symbol
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jan 1 08:52:36 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=249983
Bug ID: 249983
Summary: [GTK] 2.39.3: build fais on linking with LTO with
missing _ZTVN7WebCore17SpeechRecognitionE symbol
Product: WebKit
Version: WebKit Local Build
Hardware: PC
OS: Linux
Status: NEW
Keywords: Gtk
Severity: Normal
Priority: P3
Component: ANGLE
Assignee: webkit-unassigned at lists.webkit.org
Reporter: kloczko.tomasz at gmail.com
CC: dino at apple.com, kbr at google.com, kkinnunen at apple.com
cmake settings:
-- Cache values
ANALYZERS:BOOL=OFF
BWRAP_EXECUTABLE:FILEPATH=/usr/bin/bwrap
CCACHE_FOUND:FILEPATH=CCACHE_FOUND-NOTFOUND
CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
CMAKE_INSTALL_PREFIX:PATH=/usr
DBUS_PROXY_EXECUTABLE:FILEPATH=/usr/bin/xdg-dbus-proxy
DEBUG_FISSION:BOOL=OFF
DEVELOPER_MODE_FATAL_WARNINGS:BOOL=ON
ENABLE_BUBBLEWRAP_SANDBOX:BOOL=ON
ENABLE_DOCUMENTATION:BOOL=OFF
ENABLE_DRAG_SUPPORT:BOOL=OFF
ENABLE_GAMEPAD:BOOL=ON
ENABLE_GLES2:BOOL=ON
ENABLE_INTROSPECTION:BOOL=ON
ENABLE_JAVASCRIPTCORE:BOOL=ON
ENABLE_JOURNALD_LOG:BOOL=ON
ENABLE_MEDIA_SOURCE:BOOL=ON
ENABLE_MINIBROWSER:BOOL=ON
ENABLE_PDFJS:BOOL=ON
ENABLE_QUARTZ_TARGET:BOOL=OFF
ENABLE_SPELLCHECK:BOOL=ON
ENABLE_TOUCH_EVENTS:BOOL=ON
ENABLE_VIDEO:BOOL=ON
ENABLE_WAYLAND_TARGET:BOOL=ON
ENABLE_WEBCORE:BOOL=ON
ENABLE_WEBDRIVER:BOOL=ON
ENABLE_WEBKIT:BOOL=ON
ENABLE_WEB_AUDIO:BOOL=ON
ENABLE_WEB_CRYPTO:BOOL=ON
ENABLE_X11_TARGET:BOOL=ON
EXEC_INSTALL_DIR:PATH=/usr/bin
GCC_OFFLINEASM_SOURCE_MAP:BOOL=ON
GETTEXT_MSGFMT_EXECUTABLE:FILEPATH=/usr/bin/msgfmt
GETTEXT_MSGMERGE_EXECUTABLE:FILEPATH=/usr/bin/msgmerge
GI_COMPILER_EXE:FILEPATH=/usr/bin/g-ir-compiler
GI_GIRDIR:PATH=/usr/share/gir-1.0
GI_SCANNER_EXE:FILEPATH=/usr/bin/g-ir-scanner
GI_TYPELIBDIR:PATH=/usr/lib64/girepository-1.0
GSTREAMER_ALLOCATORS_RESOLVED_INCLUDEDIR:PATH=GSTREAMER_ALLOCATORS_RESOLVED_INCLUDEDIR-NOTFOUND
GSTREAMER_APP_RESOLVED_INCLUDEDIR:PATH=GSTREAMER_APP_RESOLVED_INCLUDEDIR-NOTFOUND
GSTREAMER_AUDIO_RESOLVED_INCLUDEDIR:PATH=GSTREAMER_AUDIO_RESOLVED_INCLUDEDIR-NOTFOUND
GSTREAMER_BASE_RESOLVED_INCLUDEDIR:PATH=GSTREAMER_BASE_RESOLVED_INCLUDEDIR-NOTFOUND
GSTREAMER_CODECPARSERS_RESOLVED_INCLUDEDIR:PATH=GSTREAMER_CODECPARSERS_RESOLVED_INCLUDEDIR-NOTFOUND
GSTREAMER_FFT_RESOLVED_INCLUDEDIR:PATH=GSTREAMER_FFT_RESOLVED_INCLUDEDIR-NOTFOUND
GSTREAMER_FULL_RESOLVED_INCLUDEDIR:PATH=/usr/include
GSTREAMER_GL_RESOLVED_INCLUDEDIR:PATH=GSTREAMER_GL_RESOLVED_INCLUDEDIR-NOTFOUND
GSTREAMER_MPEGTS_RESOLVED_INCLUDEDIR:PATH=GSTREAMER_MPEGTS_RESOLVED_INCLUDEDIR-NOTFOUND
GSTREAMER_PBUTILS_RESOLVED_INCLUDEDIR:PATH=GSTREAMER_PBUTILS_RESOLVED_INCLUDEDIR-NOTFOUND
GSTREAMER_RESOLVED_INCLUDEDIR:PATH=GSTREAMER_RESOLVED_INCLUDEDIR-NOTFOUND
GSTREAMER_RTP_LIBRARIES:FILEPATH=/usr/lib64/libgstrtp-1.0.so
GSTREAMER_RTP_RESOLVED_INCLUDEDIR:PATH=GSTREAMER_RTP_RESOLVED_INCLUDEDIR-NOTFOUND
GSTREAMER_SDP_LIBRARIES:FILEPATH=/usr/lib64/libgstsdp-1.0.so
GSTREAMER_SDP_RESOLVED_INCLUDEDIR:PATH=GSTREAMER_SDP_RESOLVED_INCLUDEDIR-NOTFOUND
GSTREAMER_TAG_RESOLVED_INCLUDEDIR:PATH=GSTREAMER_TAG_RESOLVED_INCLUDEDIR-NOTFOUND
GSTREAMER_TRANSCODER_LIBRARIES:FILEPATH=/usr/lib64/libgsttranscoder-1.0.so
GSTREAMER_TRANSCODER_RESOLVED_INCLUDEDIR:PATH=GSTREAMER_TRANSCODER_RESOLVED_INCLUDEDIR-NOTFOUND
GSTREAMER_VIDEO_RESOLVED_INCLUDEDIR:PATH=GSTREAMER_VIDEO_RESOLVED_INCLUDEDIR-NOTFOUND
GSTREAMER_WEBRTC_RESOLVED_INCLUDEDIR:PATH=GSTREAMER_WEBRTC_RESOLVED_INCLUDEDIR-NOTFOUND
ICU_INCLUDE_DIR:PATH=/usr/include
LIBEXEC_INSTALL_DIR:PATH=/usr/libexec/webkit2gtk-4.1
LIBGCRYPTCONFIG_SCRIPT:FILEPATH=/usr/bin/libgcrypt-config
LIBXSLT_EXSLT_INCLUDE_DIR:PATH=/usr/include
LIBXSLT_LIBRARY:FILEPATH=/usr/lib64/libxslt.so
LIB_INSTALL_DIR:PATH=/usr/lib64
PORT:STRING=GTK
PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3
SHOULD_INSTALL_JS_SHELL:BOOL=ON
SHOW_BINDINGS_GENERATION_PROGRESS:BOOL=OFF
USER_AGENT_BRANDING:STRING=G2V
USE_64KB_PAGE_BLOCK:BOOL=ON
USE_APPLE_ICU:BOOL=OFF
USE_AVIF:BOOL=ON
USE_GBM:BOOL=ON
USE_GTK4:BOOL=OFF
USE_JPEGXL:BOOL=OFF
USE_LCMS:BOOL=ON
USE_LIBHYPHEN:BOOL=ON
USE_LIBSECRET:BOOL=ON
USE_OPENGL_OR_ES:BOOL=ON
USE_OPENJPEG:BOOL=ON
USE_SOUP2:BOOL=OFF
USE_THIN_ARCHIVES:BOOL=ON
USE_WOFF2:BOOL=ON
WOFF2_INCLUDE_DIR:PATH=/usr/include
WPEBACKEND_FDO_AUDIO_EXTENSION:PATH=/usr/include/wpe-fdo-1.0
And when LTO is used linking fails on:
[ 98%] Linking CXX shared library ../../lib/libwebkit2gtk-4.1.so
cd /home/tkloczko/rpmbuild/BUILD/webkitgtk-2.39.3/x86_64-redhat-linux-gnu/Source/WebKit && /usr/bin/cmake -E cmake_link_script CMakeFiles/WebKit.dir/link.txt --verbose=1
/usr/bin/g++ -fPIC -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fno-rtti -fno-exceptions -fno-strict-aliasing -fno-exceptions -fno-rtti -DNDEBUG -Wl,--version-script,/home/tkloczko/rpmbuild/BUILD/webkitgtk-2.39.3/Source/WebKit/webkitglib-symbols.map -Wl,--no-undefined -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -Wl,--disable-new-dtags -shared -Wl,-soname,libwebkit2gtk-4.1.so.0 -o ../../lib/libwebkit2gtk-4.1.so.0.5.0 CMakeFiles/WebKit.dir/UIProcess/glib/UserMediaPermissionRequestManagerProxyGLib.cpp.o CMakeFiles/WebKit.dir/WebProcess/glib/UserMediaCaptureManager.cpp.o CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/AutomationBackendDispatchers.cpp.o CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/AutomationFrontendDispatchers.cpp.o CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/AutomationProtocolObjects.cpp.o CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/WebPageUpdatePreferences.cpp.o CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/WebPreferencesExperimentalFeatures.cpp.o CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/WebPreferencesGetterSetters.cpp.o CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/WebPreferencesInternalDebugFeatures.cpp.o CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/WebPreferencesKeys.cpp.o CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/WebPreferencesStoreDefaultsMap.cpp.o CMakeFiles/WebKit.dir/__/__/WebKitGTK/DerivedSources/InspectorGResourceBundle.c.o CMakeFiles/WebKit.dir/__/__/WebKitGTK/DerivedSources/WebKitDirectoryInputStreamData.cpp.o CMakeFiles/WebKit.dir/__/__/WebKitGTK/DerivedSources/WebKitResourcesGResourceBundle.c.o CMakeFiles/WebKit.dir/__/__/WebKitGTK/DerivedSources/webkit/WebKitEnumTypes.cpp.o CMakeFiles/WebKit.dir/__/__/WebKitGTK/DerivedSources/webkit/WebKitWebProcessEnumTypes.cpp.o "CMakeFiles/WebKit.dir/__/__/WebKitGTK/DerivedSources/pointer-constraints-unstable-v1-protocol.c.o" "CMakeFiles/WebKit.dir/__/__/WebKitGTK/DerivedSources/relative-pointer-unstable-v1-protocol.c.o" CMakeFiles/WebKit.dir/__/__/WebKitGTK/DerivedSources/PdfJSGResourceBundle.c.o CMakeFiles/WebKit.dir/__/__/WebKitGTK/DerivedSources/PdfJSGResourceBundleExtras.c.o CMakeFiles/WebKit.dir/__/__/WebKitGTK/DerivedSources/ModernMediaControlsGResourceBundle.c.o [..] ../WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-f74e0903-8.cpp.o ../WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-f74e0903-9.cpp.o ../WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-e635b368-1.cpp.o ../WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-42f7b70e-1.cpp.o ../WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-42f7b70e-2.cpp.o ../WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-42f7b70e-3.cpp.o ../WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-42f7b70e-4.cpp.o ../WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-42f7b70e-5.cpp.o /usr/lib64/libwpe-1.0.so /usr/lib64/libWPEBackend-fdo-1.0.so /usr/lib64/libepoxy.so -latomic /usr/lib64/libwpe-1.0.so /usr/lib64/libepoxy.so ../../lib/libPAL.a ../../lib/libjavascriptcoregtk-4.1.so.0.3.2 -latomic /usr/lib64/libicudata.so /usr/lib64/libicui18n.so /usr/lib64/libicuuc.so /usr/lib64/libsystemd.so /usr/lib64/libgtk-3.so /usr/lib64/libgdk-3.so /usr/lib64/libz.so /usr/lib64/libpango-1.0.so /usr/lib64/libharfbuzz.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libcairo.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libcairo-gobject.so /usr/lib64/libatk-1.0.so /usr/lib64/libwayland-client.so /usr/lib64/libxml2.so /usr/lib64/libsqlite3.so /usr/lib64/libxslt.so ../../lib/libGLESv2.a ../../lib/libANGLE.a -ldl /usr/lib64/liblcms2.so /usr/lib64/libwoff2dec.so ../../lib/libxdgmime.a /usr/lib64/libcairo.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libharfbuzz.so /usr/lib64/libharfbuzz-icu.so /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so /usr/lib64/libgstallocators-1.0.so /usr/lib64/libgstapp-1.0.so /usr/lib64/libgstbase-1.0.so /usr/lib64/libgstreamer-1.0.so /usr/lib64/libgstpbutils-1.0.so /usr/lib64/libgstaudio-1.0.so /usr/lib64/libgsttranscoder-1.0.so /usr/lib64/libgsttag-1.0.so /usr/lib64/libgstvideo-1.0.so /usr/lib64/libgstgl-1.0.so /usr/lib64/libgstfft-1.0.so /usr/lib64/libjpeg.so /usr/lib64/libpng.so /usr/lib64/libz.so /usr/lib64/libopenjp2.so /usr/lib64/libwebpdemux.so /usr/lib64/libwebp.so /usr/lib64/libavif.so /usr/lib64/libsoup-3.0.so /usr/lib64/libenchant-2.so /usr/lib64/libgio-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -lsecret-1 -lglib-2.0 -lgio-2.0 -lgobject-2.0 /usr/lib64/libtasn1.so /usr/lib64/libhyphen.so /usr/lib64/libX11.so /usr/lib64/libXcomposite.so /usr/lib64/libXdamage.so /usr/lib64/libXrender.so /usr/lib64/libXt.so -lwayland-server -lwayland-egl -lwayland-client /usr/lib64/libmanette-0.2.so /usr/lib64/libseccomp.so /usr/lib64/libgbm.so /usr/lib64/libdrm.so
/home/tkloczko/rpmbuild/BUILD/webkitgtk-2.39.3/Source/ThirdParty/ANGLE/src/compiler/translator/ParseContext.h:33: note: type name 'sh::TParseContext' should match type name 'angle::pp::Tokenizer::Context'
33 | class TParseContext : angle::NonCopyable
|
/home/tkloczko/rpmbuild/BUILD/webkitgtk-2.39.3/Source/ThirdParty/ANGLE/src/compiler/preprocessor/Tokenizer.h:25: note: the incompatible type is defined here
25 | struct Context
|
lto1: fatal error: missing resolution data for _ZTVN7WebCore17SpeechRecognitionE
compilation terminated.
lto-wrapper: fatal error: /usr/bin/g++ returned 1 exit status
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230101/095d7d15/attachment-0001.htm>
More information about the webkit-unassigned
mailing list