Bug 132668 - offsets.rb:183:in `buildOffsetsMap': unhandled exception – is offlineasm dependency tracking broken?
Summary: offsets.rb:183:in `buildOffsetsMap': unhandled exception – is offlineasm depe...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Michael Saboff
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-05-07 19:51 PDT by Mark Rowe (bdash)
Modified: 2014-05-20 10:29 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 Mark Rowe (bdash) 2014-05-07 19:51:02 PDT
A few people saw an error today when building JavaScriptCore that looked like:

offsets.rb:183:in `buildOffsetsMap': unhandled exception

This happened for me when updating from a SVN revision that was a day or two old to r168458 and then building. I had to resort to nuking my build directory in order to get a working build. It seems like something in the offlineasm world isn't rebuilding the necessary bits?
Comment 1 Simon Fraser (smfr) 2014-05-14 19:40:06 PDT
This interrupts about every 3rd build that I do.
Comment 2 Filip Pizlo 2014-05-14 19:40:53 PDT
(In reply to comment #1)
> This interrupts about every 3rd build that I do.

Do you do anything between those three builds, other than WebCore changes?
Comment 3 Simon Fraser (smfr) 2014-05-14 19:42:08 PDT
I'm flipping between branches, between architectures and between targets (iOS/OS X).

Possibly related, incremental builds often fail with:
Undefined symbols for architecture x86_64:
  "_callToJavaScript", referenced from:
      __ZN3JSC7JITCode7executeEPNS_2VMEPNS_14ProtoCallFrameE in JITCode.o
  "_callToNativeFunction", referenced from:
      __ZN3JSC11Interpreter11executeCallEPNS_9ExecStateEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE in Interpreter.o
  "_llint_entry", referenced from:
      __ZN3JSC5LLInt10initializeEv in LLIntData.o
  "_sanitizeStackForVMImpl", referenced from:
      __ZN3JSC18sanitizeStackForVMEPNS_2VME in VM.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Comment 4 Filip Pizlo 2014-05-14 19:43:09 PDT
Assigning to Michael since he was the last one to mess with offlineasm.
Comment 5 Simon Fraser (smfr) 2014-05-14 19:44:05 PDT
iOS/OS X use different build product directories FWIW
Comment 6 Michael Saboff 2014-05-20 10:28:28 PDT
Believe this to be a Xcode issue.  Tracked in
Comment 7 Radar WebKit Bug Importer 2014-05-20 10:29:52 PDT
<rdar://problem/16974705>