WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
271962
Linker error when logging ViewportConfiguration to TextStream in Release configuration
https://bugs.webkit.org/show_bug.cgi?id=271962
Summary
Linker error when logging ViewportConfiguration to TextStream in Release conf...
Abrar Rahman Protyasha
Reported
2024-04-01 05:46:28 PDT
When building in Release configuration, I get a linker error if I try to invoke WebCore::operator<<(WTF::TextStream&, WebCore::ViewConfiguration const&). The linker error reads: ``` Undefined symbols for architecture arm64e: "WebCore::operator<<(WTF::TextStream&, WebCore::ViewportConfiguration const&)", referenced from: WebCore::ViewportConfiguration::setContentsSize(WebCore::IntSize const&) in ViewportConfiguration.o ld: symbol(s) not found for architecture arm64e clang++: error: linker command failed with exit code 1 (use -v to see invocation) ``` ... which is a consequence of placing the relevant operator<< overload definitions behind `!LOG_DISABLED`.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-04-01 05:46:38 PDT
<
rdar://problem/125713559
>
Abrar Rahman Protyasha
Comment 2
2024-04-01 06:01:06 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/26672
EWS
Comment 3
2024-04-01 22:43:44 PDT
Committed
276925@main
(59cedf7135bc): <
https://commits.webkit.org/276925@main
> Reviewed commits have been landed. Closing PR #26672 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