Hi,

I am trying to build swift-4.0-branch on s390x.

 1)  The 1st error is in stdlib/public/core/UTF8.swift, line 51,
 failed at " _sanityCheck(source.count  ==4 ) ".
In fact, the test shows "source.count" = "0" on s390x,  Note
"stdlib/public/core/UTF8.swift"
is a new code in swift-4.0-branch, what change should be?

2)  The 2nd error is in "../swiftpm/Sources/Basic/Path.swift" line 506
like:

   private func normalize(absolute string: String) -> String {
       precondition(string.characters.first == "/", "Failure normalizing
\(string), absolute paths should start with '/'")

But in fact the "string" is empty and causes the build stop.
Seems this is related to the configuration.

Thanks,

Sam Ding,

email: samd...@ca.ibm.com
phone: (905)413-2947
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to