build-toolchain failing


(David Liu) #1

I am getting errors compiling the toolchain from the tip of master.
Specifically inside of stdlib/SDK/.., it has some syntax issue which leads
to compilation failure.
I did a swift/utils/update-checkout then swift/utils/build-toolchain.
I see the CI builds are green, am I out of sync some where? Any help would
be much appreciated.

Thanks

Dave


(Mishal Shah) #2

Hi David,

Which version of Xcode are you using? We now require Xcode 8 Beta 4 to be able to build swift. Also, please provide full error message.

Thanks,
Mishal Shah

···

On Aug 4, 2016, at 2:00 AM, David Liu via swift-users <swift-users@swift.org> wrote:

I am getting errors compiling the toolchain from the tip of master.
Specifically inside of stdlib/SDK/.., it has some syntax issue which leads to compilation failure.
I did a swift/utils/update-checkout then swift/utils/build-toolchain.
I see the CI builds are green, am I out of sync some where? Any help would be much appreciated.

Thanks

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


(David Liu) #3

Thanks Mishal!

My fault I did not install the latests Xcode, thanks again for the help!
Everything is building fine now.

I do have another question was wondering if you had any tips.
I am currently debugging the toolchain via REPL, creating a test function
and setting a break point
1> func test(){
2> Array<Int>.myFunc()
3> }
e.g (:b 2) and then stepping in to the std lib functions.
The problem I am facing is that i am not able to figure out how to set a
break point on a std lib function that i have modified with out stepping in
from the test function. I would like to be able to set a break point :b
Array.swift.gyb:809 with out having to step in from the test function in
the REPL. When i try i get no locations.
4> :b Array.swift.gyb:800
Breakpoint 1: no locations (pending)

Any help is much appreciated, this would help speed up debugging time
significantly.

Cheers

Dave

···

On Thu, Aug 4, 2016 at 10:45 AM, Mishal Shah <mishal_shah@apple.com> wrote:

Hi David,

Which version of Xcode are you using? We now require Xcode 8 Beta 4 to be
able to build swift. Also, please provide full error message.

Thanks,
Mishal Shah

On Aug 4, 2016, at 2:00 AM, David Liu via swift-users < > swift-users@swift.org> wrote:

I am getting errors compiling the toolchain from the tip of master.
Specifically inside of stdlib/SDK/.., it has some syntax issue which leads
to compilation failure.
I did a swift/utils/update-checkout then swift/utils/build-toolchain.
I see the CI builds are green, am I out of sync some where? Any help
would be much appreciated.

Thanks

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