Is developer snapshot 2016-07-29 broken?


(Jens Persson) #1

Is it only me or is anyone else unable to use snapshot 2016-07-29-a?

In Xcode 8 beta 3, selecting that toolchain, creating a new command line
app, and trying to compile it results in:
ld: library not found for -lswiftDispatch for architecture x86_64

/Jens


(Charles Lane) #2

I get a segmentation fault 11 at compile time with the 07/29 toolchain & Xcode 8 beta 3. Can anyone point me in right direction to fix this?

MergeSwiftModule normal x86_64 /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin.swiftmodule
    cd /Users/charleslane/Documents/SWDevelopment/SwiftStuff/AppCoda_Starter/FoodPin
    /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-07-29-a.xctoolchain/usr/bin/swift -frontend -emit-module /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AddRestaurantController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantTableViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/SAConfettiView~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/ReviewViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantTableViewCell~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/GlobalHelpers~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantDetailTableViewCell~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantDetailViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AppDelegate~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AddRestaurantExtensions~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/MapViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/Restaurant+CoreDataClass~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/Restaurant+CoreDataProperties~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin+CoreDataModel~partial.swiftmodule -parse-as-library -target x86_64-apple-ios10.0 -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -I /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator -F /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator -enable-testing -g -module-cache-path /Users/charleslane/Library/Developer/Xcode/DerivedData/ModuleCache -serialize-debugging-options -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-generated-files.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-own-target-headers.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-all-target-headers.hmap -Xcc -iquote -Xcc /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-project-headers.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/DerivedSources/x86_64 -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -working-directory/Users/charleslane/Documents/SWDevelopment/SwiftStuff/AppCoda_Starter/FoodPin -emit-module-doc-path /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin.swiftdoc -module-name FoodPin -emit-objc-header-path /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin-Swift.h -o /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin.swiftmodule

0 swift 0x0000000112971c7b llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 43
1 swift 0x0000000112970ec6 llvm::sys::RunSignalHandlers() + 70
2 swift 0x00000001129723cf SignalHandler(int) + 383
3 libsystem_platform.dylib 0x0000000115177d7a _sigtramp + 26
4 libsystem_platform.dylib 0x0000000000000045 _sigtramp + 3941106405
5 swift 0x0000000110162cd0 (anonymous namespace)::ObjCPrinter::print(swift::Type, llvm::Optional<swift::OptionalTypeKind>, swift::Identifier) + 208
6 swift 0x00000001101682f7 (anonymous namespace)::ObjCPrinter::printCollectionElement(swift::Type) + 279
7 swift 0x0000000110167fd6 (anonymous namespace)::ObjCPrinter::printObjCBridgeableType(swift::NominalTypeDecl const*, swift::ClassDecl const*, llvm::ArrayRef<swift::Type>, llvm::Optional<swift::OptionalTypeKind>) + 550
8 swift 0x000000011016374d swift::TypeVisitor<(anonymous namespace)::ObjCPrinter, void, llvm::Optional<swift::OptionalTypeKind> >::visit(swift::Type, llvm::Optional<swift::OptionalTypeKind>) + 1725
9 swift 0x0000000110163a26 swift::TypeVisitor<(anonymous namespace)::ObjCPrinter, void, llvm::Optional<swift::OptionalTypeKind> >::visit(swift::Type, llvm::Optional<swift::OptionalTypeKind>) + 2454
10 swift 0x0000000110162cd0 (anonymous namespace)::ObjCPrinter::print(swift::Type, llvm::Optional<swift::OptionalTypeKind>, swift::Identifier) + 208
11 swift 0x000000011016e8c6 (anonymous namespace)::ObjCPrinter::printAbstractFunctionAsMethod(swift::AbstractFunctionDecl*, bool, bool) + 2118
12 swift 0x000000011016dcd2 (anonymous namespace)::ObjCPrinter::printMembers(swift::IteratorRange<swift::DeclIterator>) + 338
13 swift 0x000000011016c640 swift::ASTVisitor<(anonymous namespace)::ObjCPrinter, void, void, void, void, void, void>::visit(swift::Decl*) + 4768
14 swift 0x000000011015ec74 swift::printAsObjC(llvm::raw_ostream&, swift::ModuleDecl*, llvm::StringRef, swift::Accessibility) + 1700
15 swift 0x000000010fccaafe printAsObjC(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, swift::ModuleDecl*, llvm::StringRef, bool) + 462
16 swift 0x000000010fcc962a performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*) + 14746
17 swift 0x000000010fcc49bf swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2895
18 swift 0x000000010fc87390 main + 2448
19 libdyld.dylib 0x0000000114e56255 start + 1
20 libdyld.dylib 0x0000000000000040 start + 3944390124
Stack dump:
0. Program arguments: /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-07-29-a.xctoolchain/usr/bin/swift -frontend -emit-module /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AddRestaurantController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantTableViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/SAConfettiView~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/ReviewViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantTableViewCell~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/GlobalHelpers~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantDetailTableViewCell~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantDetailViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AppDelegate~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AddRestaurantExtensions~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/MapViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/Restaurant+CoreDataClass~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/Restaurant+CoreDataProperties~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin+CoreDataModel~partial.swiftmodule -parse-as-library -target x86_64-apple-ios10.0 -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -I /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator -F /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator -enable-testing -g -module-cache-path /Users/charleslane/Library/Developer/Xcode/DerivedData/ModuleCache -serialize-debugging-options -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-generated-files.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-own-target-headers.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-all-target-headers.hmap -Xcc -iquote -Xcc /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-project-headers.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/DerivedSources/x86_64 -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -working-directory/Users/charleslane/Documents/SWDevelopment/SwiftStuff/AppCoda_Starter/FoodPin -emit-module-doc-path /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin.swiftdoc -module-name FoodPin -emit-objc-header-path /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin-Swift.h -o /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin.swiftmodule
1. While generating Objective-C header
2. While printing declaration 0x7fd1ac17fda0 at <invalid loc>
3. While printing type '[String : Any]'
4. While printing NULL type!

