[Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.10 (master) #114


(Doug Coleman) #1

Failing with:

undefined symbol: _TTSgq5Vs5UInt8___TFs27_allocateUninitializedArrayurFBwTGSax_Bp_

more:
+ pushd /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift-corelibs-foundation
~/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift-corelibs-foundation ~/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10
+ /usr/bin/ninja TestFoundation
ninja: no work to do.
+ popd
~/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10
+ env LD_LIBRARY_PATH=//usr//lib/swift/:/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/Foundation:/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/xctest-linux-x86_64:/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/libdispatch-linux-x86_64/src/.libs: /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation
/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: symbol lookup error: /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: undefined symbol: _TTSgq5Vs5UInt8___TFs27_allocateUninitializedArrayurFBwTGSax_Bp_
/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 127, aborting
/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

···

On Oct 19, 2016, at 9:53 AM, no-reply@swift.org wrote:

[FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_10 [#114]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/114/
Project: oss-swift-incremental-RA-linux-ubuntu-16_10
Date of build: Wed, 19 Oct 2016 09:34:53 -0700
Build duration: 18 min
Tests:

Name: Swift(linux-x86_64)
Failed: 0 test(s), Passed: 8442 test(s), Total: 8442 test(s)
Name: Swift-Unit
Failed: 0 test(s), Passed: 299 test(s), Total: 299 test(s)

Changes

Commit 3778c79dc41ce9867a36a4b1f2d5ccb65a7b39f9 by jordan_rose:
[SDK] Use SwiftPrivate to remove _silgen_name from the AppKit overlay.

edit: stdlib/public/SDK/AppKit/AppKit.swift
edit: apinotes/AppKit.apinotes

Commit 2e560b03191fa66bc618f4e6ffe4f5580e6445ca by jordan_rose:
[SDK] Use an extra shim header to remove _silgen_name from XCTest.

edit: stdlib/public/SDK/XCTest/XCTest.swift
edit: stdlib/public/SDK/XCTest/XCTestCaseAdditions.mm
edit: stdlib/public/SwiftShims/CMakeLists.txt
add: stdlib/public/SwiftShims/XCTestOverlayShims.h
edit: stdlib/public/SwiftShims/module.modulemap

Commit 244cf50c0c62e0922cc84f40b822bd3b317d7ce6 by jordan_rose:
[SDK] Use an extra shims header to remove _silgen_name from the os

edit: stdlib/public/SDK/os/os_log.swift
edit: stdlib/public/SDK/os/os.mm
edit: stdlib/public/SwiftShims/module.modulemap
add: stdlib/public/SwiftShims/OSOverlayShims.h
edit: stdlib/public/SwiftShims/CMakeLists.txt

Commit 7b0b2d6de2555634e67c520e30db4932f7dd5ee3 by jordan_rose:
[SDK] Use perform(_:with:) to remove _silgen_name from GameplayKit.

delete: stdlib/public/SDK/GameplayKit/GameplayKit.mm
edit: stdlib/public/SDK/GameplayKit/CMakeLists.txt
edit: stdlib/public/SDK/GameplayKit/GameplayKit.swift

Commit c97451f85134ea7f93e2b7dce7a9395bbc3167dd by jordan_rose:
[SDK] Use existing NS_REFINED_FOR_SWIFT to remove _silgen_name from

edit: stdlib/public/SDK/SceneKit/SceneKit.swift.gyb
edit: stdlib/public/SDK/SceneKit/CMakeLists.txt
delete: stdlib/public/SDK/SceneKit/Thunks.mm

Commit cb59b941359c587de0c279dcf21131c76ade6677 by jordan_rose:
[SDK] Use an extra shim header to eliminate _silgen_name from

edit: stdlib/public/SwiftShims/CMakeLists.txt
edit: stdlib/public/SDK/ObjectiveC/CMakeLists.txt
delete: stdlib/public/SDK/ObjectiveC/ObjectiveC.mm
edit: stdlib/public/SwiftShims/module.modulemap
edit: stdlib/public/SDK/ObjectiveC/ObjectiveC.swift
add: stdlib/public/SwiftShims/ObjectiveCOverlayShims.h

Commit 26e24f7beebdbe5aea22107b38189d4e78d62cb0 by jordan_rose:
[SDK] Use an extra shim header to remove _silgen_name from

edit: stdlib/public/SDK/SafariServices/CMakeLists.txt
edit: stdlib/public/SwiftShims/CMakeLists.txt
edit: stdlib/public/SwiftShims/module.modulemap
add: stdlib/public/SwiftShims/SafariServicesOverlayShims.h
edit: stdlib/public/SDK/SafariServices/SafariServices.swift
delete: stdlib/public/SDK/SafariServices/SafariServices.mm

Commit 1589ca1b8d1a6cc965b87332ab750c9b903e40a7 by jordan_rose:
[SDK] Use an extra shims header to remove _silgen_name from the XPC

edit: stdlib/public/SDK/XPC/XPC.swift
add: stdlib/public/SwiftShims/XPCOverlayShims.h
edit: stdlib/public/SDK/XPC/CMakeLists.txt
edit: stdlib/public/SwiftShims/CMakeLists.txt
delete: stdlib/public/SDK/XPC/XPC.mm
edit: stdlib/public/SwiftShims/module.modulemap

Commit c0304aef8423e969c1280474e9e3fc335fe86acc by jordan_rose:
[SDK] Fix circularity issues with overlay shim headers.

edit: stdlib/public/SwiftShims/module.modulemap

Commit dce51edf0638f43f4adc9cd984e2f0bfde20df81 by jordan_rose:
[SDK] Remove the -*- C++ -*- tag from the new overlay shim headers.

edit: stdlib/public/SwiftShims/SafariServicesOverlayShims.h
edit: stdlib/public/SwiftShims/XCTestOverlayShims.h
edit: stdlib/public/SwiftShims/ObjectiveCOverlayShims.h
edit: stdlib/public/SwiftShims/XPCOverlayShims.h
edit: stdlib/public/SwiftShims/OSOverlayShims.h

Commit 91f5b9dac1f0be357dd8c93bb449a415e33cc66f by rlevenstein:
[sil-performance-inliner] Re-introduce inlining of generics as a staging

edit: lib/SILOptimizer/Transforms/PerformanceInliner.cpp


(Roman Levenstein) #2

Hi Doug,

It could be related to my commit 91f5b9dac1f0be357dd8c93bb449a415e33cc66f.

Can you try a clean build? That’s how I got it to pass tests on the bots when I was testing the PR before I merged.

-Roman

···

On Oct 19, 2016, at 9:59 AM, Doug Coleman <doug_coleman@apple.com> wrote:

Failing with:

undefined symbol: _TTSgq5Vs5UInt8___TFs27_allocateUninitializedArrayurFBwTGSax_Bp_

more:
+ pushd /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift-corelibs-foundation
~/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift-corelibs-foundation ~/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10
+ /usr/bin/ninja TestFoundation
ninja: no work to do.
+ popd
~/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10
+ env LD_LIBRARY_PATH=//usr//lib/swift/:/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/Foundation:/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/xctest-linux-x86_64:/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/libdispatch-linux-x86_64/src/.libs: /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation
/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: symbol lookup error: /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: undefined symbol: _TTSgq5Vs5UInt8___TFs27_allocateUninitializedArrayurFBwTGSax_Bp_
/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 127, aborting
/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

On Oct 19, 2016, at 9:53 AM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

[FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_10 [#114]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/114/
Project: oss-swift-incremental-RA-linux-ubuntu-16_10
Date of build: Wed, 19 Oct 2016 09:34:53 -0700
Build duration: 18 min
Tests:

Name: Swift(linux-x86_64)
Failed: 0 test(s), Passed: 8442 test(s), Total: 8442 test(s)
Name: Swift-Unit
Failed: 0 test(s), Passed: 299 test(s), Total: 299 test(s)

Changes

Commit 3778c79dc41ce9867a36a4b1f2d5ccb65a7b39f9 by jordan_rose:
[SDK] Use SwiftPrivate to remove _silgen_name from the AppKit overlay.

edit: stdlib/public/SDK/AppKit/AppKit.swift
edit: apinotes/AppKit.apinotes

Commit 2e560b03191fa66bc618f4e6ffe4f5580e6445ca by jordan_rose:
[SDK] Use an extra shim header to remove _silgen_name from XCTest.

edit: stdlib/public/SDK/XCTest/XCTest.swift
edit: stdlib/public/SDK/XCTest/XCTestCaseAdditions.mm
edit: stdlib/public/SwiftShims/CMakeLists.txt
add: stdlib/public/SwiftShims/XCTestOverlayShims.h
edit: stdlib/public/SwiftShims/module.modulemap

Commit 244cf50c0c62e0922cc84f40b822bd3b317d7ce6 by jordan_rose:
[SDK] Use an extra shims header to remove _silgen_name from the os

edit: stdlib/public/SDK/os/os_log.swift
edit: stdlib/public/SDK/os/os.mm
edit: stdlib/public/SwiftShims/module.modulemap
add: stdlib/public/SwiftShims/OSOverlayShims.h
edit: stdlib/public/SwiftShims/CMakeLists.txt

Commit 7b0b2d6de2555634e67c520e30db4932f7dd5ee3 by jordan_rose:
[SDK] Use perform(_:with:) to remove _silgen_name from GameplayKit.

delete: stdlib/public/SDK/GameplayKit/GameplayKit.mm
edit: stdlib/public/SDK/GameplayKit/CMakeLists.txt
edit: stdlib/public/SDK/GameplayKit/GameplayKit.swift

Commit c97451f85134ea7f93e2b7dce7a9395bbc3167dd by jordan_rose:
[SDK] Use existing NS_REFINED_FOR_SWIFT to remove _silgen_name from

edit: stdlib/public/SDK/SceneKit/SceneKit.swift.gyb
edit: stdlib/public/SDK/SceneKit/CMakeLists.txt
delete: stdlib/public/SDK/SceneKit/Thunks.mm

Commit cb59b941359c587de0c279dcf21131c76ade6677 by jordan_rose:
[SDK] Use an extra shim header to eliminate _silgen_name from

edit: stdlib/public/SwiftShims/CMakeLists.txt
edit: stdlib/public/SDK/ObjectiveC/CMakeLists.txt
delete: stdlib/public/SDK/ObjectiveC/ObjectiveC.mm
edit: stdlib/public/SwiftShims/module.modulemap
edit: stdlib/public/SDK/ObjectiveC/ObjectiveC.swift
add: stdlib/public/SwiftShims/ObjectiveCOverlayShims.h

Commit 26e24f7beebdbe5aea22107b38189d4e78d62cb0 by jordan_rose:
[SDK] Use an extra shim header to remove _silgen_name from

edit: stdlib/public/SDK/SafariServices/CMakeLists.txt
edit: stdlib/public/SwiftShims/CMakeLists.txt
edit: stdlib/public/SwiftShims/module.modulemap
add: stdlib/public/SwiftShims/SafariServicesOverlayShims.h
edit: stdlib/public/SDK/SafariServices/SafariServices.swift
delete: stdlib/public/SDK/SafariServices/SafariServices.mm

Commit 1589ca1b8d1a6cc965b87332ab750c9b903e40a7 by jordan_rose:
[SDK] Use an extra shims header to remove _silgen_name from the XPC

edit: stdlib/public/SDK/XPC/XPC.swift
add: stdlib/public/SwiftShims/XPCOverlayShims.h
edit: stdlib/public/SDK/XPC/CMakeLists.txt
edit: stdlib/public/SwiftShims/CMakeLists.txt
delete: stdlib/public/SDK/XPC/XPC.mm
edit: stdlib/public/SwiftShims/module.modulemap

Commit c0304aef8423e969c1280474e9e3fc335fe86acc by jordan_rose:
[SDK] Fix circularity issues with overlay shim headers.

edit: stdlib/public/SwiftShims/module.modulemap

Commit dce51edf0638f43f4adc9cd984e2f0bfde20df81 by jordan_rose:
[SDK] Remove the -*- C++ -*- tag from the new overlay shim headers.

edit: stdlib/public/SwiftShims/SafariServicesOverlayShims.h
edit: stdlib/public/SwiftShims/XCTestOverlayShims.h
edit: stdlib/public/SwiftShims/ObjectiveCOverlayShims.h
edit: stdlib/public/SwiftShims/XPCOverlayShims.h
edit: stdlib/public/SwiftShims/OSOverlayShims.h

Commit 91f5b9dac1f0be357dd8c93bb449a415e33cc66f by rlevenstein:
[sil-performance-inliner] Re-introduce inlining of generics as a staging

edit: lib/SILOptimizer/Transforms/PerformanceInliner.cpp


(Doug Coleman) #3

One of the next builds succeeded, so the code is fine.

The problem with just doing a clean build is the job might be available on several machines, but only the machine that gets it next will try a clean build—the other machines might not get the clean build command.

···

On Oct 19, 2016, at 10:05 AM, Roman Levenstein <rlevenstein@apple.com> wrote:

Hi Doug,

It could be related to my commit 91f5b9dac1f0be357dd8c93bb449a415e33cc66f.

Can you try a clean build? That’s how I got it to pass tests on the bots when I was testing the PR before I merged.

-Roman

On Oct 19, 2016, at 9:59 AM, Doug Coleman <doug_coleman@apple.com <mailto:doug_coleman@apple.com>> wrote:

Failing with:

undefined symbol: _TTSgq5Vs5UInt8___TFs27_allocateUninitializedArrayurFBwTGSax_Bp_

more:
+ pushd /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift-corelibs-foundation
~/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift-corelibs-foundation ~/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10
+ /usr/bin/ninja TestFoundation
ninja: no work to do.
+ popd
~/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10
+ env LD_LIBRARY_PATH=//usr//lib/swift/:/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/Foundation:/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/xctest-linux-x86_64:/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/libdispatch-linux-x86_64/src/.libs: /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation
/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: symbol lookup error: /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: undefined symbol: _TTSgq5Vs5UInt8___TFs27_allocateUninitializedArrayurFBwTGSax_Bp_
/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 127, aborting
/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

On Oct 19, 2016, at 9:53 AM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

[FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_10 [#114]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/114/
Project: oss-swift-incremental-RA-linux-ubuntu-16_10
Date of build: Wed, 19 Oct 2016 09:34:53 -0700
Build duration: 18 min
Tests:

Name: Swift(linux-x86_64)
Failed: 0 test(s), Passed: 8442 test(s), Total: 8442 test(s)
Name: Swift-Unit
Failed: 0 test(s), Passed: 299 test(s), Total: 299 test(s)

Changes

Commit 3778c79dc41ce9867a36a4b1f2d5ccb65a7b39f9 by jordan_rose:
[SDK] Use SwiftPrivate to remove _silgen_name from the AppKit overlay.

edit: stdlib/public/SDK/AppKit/AppKit.swift
edit: apinotes/AppKit.apinotes

Commit 2e560b03191fa66bc618f4e6ffe4f5580e6445ca by jordan_rose:
[SDK] Use an extra shim header to remove _silgen_name from XCTest.

edit: stdlib/public/SDK/XCTest/XCTest.swift
edit: stdlib/public/SDK/XCTest/XCTestCaseAdditions.mm
edit: stdlib/public/SwiftShims/CMakeLists.txt
add: stdlib/public/SwiftShims/XCTestOverlayShims.h
edit: stdlib/public/SwiftShims/module.modulemap

Commit 244cf50c0c62e0922cc84f40b822bd3b317d7ce6 by jordan_rose:
[SDK] Use an extra shims header to remove _silgen_name from the os

edit: stdlib/public/SDK/os/os_log.swift
edit: stdlib/public/SDK/os/os.mm
edit: stdlib/public/SwiftShims/module.modulemap
add: stdlib/public/SwiftShims/OSOverlayShims.h
edit: stdlib/public/SwiftShims/CMakeLists.txt

Commit 7b0b2d6de2555634e67c520e30db4932f7dd5ee3 by jordan_rose:
[SDK] Use perform(_:with:) to remove _silgen_name from GameplayKit.

delete: stdlib/public/SDK/GameplayKit/GameplayKit.mm
edit: stdlib/public/SDK/GameplayKit/CMakeLists.txt
edit: stdlib/public/SDK/GameplayKit/GameplayKit.swift

Commit c97451f85134ea7f93e2b7dce7a9395bbc3167dd by jordan_rose:
[SDK] Use existing NS_REFINED_FOR_SWIFT to remove _silgen_name from

edit: stdlib/public/SDK/SceneKit/SceneKit.swift.gyb
edit: stdlib/public/SDK/SceneKit/CMakeLists.txt
delete: stdlib/public/SDK/SceneKit/Thunks.mm

Commit cb59b941359c587de0c279dcf21131c76ade6677 by jordan_rose:
[SDK] Use an extra shim header to eliminate _silgen_name from

edit: stdlib/public/SwiftShims/CMakeLists.txt
edit: stdlib/public/SDK/ObjectiveC/CMakeLists.txt
delete: stdlib/public/SDK/ObjectiveC/ObjectiveC.mm
edit: stdlib/public/SwiftShims/module.modulemap
edit: stdlib/public/SDK/ObjectiveC/ObjectiveC.swift
add: stdlib/public/SwiftShims/ObjectiveCOverlayShims.h

Commit 26e24f7beebdbe5aea22107b38189d4e78d62cb0 by jordan_rose:
[SDK] Use an extra shim header to remove _silgen_name from

edit: stdlib/public/SDK/SafariServices/CMakeLists.txt
edit: stdlib/public/SwiftShims/CMakeLists.txt
edit: stdlib/public/SwiftShims/module.modulemap
add: stdlib/public/SwiftShims/SafariServicesOverlayShims.h
edit: stdlib/public/SDK/SafariServices/SafariServices.swift
delete: stdlib/public/SDK/SafariServices/SafariServices.mm

Commit 1589ca1b8d1a6cc965b87332ab750c9b903e40a7 by jordan_rose:
[SDK] Use an extra shims header to remove _silgen_name from the XPC

edit: stdlib/public/SDK/XPC/XPC.swift
add: stdlib/public/SwiftShims/XPCOverlayShims.h
edit: stdlib/public/SDK/XPC/CMakeLists.txt
edit: stdlib/public/SwiftShims/CMakeLists.txt
delete: stdlib/public/SDK/XPC/XPC.mm
edit: stdlib/public/SwiftShims/module.modulemap

Commit c0304aef8423e969c1280474e9e3fc335fe86acc by jordan_rose:
[SDK] Fix circularity issues with overlay shim headers.

edit: stdlib/public/SwiftShims/module.modulemap

Commit dce51edf0638f43f4adc9cd984e2f0bfde20df81 by jordan_rose:
[SDK] Remove the -*- C++ -*- tag from the new overlay shim headers.

edit: stdlib/public/SwiftShims/SafariServicesOverlayShims.h
edit: stdlib/public/SwiftShims/XCTestOverlayShims.h
edit: stdlib/public/SwiftShims/ObjectiveCOverlayShims.h
edit: stdlib/public/SwiftShims/XPCOverlayShims.h
edit: stdlib/public/SwiftShims/OSOverlayShims.h

Commit 91f5b9dac1f0be357dd8c93bb449a415e33cc66f by rlevenstein:
[sil-performance-inliner] Re-introduce inlining of generics as a staging

edit: lib/SILOptimizer/Transforms/PerformanceInliner.cpp


(Mishal Shah) #4

Hi Roman,

This sounds like we have an issue with our incremental build system, here radar for tracking this issue.

<rdar://problem/28849974> [Foundation Test] undefined symbol: _TTSgq5Vs5UInt8___TFs27_allocateUninitializedArrayurFBwTGSax_Bp_

Thanks,
Mishal Shah

···

On Oct 19, 2016, at 10:05 AM, Roman Levenstein <rlevenstein@apple.com> wrote:

Hi Doug,

It could be related to my commit 91f5b9dac1f0be357dd8c93bb449a415e33cc66f.

Can you try a clean build? That’s how I got it to pass tests on the bots when I was testing the PR before I merged.

-Roman

On Oct 19, 2016, at 9:59 AM, Doug Coleman <doug_coleman@apple.com <mailto:doug_coleman@apple.com>> wrote:

Failing with:

undefined symbol: _TTSgq5Vs5UInt8___TFs27_allocateUninitializedArrayurFBwTGSax_Bp_

more:
+ pushd /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift-corelibs-foundation
~/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift-corelibs-foundation ~/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10
+ /usr/bin/ninja TestFoundation
ninja: no work to do.
+ popd
~/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10
+ env LD_LIBRARY_PATH=//usr//lib/swift/:/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/Foundation:/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/xctest-linux-x86_64:/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/libdispatch-linux-x86_64/src/.libs: /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation
/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: symbol lookup error: /home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: undefined symbol: _TTSgq5Vs5UInt8___TFs27_allocateUninitializedArrayurFBwTGSax_Bp_
/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 127, aborting
/home/buildnode/disk1/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

On Oct 19, 2016, at 9:53 AM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

[FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_10 [#114]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/114/
Project: oss-swift-incremental-RA-linux-ubuntu-16_10
Date of build: Wed, 19 Oct 2016 09:34:53 -0700
Build duration: 18 min
Tests:

Name: Swift(linux-x86_64)
Failed: 0 test(s), Passed: 8442 test(s), Total: 8442 test(s)
Name: Swift-Unit
Failed: 0 test(s), Passed: 299 test(s), Total: 299 test(s)

Changes

Commit 3778c79dc41ce9867a36a4b1f2d5ccb65a7b39f9 by jordan_rose:
[SDK] Use SwiftPrivate to remove _silgen_name from the AppKit overlay.

edit: stdlib/public/SDK/AppKit/AppKit.swift
edit: apinotes/AppKit.apinotes

Commit 2e560b03191fa66bc618f4e6ffe4f5580e6445ca by jordan_rose:
[SDK] Use an extra shim header to remove _silgen_name from XCTest.

edit: stdlib/public/SDK/XCTest/XCTest.swift
edit: stdlib/public/SDK/XCTest/XCTestCaseAdditions.mm
edit: stdlib/public/SwiftShims/CMakeLists.txt
add: stdlib/public/SwiftShims/XCTestOverlayShims.h
edit: stdlib/public/SwiftShims/module.modulemap

Commit 244cf50c0c62e0922cc84f40b822bd3b317d7ce6 by jordan_rose:
[SDK] Use an extra shims header to remove _silgen_name from the os

edit: stdlib/public/SDK/os/os_log.swift
edit: stdlib/public/SDK/os/os.mm
edit: stdlib/public/SwiftShims/module.modulemap
add: stdlib/public/SwiftShims/OSOverlayShims.h
edit: stdlib/public/SwiftShims/CMakeLists.txt

Commit 7b0b2d6de2555634e67c520e30db4932f7dd5ee3 by jordan_rose:
[SDK] Use perform(_:with:) to remove _silgen_name from GameplayKit.

delete: stdlib/public/SDK/GameplayKit/GameplayKit.mm
edit: stdlib/public/SDK/GameplayKit/CMakeLists.txt
edit: stdlib/public/SDK/GameplayKit/GameplayKit.swift

Commit c97451f85134ea7f93e2b7dce7a9395bbc3167dd by jordan_rose:
[SDK] Use existing NS_REFINED_FOR_SWIFT to remove _silgen_name from

edit: stdlib/public/SDK/SceneKit/SceneKit.swift.gyb
edit: stdlib/public/SDK/SceneKit/CMakeLists.txt
delete: stdlib/public/SDK/SceneKit/Thunks.mm

Commit cb59b941359c587de0c279dcf21131c76ade6677 by jordan_rose:
[SDK] Use an extra shim header to eliminate _silgen_name from

edit: stdlib/public/SwiftShims/CMakeLists.txt
edit: stdlib/public/SDK/ObjectiveC/CMakeLists.txt
delete: stdlib/public/SDK/ObjectiveC/ObjectiveC.mm
edit: stdlib/public/SwiftShims/module.modulemap
edit: stdlib/public/SDK/ObjectiveC/ObjectiveC.swift
add: stdlib/public/SwiftShims/ObjectiveCOverlayShims.h

Commit 26e24f7beebdbe5aea22107b38189d4e78d62cb0 by jordan_rose:
[SDK] Use an extra shim header to remove _silgen_name from

edit: stdlib/public/SDK/SafariServices/CMakeLists.txt
edit: stdlib/public/SwiftShims/CMakeLists.txt
edit: stdlib/public/SwiftShims/module.modulemap
add: stdlib/public/SwiftShims/SafariServicesOverlayShims.h
edit: stdlib/public/SDK/SafariServices/SafariServices.swift
delete: stdlib/public/SDK/SafariServices/SafariServices.mm

Commit 1589ca1b8d1a6cc965b87332ab750c9b903e40a7 by jordan_rose:
[SDK] Use an extra shims header to remove _silgen_name from the XPC

edit: stdlib/public/SDK/XPC/XPC.swift
add: stdlib/public/SwiftShims/XPCOverlayShims.h
edit: stdlib/public/SDK/XPC/CMakeLists.txt
edit: stdlib/public/SwiftShims/CMakeLists.txt
delete: stdlib/public/SDK/XPC/XPC.mm
edit: stdlib/public/SwiftShims/module.modulemap

Commit c0304aef8423e969c1280474e9e3fc335fe86acc by jordan_rose:
[SDK] Fix circularity issues with overlay shim headers.

edit: stdlib/public/SwiftShims/module.modulemap

Commit dce51edf0638f43f4adc9cd984e2f0bfde20df81 by jordan_rose:
[SDK] Remove the -*- C++ -*- tag from the new overlay shim headers.

edit: stdlib/public/SwiftShims/SafariServicesOverlayShims.h
edit: stdlib/public/SwiftShims/XCTestOverlayShims.h
edit: stdlib/public/SwiftShims/ObjectiveCOverlayShims.h
edit: stdlib/public/SwiftShims/XPCOverlayShims.h
edit: stdlib/public/SwiftShims/OSOverlayShims.h

Commit 91f5b9dac1f0be357dd8c93bb449a415e33cc66f by rlevenstein:
[sil-performance-inliner] Re-introduce inlining of generics as a staging

edit: lib/SILOptimizer/Transforms/PerformanceInliner.cpp