I am trying to build 4.1 on s390x architecture and swift compiler is built but when I try to compile a swift program containing Enums then I get this message during linking. I suspect this is a critical error for other issues we are having on s390x:
My source:
$:/home/swift/testcode# cat enumtest.swift
enum Test {
case success
}
When I compile I get this warning:
/home/swift/swift4.1/swift4.1/build/Ninja-RelWithDebInfoAssert/swift-linux-s390x/bin/swiftc -g enumtest.swift
/opt/binutils-2.27/bin/ld.gold: warning: R_390_PC32DBL target misaligned at c3c
Wonder if I should be looking at IRGen code related to Enums - any other places I should look at for correct alignment? What are typical structures related to Enums I should be looking for?
Thanks.