<html><body><p><font size="2">Hi,</font><br><br><font size="2">I am trying to build swift-4.0-branch on s390x. </font><br><br><font size="2"> 1) The 1st error is in stdlib/public/core/UTF8.swift, line 51, </font><br><font size="2"> failed at " _sanityCheck(source.count ==4 ) ". </font><br><font size="2">In fact, the test shows "source.count" = "0" on s390x, Note "stdlib/public/core/UTF8.swift"</font><br><font size="2">is a new code in swift-4.0-branch, what change should be?</font><br><br><font size="2">2) The 2nd error is in "../swiftpm/Sources/Basic/Path.swift" line 506 like:</font><br><br><font size="2"> </font><font size="2" color="#001FE2">private func normalize(absolute string: String) -> String {</font><br><font size="2" color="#001FE2"> precondition(string.characters.first == "/", "Failure normalizing \(string), absolute paths should start with '/'")</font><br><br><font size="2">But in fact the "string" is empty and causes the build stop.</font><br><font size="2">Seems this is related to the configuration.</font><br><br><font size="2">Thanks, </font><br><font size="2"> </font><br><font size="2">Sam Ding,</font><br><font size="2"><br></font><font size="2" color="#0000FF">email: </font><font size="2">samding@ca.ibm.com</font><br><font size="2" color="#0000FF">phone:</font><font size="2"> (905)413-2947</font><BR>
</body></html>