···

Is it only me or is anyone else unable to use snapshot 2016-07-29-a?

In Xcode 8 beta 3, selecting that toolchain, creating a new command line app, and trying to compile it results in:
ld: library not found for -lswiftDispatch for architecture x86_64

/Jens


(Erica Sadun) #3

For me:

ld: library not found for -lswiftDispatch for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

-- E

···

On Jul 31, 2016, at 4:58 AM, Jens Persson via swift-dev <swift-dev@swift.org> wrote:

Is it only me or is anyone else unable to use snapshot 2016-07-29-a?

In Xcode 8 beta 3, selecting that toolchain, creating a new command line app, and trying to compile it results in:
ld: library not found for -lswiftDispatch for architecture x86_64

/Jens

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


(Jens Persson) #4

I forgot to mention, the issue is only for the pkg without symbols:
swift-DEVELOPMENT-SNAPSHOT-2016-07-29-a-osx.pkg

The other one, ie this:
swift-DEVELOPMENT-SNAPSHOT-2016-07-29-a-osx-symbols.pkg
works but lacks UnsafeRawPointer (which is included in the one without
symbols).

Shouldn't UnsafeRawPointer be in both? And why does the one without symbols
have the linker error?

(btw, the error only shows when importing something, eg Foundation.)

/Jens

···

On Sun, Jul 31, 2016 at 12:58 PM, Jens Persson <jens@bitcycle.com> wrote:

Is it only me or is anyone else unable to use snapshot 2016-07-29-a?

In Xcode 8 beta 3, selecting that toolchain, creating a new command line
app, and trying to compile it results in:
ld: library not found for -lswiftDispatch for architecture x86_64

/Jens

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com


(Jens Persson) #5

I get the same as Erica Sadun (for the pkg without symbols that is (the
other one seems to work but doesn't have UnsafeRawPointer as previously
mentioned)).
I've filed https://bugs.swift.org/browse/SR-2232
/Jens

···

On Sun, Jul 31, 2016 at 7:21 PM, Erica Sadun <erica@ericasadun.com> wrote:

