WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
305186
REGRESSION(
304666@main
) [WPE] Build broken when DEVELOPER_MODE=OFF due to undefined symbols when linking jsc
https://bugs.webkit.org/show_bug.cgi?id=305186
Summary
REGRESSION(304666@main) [WPE] Build broken when DEVELOPER_MODE=OFF due to und...
Carlos Alberto Lopez Perez
Reported
2026-01-09 03:00:25 PST
304666@main
introduced an optimization in WPE to link the jsc binary and other test binaries against libWPEWebKit instead of statically linking (embedding) WTF, JSC and other libraries inside. However, it happens that when DEVELOPER_MODE is not enabled we pass a linker filter to libWPEWebKit that makes many of the symbols (JSC::* WTF:*) required to link this binaries not longer visible. Thanks to Pablo Saavedra for the original report and an initial patch proposal
Attachments
Add attachment
proposed patch, testcase, etc.
Carlos Alberto Lopez Perez
Comment 1
2026-01-09 03:01:57 PST
This is the filter: Source/WebKit/PlatformWPE.cmake-if (NOT DEVELOPER_MODE AND NOT CMAKE_SYSTEM_NAME MATCHES "Darwin") Source/WebKit/PlatformWPE.cmake: WEBKIT_ADD_TARGET_PROPERTIES(WebKit LINK_FLAGS "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/webkitglib-symbols.map") Source/WebKit/PlatformWPE.cmake: set_property(TARGET WebKit APPEND PROPERTY LINK_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/webkitglib-symbols.map") Source/WebKit/PlatformWPE.cmake-endif ()
Carlos Alberto Lopez Perez
Comment 2
2026-01-09 03:07:01 PST
Pull request:
https://github.com/WebKit/WebKit/pull/56323
EWS
Comment 3
2026-01-09 05:35:56 PST
Committed
305354@main
(6d81a49969e7): <
https://commits.webkit.org/305354@main
> Reviewed commits have been landed. Closing PR #56323 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug