Bug 226562

Summary: Weak external symbols found when building with Release+Coverage configuration
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Tools / TestsAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, jbedard, tuomas.webkit, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 206686    
Bug Blocks: 226668, 226684, 228063    
Attachments:
Description Flags
Patch v1 none

David Kilzer (:ddkilzer)
Reported 2021-06-02 17:26:37 PDT
Weak external symbols found when building with Release+Coverage configuration: PhaseScriptExecution Check\ For\ Weak\ VTables\ and\ Externals JavaScriptCore.build/Release/JavaScriptCore.build/Script-5D29D8BE0E9860B400C3D2D0.sh cd OpenSource/Source/JavaScriptCore /bin/sh -c JavaScriptCore.build/Release/JavaScriptCore.build/Script-5D29D8BE0E9860B400C3D2D0.sh ERROR: JavaScriptCore has a weak external symbol in it (Release/JavaScriptCore.framework/Versions/A/JavaScriptCore) 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 ___llvm_profile_filename ERROR: symbol ___llvm_profile_raw_version ERROR: symbol _lprofDirMode Command /bin/sh failed with exit code 1 <rdar://problem/78765608>
Attachments
Patch v1 (4.01 KB, patch)
2021-06-02 17:30 PDT, David Kilzer (:ddkilzer)
no flags
David Kilzer (:ddkilzer)
Comment 1 2021-06-02 17:30:27 PDT
Created attachment 430423 [details] Patch v1
EWS
Comment 2 2021-06-03 19:21:05 PDT
Committed r278444 (238464@main): <https://commits.webkit.org/238464@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 430423 [details].
David Kilzer (:ddkilzer)
Comment 3 2021-06-04 08:56:49 PDT
Follow-up build fix for coverage+release builds due to weak external symbol: REGRESSION (r278121): Fix build failure due to weak external symbol Committed r278461 (278461@main): <https://commits.webkit.org/278461@main>
Note You need to log in before you can comment on or make changes to this bug.