For me:

ld: library not found for -lswiftDispatch for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

-- E

On Jul 31, 2016, at 4:58 AM, Jens Persson via swift-dev < > swift-dev@swift.org> wrote:

Is it only me or is anyone else unable to use snapshot 2016-07-29-a?

In Xcode 8 beta 3, selecting that toolchain, creating a new command line
app, and trying to compile it results in:
ld: library not found for -lswiftDispatch for architecture x86_64

/Jens

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

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com


(Joe Groff) #6

I get a segmentation fault 11 at compile time with the 07/29 toolchain & Xcode 8 beta 3. Can anyone point me in right direction to fix this?

Should be addressed by https://github.com/apple/swift/pull/3918.

-Joe

···

On Jul 31, 2016, at 5:12 AM, Charles Lane via swift-dev <swift-dev@swift.org> wrote:

MergeSwiftModule normal x86_64 /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin.swiftmodule
    cd /Users/charleslane/Documents/SWDevelopment/SwiftStuff/AppCoda_Starter/FoodPin
    /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-07-29-a.xctoolchain/usr/bin/swift -frontend -emit-module /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AddRestaurantController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantTableViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/SAConfettiView~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/ReviewViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantTableViewCell~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/GlobalHelpers~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantDetailTableViewCell~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantDetailViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AppDelegate~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AddRestaurantExtensions~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/MapViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/Restaurant+CoreDataClass~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/Restaurant+CoreDataProperties~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin+CoreDataModel~partial.swiftmodule -parse-as-library -target x86_64-apple-ios10.0 -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -I /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator -F /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator -enable-testing -g -module-cache-path /Users/charleslane/Library/Developer/Xcode/DerivedData/ModuleCache -serialize-debugging-options -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-generated-files.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-own-target-headers.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-all-target-headers.hmap -Xcc -iquote -Xcc /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-project-headers.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/DerivedSources/x86_64 -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -working-directory/Users/charleslane/Documents/SWDevelopment/SwiftStuff/AppCoda_Starter/FoodPin -emit-module-doc-path /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin.swiftdoc -module-name FoodPin -emit-objc-header-path /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin-Swift.h -o /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin.swiftmodule

0 swift 0x0000000112971c7b llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 43
1 swift 0x0000000112970ec6 llvm::sys::RunSignalHandlers() + 70
2 swift 0x00000001129723cf SignalHandler(int) + 383
3 libsystem_platform.dylib 0x0000000115177d7a _sigtramp + 26
4 libsystem_platform.dylib 0x0000000000000045 _sigtramp + 3941106405
5 swift 0x0000000110162cd0 (anonymous namespace)::ObjCPrinter::print(swift::Type, llvm::Optional<swift::OptionalTypeKind>, swift::Identifier) + 208
6 swift 0x00000001101682f7 (anonymous namespace)::ObjCPrinter::printCollectionElement(swift::Type) + 279
7 swift 0x0000000110167fd6 (anonymous namespace)::ObjCPrinter::printObjCBridgeableType(swift::NominalTypeDecl const*, swift::ClassDecl const*, llvm::ArrayRef<swift::Type>, llvm::Optional<swift::OptionalTypeKind>) + 550
8 swift 0x000000011016374d swift::TypeVisitor<(anonymous namespace)::ObjCPrinter, void, llvm::Optional<swift::OptionalTypeKind> >::visit(swift::Type, llvm::Optional<swift::OptionalTypeKind>) + 1725
9 swift 0x0000000110163a26 swift::TypeVisitor<(anonymous namespace)::ObjCPrinter, void, llvm::Optional<swift::OptionalTypeKind> >::visit(swift::Type, llvm::Optional<swift::OptionalTypeKind>) + 2454
10 swift 0x0000000110162cd0 (anonymous namespace)::ObjCPrinter::print(swift::Type, llvm::Optional<swift::OptionalTypeKind>, swift::Identifier) + 208
11 swift 0x000000011016e8c6 (anonymous namespace)::ObjCPrinter::printAbstractFunctionAsMethod(swift::AbstractFunctionDecl*, bool, bool) + 2118
12 swift 0x000000011016dcd2 (anonymous namespace)::ObjCPrinter::printMembers(swift::IteratorRange<swift::DeclIterator>) + 338
13 swift 0x000000011016c640 swift::ASTVisitor<(anonymous namespace)::ObjCPrinter, void, void, void, void, void, void>::visit(swift::Decl*) + 4768
14 swift 0x000000011015ec74 swift::printAsObjC(llvm::raw_ostream&, swift::ModuleDecl*, llvm::StringRef, swift::Accessibility) + 1700
15 swift 0x000000010fccaafe printAsObjC(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, swift::ModuleDecl*, llvm::StringRef, bool) + 462
16 swift 0x000000010fcc962a performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*) + 14746
17 swift 0x000000010fcc49bf swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2895
18 swift 0x000000010fc87390 main + 2448
19 libdyld.dylib 0x0000000114e56255 start + 1
20 libdyld.dylib 0x0000000000000040 start + 3944390124
Stack dump:
0. Program arguments: /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-07-29-a.xctoolchain/usr/bin/swift -frontend -emit-module /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AddRestaurantController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantTableViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/SAConfettiView~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/ReviewViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantTableViewCell~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/GlobalHelpers~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantDetailTableViewCell~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/RestaurantDetailViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AppDelegate~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AddRestaurantExtensions~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/MapViewController~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/Restaurant+CoreDataClass~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/Restaurant+CoreDataProperties~partial.swiftmodule /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin+CoreDataModel~partial.swiftmodule -parse-as-library -target x86_64-apple-ios10.0 -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -I /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator -F /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator -enable-testing -g -module-cache-path /Users/charleslane/Library/Developer/Xcode/DerivedData/ModuleCache -serialize-debugging-options -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-generated-files.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-own-target-headers.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-all-target-headers.hmap -Xcc -iquote -Xcc /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/FoodPin-project-headers.hmap -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/DerivedSources/x86_64 -Xcc -I/Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -working-directory/Users/charleslane/Documents/SWDevelopment/SwiftStuff/AppCoda_Starter/FoodPin -emit-module-doc-path /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin.swiftdoc -module-name FoodPin -emit-objc-header-path /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin-Swift.h -o /Users/charleslane/Library/Developer/Xcode/DerivedData/FoodPin-dxwmvlsjauworxcjhxialmqbjmnw/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/FoodPin.swiftmodule
1. While generating Objective-C header
2. While printing declaration 0x7fd1ac17fda0 at <invalid loc>
3. While printing type '[String : Any]'
4. While printing NULL type!

> Is it only me or is anyone else unable to use snapshot 2016-07-29-a?
>
> In Xcode 8 beta 3, selecting that toolchain, creating a new command line app, and trying to compile it results in:
> ld: library not found for -lswiftDispatch for architecture x86_64
>
> /Jens
>
>
>
>
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


(Jens Persson) #7

I checked the two earlier snapshots (25 and 28 july) and they too have this
bug :frowning:

I fear that the next development snapshot, which I'm waiting for, will be
unusable too, or lack the UnsafeRawPointer API.

···

On Sun, Jul 31, 2016 at 9:45 PM, Jens Persson <jens@bitcycle.com> wrote:

I get the same as Erica Sadun (for the pkg without symbols that is (the
other one seems to work but doesn't have UnsafeRawPointer as previously
mentioned)).
I've filed https://bugs.swift.org/browse/SR-2232
/Jens

On Sun, Jul 31, 2016 at 7:21 PM, Erica Sadun <erica@ericasadun.com> wrote:

For me:

ld: library not found for -lswiftDispatch for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

-- E

On Jul 31, 2016, at 4:58 AM, Jens Persson via swift-dev < >> swift-dev@swift.org> wrote:

Is it only me or is anyone else unable to use snapshot 2016-07-29-a?

In Xcode 8 beta 3, selecting that toolchain, creating a new command line
app, and trying to compile it results in:
ld: library not found for -lswiftDispatch for architecture x86_64

