This appears to be due to some missing dependency information in the
build system for Foundation's tests. Some stdlib names not used
directly by the overlay or tests were changed and now linking fails
with:
+ env LD_LIBRARY_PATH=//usr//lib/swift/:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/Foundation:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/xctest-linux-x86_64:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/libdispatch-linux-x86_64/src/.libs: /home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation
/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: symbol lookup error: /home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: undefined symbol: _TWPV10Foundation8IndexSets13IndexableBaseS_
/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 127, aborting
Specifically, the symbol in question,
_TWPV10Foundation8IndexSets13IndexableBaseS_, should be
_TWPV10Foundation8IndexSets14_IndexableBaseS_
TestFoundation has a dependency upon libFoundation.so, however if the naming rules of symbols has changed then it probably needs to re-compile everything in Foundation. This looks like it had a stale build around.
···
On Aug 29, 2016, at 10:43 AM, Dave Abrahams via swift-dev <swift-dev@swift.org> wrote:
This appears to be due to some missing dependency information in the
build system for Foundation's tests. Some stdlib names not used
directly by the overlay or tests were changed and now linking fails
with:
+ env LD_LIBRARY_PATH=//usr//lib/swift/:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/Foundation:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/xctest-linux-x86_64:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/libdispatch-linux-x86_64/src/.libs: /home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation
/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: symbol lookup error: /home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: undefined symbol: _TWPV10Foundation8IndexSets13IndexableBaseS_
/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 127, aborting
Specifically, the symbol in question,
_TWPV10Foundation8IndexSets13IndexableBaseS_, should be
_TWPV10Foundation8IndexSets14_IndexableBaseS_
Does anyone know how to fix it?
From: no-reply@swift.org <mailto:no-reply@swift.org>
Subject: [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #7204
Date: August 29, 2016 at 8:07:08 AM PDT
To: dabrahams@apple.com <mailto:dabrahams@apple.com>
Cc: mishal_shah@apple.com <mailto:mishal_shah@apple.com>
Reply-To: swift-dev@swift.org <mailto:swift-dev@swift.org>
TestFoundation has a dependency upon libFoundation.so, however if the naming rules of symbols has changed then it probably needs to re-compile everything in Foundation. This looks like it had a stale build around.
Which points strongly toward "missing dependency information in the build system" as I noted, n'est-ce pas?
···
Sent from my iPad
On Sep 2, 2016, at 12:46 PM, Philippe Hausler <phausler@apple.com> wrote:
On Aug 29, 2016, at 10:43 AM, Dave Abrahams via swift-dev <swift-dev@swift.org> wrote:
This appears to be due to some missing dependency information in the
build system for Foundation's tests. Some stdlib names not used
directly by the overlay or tests were changed and now linking fails
with:
+ env LD_LIBRARY_PATH=//usr//lib/swift/:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/Foundation:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/xctest-linux-x86_64:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/libdispatch-linux-x86_64/src/.libs: /home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation
/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: symbol lookup error: /home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: undefined symbol: _TWPV10Foundation8IndexSets13IndexableBaseS_
/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 127, aborting
Specifically, the symbol in question,
_TWPV10Foundation8IndexSets13IndexableBaseS_, should be
_TWPV10Foundation8IndexSets14_IndexableBaseS_
Does anyone know how to fix it?
From: no-reply@swift.org
Subject: [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #7204
Date: August 29, 2016 at 8:07:08 AM PDT
To: dabrahams@apple.com
Cc: mishal_shah@apple.com
Reply-To: swift-dev@swift.org