New Swift Snapshots Available!


(Mishal Shah) #1

New Swift Snapshots Available!

Download new packages from https://swift.org/download/

Swift Development: (master)
Note: Swift Development toolchain now requires Xcode 8.0 beta.

Following repository are tagged with swift-DEVELOPMENT-SNAPSHOT-2016-06-20-a

https://github.com/apple/swift
https://github.com/apple/swift-clang
https://github.com/apple/swift-llbuild
https://github.com/apple/swift-lldb
https://github.com/apple/swift-llvm
https://github.com/apple/swift-corelibs-foundation
https://github.com/apple/swift-corelibs-xctest
https://github.com/apple/swift-package-manager
https://github.com/apple/swift-cmark
https://github.com/apple/swift-integration-tests
https://github.com/apple/swift-compiler-rt

Thanks,
Mishal Shah


#2

Should it work with El Capitan? I'm getting the following error:

swift <unknown>:0: error: Swift does not support the SDK 'MacOSX10.11.sdk'

···

On 2016-06-21 01:27:39 +0000, Mishal Shah via swift-users said:

New Swift Snapshots Available!

Download new packages from�https://swift.org/download/

Swift Development:�(master)
Note: Swift Development toolchain now requires�Xcode 8.0 beta.�

Following repository are tagged with�swift-DEVELOPMENT-SNAPSHOT-2016-06-20-a

https://github.com/apple/swift
https://github.com/apple/swift-clang
https://github.com/apple/swift-llbuild
https://github.com/apple/swift-lldb
https://github.com/apple/swift-llvm
https://github.com/apple/swift-corelibs-foundation
https://github.com/apple/swift-corelibs-xctest
https://github.com/apple/swift-package-manager
https://github.com/apple/swift-cmark
https://github.com/apple/swift-integration-tests
https://github.com/apple/swift-compiler-rt

Thanks,�
Mishal Shah
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


(Charles Lane) #3

I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4
It seems to build ok when using 9.3 or below as the build target.


#4

This can be filed under "User Error". In Xcode 8.0, should set Command Line Tools to Xcode 8.0 as well.

···

On 2016-06-21 05:59:21 +0000, Bouke Haarsma via swift-users said:

Should it work with El Capitan? I'm getting the following error:

swift <unknown>:0: error: Swift does not support the SDK 'MacOSX10.11.sdk'

On 2016-06-21 01:27:39 +0000, Mishal Shah via swift-users said:

New Swift Snapshots Available!

Download new packages from https://swift.org/download/

Swift Development: (master)
Note: Swift Development toolchain now requires Xcode 8.0 beta.

Following repository are tagged with swift-DEVELOPMENT-SNAPSHOT-2016-06-20-a

https://github.com/apple/swift
https://github.com/apple/swift-clang
https://github.com/apple/swift-llbuild
https://github.com/apple/swift-lldb
https://github.com/apple/swift-llvm
https://github.com/apple/swift-corelibs-foundation
https://github.com/apple/swift-corelibs-xctest
https://github.com/apple/swift-package-manager
https://github.com/apple/swift-cmark
https://github.com/apple/swift-integration-tests
https://github.com/apple/swift-compiler-rt

Thanks,
Mishal Shah
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

--
-Bouke


(Daniel Dunbar) #5

Can you reduce the problem to a small test case? Please file a bug report on bugs.swift.org <http://bugs.swift.org/> for this, and include information on the last toolchain which worked.

- Daniel

···

On Jun 21, 2016, at 5:16 AM, Charles Lane via swift-users <swift-users@swift.org> wrote:

I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4
It seems to build ok when using 9.3 or below as the build target.

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


(Jordan Rose) #6