/Jens

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

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com


(Erica Sadun) #8

August 2 nightly:

ld: library not found for -lswiftDispatch for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Code:

//-----------------------------------------------------------------------------
// MARK: Casting
//-----------------------------------------------------------------------------

// The Ashcast: Perform unsafe bitcast but only if the sizes equate

// Update for 3.0 8/2
infix operator -->
public func --><T, U>(value: T, target: U.Type) -> U? {
    guard MemoryLayout<T>.size == MemoryLayout<U>.size else { return nil }
    return unsafeBitCast(value, to: target)
}

// Beta 5
/// infix operator --> {}
/// public func --><T, U>(value: T, target: U.Type) -> U? {
/// guard sizeof(T.self) == sizeof(U.self) else { return nil }
/// return unsafeBitCast(value, to: target)
/// }

-- E

···

On Aug 1, 2016, at 5:11 PM, Joe Groff via swift-dev <swift-dev@swift.org> wrote:

On Jul 31, 2016, at 5:12 AM, Charles Lane via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:

I get a segmentation fault 11 at compile time with the 07/29 toolchain & Xcode 8 beta 3. Can anyone point me in right direction to fix this?

Should be addressed by https://github.com/apple/swift/pull/3918.

-Joe


(Jordan Rose) #9

This one’s like the same as the previous nightly, SR-2232 <https://bugs.swift.org/browse/SR-2232>. Mishal, Michael?

Jordan

···

On Aug 3, 2016, at 07:59, Erica Sadun via swift-dev <swift-dev@swift.org> wrote:

On Aug 1, 2016, at 5:11 PM, Joe Groff via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:

On Jul 31, 2016, at 5:12 AM, Charles Lane via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:

I get a segmentation fault 11 at compile time with the 07/29 toolchain & Xcode 8 beta 3. Can anyone point me in right direction to fix this?

Should be addressed by https://github.com/apple/swift/pull/3918.

-Joe

August 2 nightly:

ld: library not found for -lswiftDispatch for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


(Mishal Shah) #10

Hi Jens,

New toolchain released today contains fix for this issue.

https://swift.org/builds/development/xcode/swift-DEVELOPMENT-SNAPSHOT-2016-08-04-a/swift-DEVELOPMENT-SNAPSHOT-2016-08-04-a-osx.pkg

Thanks,
Mishal Shah

···

On Aug 1, 2016, at 6:49 AM, Jens Persson via swift-dev <swift-dev@swift.org> wrote:

I checked the two earlier snapshots (25 and 28 july) and they too have this bug :frowning:

I fear that the next development snapshot, which I'm waiting for, will be unusable too, or lack the UnsafeRawPointer API.

