Bug 231929 - Debug + Code Coverage configuration make error: headers don't have symbol
Summary: Debug + Code Coverage configuration make error: headers don't have symbol
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-18 18:38 PDT by Gabriel Nava Marino
Modified: 2021-10-27 20:19 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Nava Marino 2021-10-18 18:38:36 PDT
First try:
set-webkit-configuration --coverage --debug then make

These errors will occur during the GenerateTAPI step:
error: headers don't have symbol '(weak-def) ___llvm_profile_filename'
error: headers don't have symbol '(weak-def) ___llvm_profile_raw_version'
error: headers don't have symbol '(weak-def) _lprofDirMode'

These seem related to https://bugs.webkit.org/show_bug.cgi?id=226684. However, reverting the change results in another error mentioned in https://bugs.webkit.org/show_bug.cgi?id=226562.
Comment 1 Gabriel Nava Marino 2021-10-18 18:49:17 PDT
Potentially related: https://stackoverflow.com/questions/58127940/undefined-symbols-llvm-profile-runtime
Comment 2 Radar WebKit Bug Importer 2021-10-25 18:39:15 PDT
<rdar://problem/84641844>
Comment 3 David Kilzer (:ddkilzer) 2021-10-27 20:19:41 PDT
I wonder if we can disable TAPI for Debug builds.  I'm not sure there's a need for it in those builds, unless developers only build Debug locally and would miss new issues they created.