[swift-build-dev] SwiftPM Boostrap Crash

Max Howell max.howell at apple.com
Tue Jan 5 16:32:04 CST 2016


These are Swift standard library symbols not being found.

In order to work against the PR you don’t need to build from source, you can just use the latest snapshots.

Though obviously we should try to fix this anyway.

Does it build if you don’t use the swift/utils/build-script, but instead just step into the swiftpm source directory and do: Utilities/bootstrap ?

> On Jan 5, 2016, at 1:08 PM, Ryan Lovelett via swift-build-dev <swift-build-dev at swift.org> wrote:
> 
> While trying to work on my pull request #108 [1] I've run into a
> stumbling block that is beginning to drive me nuts. I feel like I've
> done something wrong, since I don't see anyone else talking about it,
> but am at a loss as to what to do.
> 
> When the bootstrap runs it is crashing with `ld: symbol(s) not found for
> architecture x86_64`. I've posted [2] the full build log. It was
> generated with utils/build-script --llbuild --swiftpm > allout.txt 2>&1.
> 
> SwiftPM is on commit df7736e3962bfe183451d52b9b865b92f4f9ab26 (just want
> to point out it does not include my WIP branch) and everything else
> should be on its latest.
> 
> The crash is repeatable. I delete all the swift repos and clone them all
> down and run the compile again and it crashes same place every time.
> Someone please help me so I can feel a little less incompetent (or more
> as the case may be).
> 
> [1] https://github.com/apple/swift-package-manager/pull/108
> [2] https://gist.github.com/b91c66f8ace399292ac9
> _______________________________________________
> swift-build-dev mailing list
> swift-build-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-build-dev



More information about the swift-build-dev mailing list