On Sun, Jul 31, 2016 at 9:45 PM, Jens Persson <jens@bitcycle.com <mailto:jens@bitcycle.com>> wrote:
I get the same as Erica Sadun (for the pkg without symbols that is (the other one seems to work but doesn't have UnsafeRawPointer as previously mentioned)).
I've filed https://bugs.swift.org/browse/SR-2232
/Jens

On Sun, Jul 31, 2016 at 7:21 PM, Erica Sadun <erica@ericasadun.com <mailto:erica@ericasadun.com>> wrote:
For me:

ld: library not found for -lswiftDispatch for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

-- E

On Jul 31, 2016, at 4:58 AM, Jens Persson via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:

Is it only me or is anyone else unable to use snapshot 2016-07-29-a?

In Xcode 8 beta 3, selecting that toolchain, creating a new command line app, and trying to compile it results in:
ld: library not found for -lswiftDispatch for architecture x86_64

/Jens

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

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com <mailto:jens@bitcycle.com>

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com <mailto:jens@bitcycle.com>

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


(Jens Persson) #11

I've also tried the latest nightly (2 aug *), and I can verify that it's
broken in the same way as the latest dev snapshots.
(* https://swiftnightly.com,
swift-DEVELOPMENT-SNAPSHOT-2016-08-02-a.xctoolchain)

Note that the following suffices to demonstrate the issue (a command line
app):
import Foundation
print("Hello, world!") // This line is not needed to produce the linker
error.

Commenting out 'import Foundation' will make it compile.

(I also tried creating a single view iOS app and the standard template prj
won't compile with the nightly toolchain. Perhaps it's the same with the
latest dev snapshots, haven't tried.)

I'm a bit surprised that so few seem to have noticed that at least the
three latest dev snapshots (without symbols) are broken (ans the ones
without symbols don't include UnsafeRawPointer).

I'd like to try out the new UnsafeRawPointer API, and it's currently not
possible (beta 4 doesn't include it, and all the snapshots that include it
are broken/unusable as described above).

/Jens

···

On Wed, Aug 3, 2016 at 6:01 PM, Jordan Rose via swift-dev < swift-dev@swift.org> wrote:

On Aug 3, 2016, at 07:59, Erica Sadun via swift-dev <swift-dev@swift.org> > wrote:

On Aug 1, 2016, at 5:11 PM, Joe Groff via swift-dev <swift-dev@swift.org> > wrote:

On Jul 31, 2016, at 5:12 AM, Charles Lane via swift-dev < > swift-dev@swift.org> wrote:

I get a segmentation fault 11 at compile time with the 07/29 toolchain &
Xcode 8 beta 3. Can anyone point me in right direction to fix this?

Should be addressed by https://github.com/apple/swift/pull/3918.

-Joe

August 2 nightly:

ld: library not found for -lswiftDispatch for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

This one’s like the same as the previous nightly, SR-2232
<https://bugs.swift.org/browse/SR-2232>. Mishal, Michael?

Jordan

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

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com


(Jens Persson) #12

Thanks! Shouldn't it also be available from:
https://swift.org/download/#snapshots
?
I also noted that:
https://swift.org/download/#previews
has Xcode 8 beta 3 instead of beta 4.
/Jens

···

On Thu, Aug 4, 2016 at 8:16 PM, Mishal Shah <mishal_shah@apple.com> wrote:

Hi Jens,

New toolchain released today contains fix for this issue.

https://swift.org/builds/development/xcode/swift-
DEVELOPMENT-SNAPSHOT-2016-08-04-a/swift-DEVELOPMENT-
SNAPSHOT-2016-08-04-a-osx.pkg

Thanks,
Mishal Shah

On Aug 1, 2016, at 6:49 AM, Jens Persson via swift-dev < > swift-dev@swift.org> wrote:

I checked the two earlier snapshots (25 and 28 july) and they too have
this bug :frowning:

I fear that the next development snapshot, which I'm waiting for, will be
unusable too, or lack the UnsafeRawPointer API.

On Sun, Jul 31, 2016 at 9:45 PM, Jens Persson <jens@bitcycle.com> wrote:

I get the same as Erica Sadun (for the pkg without symbols that is (the
other one seems to work but doesn't have UnsafeRawPointer as previously
mentioned)).
I've filed https://bugs.swift.org/browse/SR-2232
/Jens

On Sun, Jul 31, 2016 at 7:21 PM, Erica Sadun <erica@ericasadun.com> w
rote:

For me:

ld: library not found for -lswiftDispatch for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

-- E

On Jul 31, 2016, at 4:58 AM, Jens Persson via swift-dev < >>> swift-dev@swift.org> wrote:

Is it only me or is anyone else unable to use snapshot 2016-07-29-a?

In Xcode 8 beta 3, selecting that toolchain, creating a new command line
app, and trying to compile it results in:
ld: library not found for -lswiftDispatch for architecture x86_64

/Jens

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

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com

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

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com


(Jordan Rose) #13

The only thing that’s known-broken is command-line tools (because they are linked statically). Everything else is working, or at least the normal levels of snapshot-buggy.

Jordan

···

On Aug 3, 2016, at 11:23, Jens Persson <jens@bitcycle.com> wrote:

I've also tried the latest nightly (2 aug *), and I can verify that it's broken in the same way as the latest dev snapshots.
(* https://swiftnightly.com <https://swiftnightly.com/>, swift-DEVELOPMENT-SNAPSHOT-2016-08-02-a.xctoolchain)

Note that the following suffices to demonstrate the issue (a command line app):
import Foundation
print("Hello, world!") // This line is not needed to produce the linker error.

Commenting out 'import Foundation' will make it compile.

(I also tried creating a single view iOS app and the standard template prj won't compile with the nightly toolchain. Perhaps it's the same with the latest dev snapshots, haven't tried.)

I'm a bit surprised that so few seem to have noticed that at least the three latest dev snapshots (without symbols) are broken (ans the ones without symbols don't include UnsafeRawPointer).

I'd like to try out the new UnsafeRawPointer API, and it's currently not possible (beta 4 doesn't include it, and all the snapshots that include it are broken/unusable as described above).


(Jens Persson) #14

(Correction: (AND the ones WITH symbols don't include UnsafeRawPointer))

···

On Wed, Aug 3, 2016 at 8:23 PM, Jens Persson <jens@bitcycle.com> wrote:

I've also tried the latest nightly (2 aug *), and I can verify that it's
broken in the same way as the latest dev snapshots.
(* https://swiftnightly.com,
swift-DEVELOPMENT-SNAPSHOT-2016-08-02-a.xctoolchain)

Note that the following suffices to demonstrate the issue (a command line
app):
import Foundation
print("Hello, world!") // This line is not needed to produce the linker
error.

Commenting out 'import Foundation' will make it compile.

(I also tried creating a single view iOS app and the standard template prj
won't compile with the nightly toolchain. Perhaps it's the same with the
latest dev snapshots, haven't tried.)

I'm a bit surprised that so few seem to have noticed that at least the
three latest dev snapshots (without symbols) are broken (ans the ones
without symbols don't include UnsafeRawPointer).

I'd like to try out the new UnsafeRawPointer API, and it's currently not
possible (beta 4 doesn't include it, and all the snapshots that include it
are broken/unusable as described above).

/Jens

On Wed, Aug 3, 2016 at 6:01 PM, Jordan Rose via swift-dev < > swift-dev@swift.org> wrote:

On Aug 3, 2016, at 07:59, Erica Sadun via swift-dev <swift-dev@swift.org> >> wrote:

On Aug 1, 2016, at 5:11 PM, Joe Groff via swift-dev <swift-dev@swift.org> >> wrote:

On Jul 31, 2016, at 5:12 AM, Charles Lane via swift-dev < >> swift-dev@swift.org> wrote:

I get a segmentation fault 11 at compile time with the 07/29 toolchain &
Xcode 8 beta 3. Can anyone point me in right direction to fix this?

Should be addressed by https://github.com/apple/swift/pull/3918.

-Joe

August 2 nightly:

ld: library not found for -lswiftDispatch for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

This one’s like the same as the previous nightly, SR-2232
<https://bugs.swift.org/browse/SR-2232>. Mishal, Michael?

Jordan

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

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com


(Jordan Rose) #15

The symbols aren’t complete toolchains; they’re an overlay for debugging the other package.

Jordan

···

On Aug 3, 2016, at 11:25, Jens Persson <jens@bitcycle.com> wrote:

(Correction: (AND the ones WITH symbols don't include UnsafeRawPointer))

On Wed, Aug 3, 2016 at 8:23 PM, Jens Persson <jens@bitcycle.com <mailto:jens@bitcycle.com>> wrote:
I've also tried the latest nightly (2 aug *), and I can verify that it's broken in the same way as the latest dev snapshots.
(* https://swiftnightly.com <https://swiftnightly.com/>, swift-DEVELOPMENT-SNAPSHOT-2016-08-02-a.xctoolchain)

Note that the following suffices to demonstrate the issue (a command line app):
import Foundation
print("Hello, world!") // This line is not needed to produce the linker error.

Commenting out 'import Foundation' will make it compile.

(I also tried creating a single view iOS app and the standard template prj won't compile with the nightly toolchain. Perhaps it's the same with the latest dev snapshots, haven't tried.)

I'm a bit surprised that so few seem to have noticed that at least the three latest dev snapshots (without symbols) are broken (ans the ones without symbols don't include UnsafeRawPointer).

I'd like to try out the new UnsafeRawPointer API, and it's currently not possible (beta 4 doesn't include it, and all the snapshots that include it are broken/unusable as described above).

/Jens

On Wed, Aug 3, 2016 at 6:01 PM, Jordan Rose via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:

On Aug 3, 2016, at 07:59, Erica Sadun via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:

On Aug 1, 2016, at 5:11 PM, Joe Groff via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:

On Jul 31, 2016, at 5:12 AM, Charles Lane via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:

I get a segmentation fault 11 at compile time with the 07/29 toolchain & Xcode 8 beta 3. Can anyone point me in right direction to fix this?

Should be addressed by https://github.com/apple/swift/pull/3918.

-Joe

August 2 nightly:

ld: library not found for -lswiftDispatch for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This one’s like the same as the previous nightly, SR-2232 <https://bugs.swift.org/browse/SR-2232>. Mishal, Michael?

Jordan

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

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com <mailto:jens@bitcycle.com>

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com <mailto:jens@bitcycle.com>


(Jens Persson) #16

The symbols aren’t complete toolchains; they’re an overlay for debugging
the other package.

Ah, thanks! I thought so at first, but then I uninstalled the -symbols-less
pkg and as the one with -symbols still seemed to work I got the idea that
it was a complete package : P Well, that explains why the UnsafeRawPointer
didn't seem to be in there then ... Sorry for the confusion.

I tried creating a Cocoa app now and it works. Thanks again for clearing
things up!

/Jens

···

On Wed, Aug 3, 2016 at 8:25 PM, Jordan Rose <jordan_rose@apple.com> wrote:

Jordan

On Aug 3, 2016, at 11:25, Jens Persson <jens@bitcycle.com> wrote:

(Correction: (AND the ones WITH symbols don't include UnsafeRawPointer))

On Wed, Aug 3, 2016 at 8:23 PM, Jens Persson <jens@bitcycle.com> wrote:

I've also tried the latest nightly (2 aug *), and I can verify that it's
broken in the same way as the latest dev snapshots.
(* https://swiftnightly.com,
swift-DEVELOPMENT-SNAPSHOT-2016-08-02-a.xctoolchain)

Note that the following suffices to demonstrate the issue (a command line
app):
import Foundation
print("Hello, world!") // This line is not needed to produce the linker
error.

Commenting out 'import Foundation' will make it compile.

(I also tried creating a single view iOS app and the standard template
prj won't compile with the nightly toolchain. Perhaps it's the same with
the latest dev snapshots, haven't tried.)

I'm a bit surprised that so few seem to have noticed that at least the
three latest dev snapshots (without symbols) are broken (ans the ones
without symbols don't include UnsafeRawPointer).

I'd like to try out the new UnsafeRawPointer API, and it's currently not
possible (beta 4 doesn't include it, and all the snapshots that include it
are broken/unusable as described above).

/Jens

On Wed, Aug 3, 2016 at 6:01 PM, Jordan Rose via swift-dev < >> swift-dev@swift.org> wrote:

On Aug 3, 2016, at 07:59, Erica Sadun via swift-dev <swift-dev@swift.org> >>> wrote:

On Aug 1, 2016, at 5:11 PM, Joe Groff via swift-dev <swift-dev@swift.org> >>> wrote:

On Jul 31, 2016, at 5:12 AM, Charles Lane via swift-dev < >>> swift-dev@swift.org> wrote:

I get a segmentation fault 11 at compile time with the 07/29 toolchain &
Xcode 8 beta 3. Can anyone point me in right direction to fix this?

Should be addressed by https://github.com/apple/swift/pull/3918.

-Joe

August 2 nightly:

ld: library not found for -lswiftDispatch for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

This one’s like the same as the previous nightly, SR-2232
<https://bugs.swift.org/browse/SR-2232>. Mishal, Michael?

Jordan

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

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com

--
bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden
http://www.bitcycle.com/
Phone: +46-73-753 24 62
E-mail: jens@bitcycle.com