Bug 189274 - JSC Build error when changing CPU type: offlineasm: No magic values found. Skipping assembly file generation
Summary: JSC Build error when changing CPU type: offlineasm: No magic values found. Sk...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Michael Saboff
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-09-04 14:35 PDT by Michael Saboff
Modified: 2018-09-04 17:51 PDT (History)
6 users (show)

See Also:


Attachments
ppatch (3.21 KB, patch)
2018-09-04 14:58 PDT, Michael Saboff
saam: review+
Details | Formatted Diff | Diff
Patch for Landing (762 bytes, patch)
2018-09-04 15:38 PDT, Michael Saboff
mark.lam: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Saboff 2018-09-04 14:35:34 PDT
If you successfully build JSC with:
$ Tools/Scripts/build-jsc --debug
and then try building with:
Tools/Scripts/build-jsc --debug ARCHS=i386
you'll get

offlineasm: No magic values found. Skipping assembly file generation.
Command /bin/sh failed with exit code 1

This is due to the build dependency checking seeing the derived file LLIntDesiredOffsets.h from the prior build and not generating one for the current architecture.
Comment 1 Michael Saboff 2018-09-04 14:36:07 PDT
<rdar://problem/42900838>
Comment 2 Michael Saboff 2018-09-04 14:58:32 PDT
Created attachment 348850 [details]
ppatch
Comment 3 Michael Saboff 2018-09-04 15:38:33 PDT
Created attachment 348858 [details]
Patch for Landing
Comment 4 Michael Saboff 2018-09-04 17:51:26 PDT
Inadvertently landed in Changeset r235636.

Change log landed in r235645.