Are you using Xcode 7.3? The new toolchains only support Xcode 8 (because of SDK requirements and issues with Xcode 7's Clang).

Jordan

···

On Jun 21, 2016, at 10:17, Daniel Dunbar via swift-users <swift-users@swift.org> wrote:

Can you reduce the problem to a small test case? Please file a bug report on bugs.swift.org <http://bugs.swift.org/> for this, and include information on the last toolchain which worked.

- Daniel

On Jun 21, 2016, at 5:16 AM, Charles Lane via swift-users <swift-users@swift.org <mailto:swift-users@swift.org>> wrote:

I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4
It seems to build ok when using 9.3 or below as the build target.

_______________________________________________
swift-users mailing list
swift-users@swift.org <mailto:swift-users@swift.org>
https://lists.swift.org/mailman/listinfo/swift-users

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


(Charles Lane) #7

I simply created a new single-view project targeting ios 10. I got the error immediately.

···

Can you reduce the problem to a small test case? Please file a bug report onbugs.swift.org(http://bugs.swift.org)for this, and include information on the last toolchain which worked.

- Daniel

> On Jun 21, 2016, at 5:16 AM, Charles Lane via swift-users<swift-users@swift.org(mailto:swift-users@swift.org)>wrote:
> I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4
> It seems to build ok when using 9.3 or below as the build target.
>
> _______________________________________________
> swift-users mailing list
> swift-users@swift.org(mailto:swift-users@swift.org)
> https://lists.swift.org/mailman/listinfo/swift-users


(Charles Lane) #8

This is a little snippet of the error :

<unknown>:0: error: invalid version number in '-miphoneos-version-min=10.0.0'
Assertion failed: (Maj < 10 && Min < 100 && Rev < 100 && "Invalid version!"), function getDarwinDefines, file /Users/buildnode/jenkins/workspace/oss-swift-package-osx/llvm/tools/clang/lib/Basic/Targets.cpp, line 158.

···

Can you reduce the problem to a small test case? Please file a bug report onbugs.swift.org(http://bugs.swift.org)for this, and include information on the last toolchain which worked.

- Daniel

> On Jun 21, 2016, at 5:16 AM, Charles Lane via swift-users<swift-users@swift.org(mailto:swift-users@swift.org)>wrote:
> I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4
> It seems to build ok when using 9.3 or below as the build target.
>
> _______________________________________________
> swift-users mailing list
> swift-users@swift.org(mailto:swift-users@swift.org)
> https://lists.swift.org/mailman/listinfo/swift-users


(Mishal Shah) #9

Thanks Charles! I have created Jira issue to track this bug.

https://bugs.swift.org/browse/SR-1853

Mishal Shah

···

On Jun 21, 2016, at 10:46 AM, Charles Lane via swift-users <swift-users@swift.org> wrote:

This is a little snippet of the error :

<unknown>:0: error: invalid version number in '-miphoneos-version-min=10.0.0'
Assertion failed: (Maj < 10 && Min < 100 && Rev < 100 && "Invalid version!"), function getDarwinDefines, file /Users/buildnode/jenkins/workspace/oss-swift-package-osx/llvm/tools/clang/lib/Basic/Targets.cpp, line 158.

> Can you reduce the problem to a small test case? Please file a bug report onbugs.swift.org <http://onbugs.swift.org/>(http://bugs.swift.org <http://bugs.swift.org/>)for this, and include information on the last toolchain which worked.
>
> - Daniel
>
> > On Jun 21, 2016, at 5:16 AM, Charles Lane via swift-users<swift-users@swift.org <mailto:swift-users@swift.org>(mailto:swift-users@swift.org <mailto:swift-users@swift.org>)>wrote:
> > I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4
> > It seems to build ok when using 9.3 or below as the build target.
> >
> > _______________________________________________
> > swift-users mailing list
> > swift-users@swift.org <mailto:swift-users@swift.org>(mailto:swift-users@swift.org <mailto:swift-users@swift.org>)
> > https://lists.swift.org/mailman/listinfo/swift-users
>
>
>
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


(Charles Lane) #10

This is with Xcode 8 beta and the June 20 Development snapshot of swift 3.0. It works fine with the default 3.0 toolchain.

···

Are you using Xcode 7.3? The new toolchains only support Xcode 8 (because of SDK requirements and issues with Xcode 7's Clang).

Jordan

> On Jun 21, 2016, at 10:17, Daniel Dunbar via swift-users<swift-users@swift.org(mailto:swift-users@swift.org)>wrote:
> Can you reduce the problem to a small test case? Please file a bug report onbugs.swift.org(http://bugs.swift.org/)for this, and include information on the last toolchain which worked.
>
> - Daniel
>
> > On Jun 21, 2016, at 5:16 AM, Charles Lane via swift-users<swift-users@swift.org(mailto:swift-users@swift.org)>wrote:
> > I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4
> > It seems to build ok when using 9.3 or below as the build target.
> >
> > _______________________________________________
> > swift-users mailing list
> > swift-users@swift.org(mailto:swift-users@swift.org)
> > https://lists.swift.org/mailman/listinfo/swift-users
>
> _______________________________________________
> swift-users mailing list
> swift-users@swift.org(mailto:swift-users@swift.org)
> https://lists.swift.org/mailman/listinfo/swift-users


(Jordan Rose) #11

Ah, this issue. A workaround is to set your deployment target to iOS 9. We should have it fixed soon.

Jordan

···

On Jun 21, 2016, at 10:46, Charles Lane via swift-users <swift-users@swift.org> wrote:

This is a little snippet of the error :

<unknown>:0: error: invalid version number in '-miphoneos-version-min=10.0.0'
Assertion failed: (Maj < 10 && Min < 100 && Rev < 100 && "Invalid version!"), function getDarwinDefines, file /Users/buildnode/jenkins/workspace/oss-swift-package-osx/llvm/tools/clang/lib/Basic/Targets.cpp, line 158.

> Can you reduce the problem to a small test case? Please file a bug report onbugs.swift.org <http://onbugs.swift.org/>(http://bugs.swift.org <http://bugs.swift.org/>)for this, and include information on the last toolchain which worked.
>
> - Daniel
>
> > On Jun 21, 2016, at 5:16 AM, Charles Lane via swift-users<swift-users@swift.org <mailto:swift-users@swift.org>(mailto:swift-users@swift.org <mailto:swift-users@swift.org>)>wrote:
> > I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4
> > It seems to build ok when using 9.3 or below as the build target.
> >
> > _______________________________________________
> > swift-users mailing list
> > swift-users@swift.org <mailto:swift-users@swift.org>(mailto:swift-users@swift.org <mailto:swift-users@swift.org>)
> > https://lists.swift.org/mailman/listinfo/swift-users
>
>
>
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


(Charles Lane) #12

Thanks! I was kind of waiting to see if it was just something dumb that I was doing or didn’t do. But apparently you’ve seen it too. Makes me feel better :slight_smile:

···

Thanks Charles! I have created Jira issue to track this bug.

https://bugs.swift.org/browse/SR-1853

Mishal Shah