Bug 264643 - Missing build dependency when linking jsc to libJavaScriptCore.a
Summary: Missing build dependency when linking jsc to libJavaScriptCore.a
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on: 263697
Blocks:
  Show dependency treegraph
 
Reported: 2023-11-10 16:39 PST by David Kilzer (:ddkilzer)
Modified: 2023-11-10 20:00 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2023-11-10 16:39:05 PST
Missing build dependency when linking jsc to libJavaScriptCore.a.

When building jsc with ENABLE_LIBFUZZER=YES or JSC_USE_STATIC_LINKING=YES (see 270226@main), Xcode doesn't find the dependency on `libJavaScriptCore.a`, so it tries to link `jsc` before `libJavaScriptCore.a` is built, causing a build failure.

<rdar://118240515>
Comment 1 David Kilzer (:ddkilzer) 2023-11-10 16:49:55 PST
Pull request: https://github.com/WebKit/WebKit/pull/20346
Comment 2 EWS 2023-11-10 20:00:22 PST
Committed 270579@main (b3fbb2dd9ec7): <https://commits.webkit.org/270579@main>

Reviewed commits have been landed. Closing PR #20346 and removing active labels.