Benchmarks build failure


(Patrick Pijnappel) #1

On master benchmark build seems to fail after regenerating the harness
files, i.e.:

$ ./benchmark/scripts/generate_harness/generate_harness.py
$ ./utils/build-script -RB

Builds swift fine but fails on building the benchmarks:

+ /usr/local/bin/cmake
--build ~/Code/swift/build/Ninja-ReleaseAssert/swift-macosx-x86_64 -- -j8
all swift-test-stdlib-macosx-x86_64 swift-benchmark-macosx-x86_64
[17/34] Generating Onone-x86_64-apple-macosx10.9/main.o
FAILED:
cd ~ Code/Swift/build/Ninja-ReleaseAssert/swift-macosx-x86_64/benchmark
&& ~ Code/Swift/build/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc -c
-sdk
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
-target x86_64-apple-macosx10.9 -F
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/../../../Developer/Library/Frameworks
-Onone -D INTERNAL_CHECKS_ENABLED -D SWIFT_ENABLE_OBJECT_LITERALS
-no-link-objc-runtime -I ~ Code/Swift/swift/benchmark/utils/ObjectiveCTests
-force-single-frontend-invocation -emit-module -module-name main
-I ~/Code/Swift/build/Ninja-ReleaseAssert/swift-macosx-x86_64/benchmark/Onone-x86_64-apple-macosx10.9
-o ~/Code/Swift/build/Ninja-ReleaseAssert/swift-macosx-x86_64/benchmark/Onone-x86_64-apple-macosx10.9/main.o
~/Code/Swift/swift/benchmark/utils/main.swift
~/Code/Swift/swift/benchmark/utils/main.swift:149:43: error: use of
unresolved identifier 'run_ObjectiveCBridgeFromNSArrayAnyObject'
  "ObjectiveCBridgeFromNSArrayAnyObject":
run_ObjectiveCBridgeFromNSArrayAnyObject,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:150:49: error: use of
unresolved identifier 'run_ObjectiveCBridgeFromNSArrayAnyObjectForced'
  "ObjectiveCBridgeFromNSArrayAnyObjectForced":
run_ObjectiveCBridgeFromNSArrayAnyObjectForced,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:151:51: error: use of
unresolved identifier 'run_ObjectiveCBridgeFromNSArrayAnyObjectToString'
  "ObjectiveCBridgeFromNSArrayAnyObjectToString":
run_ObjectiveCBridgeFromNSArrayAnyObjectToString,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:152:57: error: use of
unresolved identifier
'run_ObjectiveCBridgeFromNSArrayAnyObjectToStringForced'
  "ObjectiveCBridgeFromNSArrayAnyObjectToStringForced":
run_ObjectiveCBridgeFromNSArrayAnyObjectToStringForced,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:153:48: error: use of
unresolved identifier 'run_ObjectiveCBridgeFromNSDictionaryAnyObject'
  "ObjectiveCBridgeFromNSDictionaryAnyObject":
run_ObjectiveCBridgeFromNSDictionaryAnyObject,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:154:54: error: use of
unresolved identifier 'run_ObjectiveCBridgeFromNSDictionaryAnyObjectForced'
  "ObjectiveCBridgeFromNSDictionaryAnyObjectForced":
run_ObjectiveCBridgeFromNSDictionaryAnyObjectForced,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:155:56: error: use of
unresolved identifier
'run_ObjectiveCBridgeFromNSDictionaryAnyObjectToString'
  "ObjectiveCBridgeFromNSDictionaryAnyObjectToString":
run_ObjectiveCBridgeFromNSDictionaryAnyObjectToString,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:156:62: error: use of
unresolved identifier
'run_ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced'
  "ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced":
run_ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:157:41: error: use of
unresolved identifier 'run_ObjectiveCBridgeFromNSSetAnyObject'
  "ObjectiveCBridgeFromNSSetAnyObject":
run_ObjectiveCBridgeFromNSSetAnyObject,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:158:47: error: use of
unresolved identifier 'run_ObjectiveCBridgeFromNSSetAnyObjectForced'
  "ObjectiveCBridgeFromNSSetAnyObjectForced":
run_ObjectiveCBridgeFromNSSetAnyObjectForced,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:159:49: error: use of
unresolved identifier 'run_ObjectiveCBridgeFromNSSetAnyObjectToString'
  "ObjectiveCBridgeFromNSSetAnyObjectToString":
run_ObjectiveCBridgeFromNSSetAnyObjectToString,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:160:55: error: use of
unresolved identifier 'run_ObjectiveCBridgeFromNSSetAnyObjectToStringForced'
  "ObjectiveCBridgeFromNSSetAnyObjectToStringForced":
run_ObjectiveCBridgeFromNSSetAnyObjectToStringForced,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:161:35: error: use of
unresolved identifier 'run_ObjectiveCBridgeFromNSString'
  "ObjectiveCBridgeFromNSString": run_ObjectiveCBridgeFromNSString,
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:162:41: error: use of
unresolved identifier 'run_ObjectiveCBridgeFromNSStringForced'
  "ObjectiveCBridgeFromNSStringForced":
run_ObjectiveCBridgeFromNSStringForced,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:163:46: error: use of
unresolved identifier 'run_ObjectiveCBridgeStubFromArrayOfNSString'
  "ObjectiveCBridgeStubFromArrayOfNSString":
run_ObjectiveCBridgeStubFromArrayOfNSString,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:164:39: error: use of
unresolved identifier 'run_ObjectiveCBridgeStubFromNSString'
  "ObjectiveCBridgeStubFromNSString": run_ObjectiveCBridgeStubFromNSString,
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:165:42: error: use of
unresolved identifier 'run_ObjectiveCBridgeStubFromNSStringRef'
  "ObjectiveCBridgeStubFromNSStringRef":
run_ObjectiveCBridgeStubFromNSStringRef,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:166:44: error: use of
unresolved identifier 'run_ObjectiveCBridgeStubToArrayOfNSString'
  "ObjectiveCBridgeStubToArrayOfNSString":
run_ObjectiveCBridgeStubToArrayOfNSString,

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:167:37: error: use of
unresolved identifier 'run_ObjectiveCBridgeStubToNSString'
  "ObjectiveCBridgeStubToNSString": run_ObjectiveCBridgeStubToNSString,
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:168:32: error: use of
unresolved identifier 'run_ObjectiveCBridgeToNSArray'
  "ObjectiveCBridgeToNSArray": run_ObjectiveCBridgeToNSArray,
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:169:37: error: use of
unresolved identifier 'run_ObjectiveCBridgeToNSDictionary'
  "ObjectiveCBridgeToNSDictionary": run_ObjectiveCBridgeToNSDictionary,
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:170:30: error: use of
unresolved identifier 'run_ObjectiveCBridgeToNSSet'
  "ObjectiveCBridgeToNSSet": run_ObjectiveCBridgeToNSSet,
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:171:33: error: use of
unresolved identifier 'run_ObjectiveCBridgeToNSString'
  "ObjectiveCBridgeToNSString": run_ObjectiveCBridgeToNSString,
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~/Code/Swift/swift/benchmark/utils/main.swift:199:17: error: use of
unresolved identifier 'run_StackPromo'
  "StackPromo": run_StackPromo,
                ^~~~~~~~~~~~~~
[17/34] Generating O-x86_64-apple-macosx10.9/DictTest.o
ninja: build stopped: subcommand failed.
swift/utils/build-script: command terminated with a non-zero exit status 1,
aborting