[swift-corelibs-dev] Foundation build failing

2017-03-23 Thread David Dunn via swift-corelibs-dev
Hi,

I've downloaded the latest Xcode (beta 5), using the
swift-3.1-DEVELOPMENT-SNAPSHOT-2017-03-19-a
toolchain and also pulled down the latest code from Apple master but when I
run the build in Xcode it fails with the following errors:


Undefined symbols for architecture x86_64:

  "__T015SwiftFoundation014__CFInitializeA0yyF", referenced from:

  ___CFInitialize in libCoreFoundation.a(CFRuntime.o)

  "__T015SwiftFoundation21__CFSwiftGetBaseClasss9AnyObject_pXpyF",
referenced from:

  ___CFInitialize in libCoreFoundation.a(CFRuntime.o)

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see
invocation)


A colleague also sees this problem, can anyone else reproduce it and does
anyone know how to fix it?

Thanks,
David
___
swift-corelibs-dev mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


[swift-corelibs-dev] Fwd: Foundation build failing

2017-03-23 Thread David Dunn via swift-corelibs-dev
-- Forwarded message --
From: Philippe Hausler 
Date: Thu, Mar 23, 2017 at 1:41 PM
Subject: Re: [swift-corelibs-dev] Foundation build failing
To: David Dunn 


This is because mangling changed and that was pushed before the toolchain
was updated to the new mangling.

Revert this commit: https://github.com/apple/swift-corelibs-
foundation/commit/60c8b4e0a9cd364f42056a83705985ef0849b374

Sent from my iPhone

On Mar 23, 2017, at 6:24 AM, David Dunn via swift-corelibs-dev <
[email protected]> wrote:

Hi,

I've downloaded the latest Xcode (beta 5), using the
swift-3.1-DEVELOPMENT-SNAPSHOT-2017-03-19-a toolchain and also pulled down
the latest code from Apple master but when I run the build in Xcode it
fails with the following errors:


Undefined symbols for architecture x86_64:

  "__T015SwiftFoundation014__CFInitializeA0yyF", referenced from:

  ___CFInitialize in libCoreFoundation.a(CFRuntime.o)

  "__T015SwiftFoundation21__CFSwiftGetBaseClasss9AnyObject_pXpyF",
referenced from:

  ___CFInitialize in libCoreFoundation.a(CFRuntime.o)

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see
invocation)


A colleague also sees this problem, can anyone else reproduce it and does
anyone know how to fix it?

Thanks,
David

___
swift-corelibs-dev mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
___
swift-corelibs-dev mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


[swift-corelibs-dev] CharacterSet Issues

2017-03-29 Thread David Dunn via swift-corelibs-dev
Hey,

I noticed there's a lot of bugs within CharacterSet at the moment some of
which I've started to look at. In particular I've been looking at SR-3485
(CharacterSet.isSuperset(of:) returns wrong result on Linux), alongside
this I've noticed there's various others such as SR-3282, SR-3825 and
SR-2956 to name a few.

I've tracked the SR-3485 issue down into the CoreFoundation code and just
need to spend some time understanding what the C code is doing exactly and
why it's returning the incorrect value.

During my investigation into SR-3485 I stumbled upon SR-3311 where Philippe
Hausler mentioned Tony Parker was working on a set of fixes for the
CharacterSet issues, I found more information about this on a PR (#6044
) against apple/swift, I also
found Tony's branch
 for
the refactor of CharacterSet. So firstly I was wondering if there has been
any update on this recently? And is this a planned fix for all of the
current issues in CharacterSet?

Thanks,
David
___
swift-corelibs-dev mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


[swift-corelibs-dev] Unable to Build swift-corelibs-foundation

2017-05-18 Thread David Dunn via swift-corelibs-dev
I've pulled down all the latest changes from
https://github.com/apple/swift-corelibs-foundation and currently using the
latest toolchain (Swift Development Snapshot 2017-05-16).
However various errors arise when trying to build.

I get numerous errors that are similar to this:
swift-corelibs-foundation/Foundation/Data.swift:63:41: '>>' is unavailable
'>>' was obsoleted in Swift 4

And this error also occurs:
swift-corelibs-foundation/Foundation/NSArray.swift:375:157: Contextual
closure type '(UnsafeMutableRawPointer, Int) -> Void' expects 2 arguments,
but 1 was used in closure body

I was wondering if anyone knew a way around these errors? Or is there's
something I'm doing wrong.

Thanks.
___
swift-corelibs-dev mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev