Bug 269622

Summary: Fix the internal build with recent SDKs - InspectorBackendDispatcher::getPropertyValue() is a weak external symbol
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: WebKit Misc.Assignee: Abrar Rahman Protyasha <a_protyasha>
Status: RESOLVED FIXED    
Severity: Normal CC: a_protyasha, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Abrar Rahman Protyasha
Reported 2024-02-16 15:57:23 PST
The build error: ``` ERROR: A weak external symbol is generated when a symbol is defined in multiple compilation units and is also marked as being exported from the library. ERROR: A common cause of weak external symbols is when an inline function is listed in the linker export file. ERROR: symbol __ZN9Inspector17BackendDispatcher16getPropertyValueINSt3__18optionalIbEEEET_PN3WTF8JSONImpl6ObjectERKNS6_6StringEbNS2_8functionIFS5_RNS7_5ValueEEEEPKc ERROR: symbol __ZN9Inspector17BackendDispatcher16getPropertyValueINSt3__18optionalIdEEEET_PN3WTF8JSONImpl6ObjectERKNS6_6StringEbNS2_8functionIFS5_RNS7_5ValueEEEEPKc ERROR: symbol __ZN9Inspector17BackendDispatcher16getPropertyValueINSt3__18optionalIiEEEET_PN3WTF8JSONImpl6ObjectERKNS6_6StringEbNS2_8functionIFS5_RNS7_5ValueEEEEPKc Command PhaseScriptExecution failed with a nonzero exit code ```
Attachments
Radar WebKit Bug Importer
Comment 1 2024-02-16 15:57:30 PST
Radar WebKit Bug Importer
Comment 2 2024-02-16 16:07:40 PST
Abrar Rahman Protyasha
Comment 3 2024-02-16 16:14:26 PST
EWS
Comment 4 2024-02-16 18:02:20 PST
Committed 274901@main (790c37c321c3): <https://commits.webkit.org/274901@main> Reviewed commits have been landed. Closing PR #24667 and removing active labels.
EWS
Comment 5 2024-04-02 19:35:28 PDT
Committed 272448.857@safari-7618-branch (95d9ceea9e0c): <https://commits.webkit.org/272448.857@safari-7618-branch> Reviewed commits have been landed. Closing PR #1169 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.