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
225501
[WinCairo] Remove linker warning on ANGLE
https://bugs.webkit.org/show_bug.cgi?id=225501
Summary
[WinCairo] Remove linker warning on ANGLE
Basuke Suzuki
Reported
2021-05-06 18:32:07 PDT
There're two warnings displayed when creating library lib64\libGLESv2.lib and object lib64\libGLESv2.exp: LINK : warning LNK4217: symbol 'ANGLEGetDisplayPlatform' defined in 'ANGLE.lib(Platform.obj)' is imported by 'proc_table_egl_autogen.obj' in function '"void __cdecl egl::`dynamic initializer for 'g_procTable''(void)" (??__Eg_procTable@egl@@YAXXZ)' [W:\WebKit\WebKitBuild\Release\Source\ThirdParty\ANGLE\GLESv2.vcxproj] LINK : warning LNK4217: symbol 'ANGLEResetDisplayPlatform' defined in 'ANGLE.lib(Platform.obj)' is imported by 'proc_table_egl_autogen.obj' in function '"void __cdecl egl::`dynamic initializer for 'g_procTable''(void)" (??__Eg_procTable@egl@@YAXXZ)' [W:\WebKit\WebKitBuild\Release\Source\ThirdParty\ANGLE\GLESv2.vcxproj]
Attachments
PATCH
(1.54 KB, patch)
2021-05-07 15:15 PDT
,
Basuke Suzuki
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Basuke Suzuki
Comment 1
2021-05-07 14:53:05 PDT
I'm still beginner of Windows build env, but my understanding of this warning is: - ANGLE is compiled as static library - That is linked to libGLESv2.dll - __declspec(dllimport) is not required in this case Is my understanding correct?
Basuke Suzuki
Comment 2
2021-05-07 15:15:24 PDT
Created
attachment 428039
[details]
PATCH
EWS Watchlist
Comment 3
2021-05-07 15:16:21 PDT
Note that there are important steps to take when updating ANGLE. See
https://trac.webkit.org/wiki/UpdatingANGLE
Darin Adler
Comment 4
2021-05-08 21:07:30 PDT
Comment on
attachment 428039
[details]
PATCH View in context:
https://bugs.webkit.org/attachment.cgi?id=428039&action=review
> Source/ThirdParty/ANGLE/ChangeLog:8 > + libANGLE is statically linked to libGLESv2.dll so that __declspec(dllimport) is not required here.
is *now* statically linked; we changed that recently
EWS
Comment 5
2021-05-08 21:31:50 PDT
Committed
r277241
(
237510@main
): <
https://commits.webkit.org/237510@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 428039
[details]
.
Radar WebKit Bug Importer
Comment 6
2021-05-08 21:32:14 PDT
<
rdar://problem/77704188
>
Basuke Suzuki
Comment 7
2021-05-09 22:14:11 PDT
> is *now* statically linked; we changed that recently
Make sense. Thanks!
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