Immediate mode failed in my Cygwin port


(Han Sang-jin) #1

I'm nearly ported 4.1-dev to Cygwin.

It works when I compile the hello sample.
But It fails when I run in the immediate mode.
I have no knowledge about the llvm JIT.
What is the things or variables in the compiler I should first check?
Any opinion will be helpful to me.

$ ./swift --version
Swift version 4.1-dev (LLVM 50de137378, Clang de9f003f64, Swift 746fc08b93)
Target: x86_64-unknown-windows-cygnus

$ cat Hello.swift
print("Hello")

$./swiftc Hello.swift
$./Hello
Hello

$./swift Hello.swift
<unknown>:0: error: fatal error encountered during compilation; please file a bug report with your project and the crash log
<unknown>:0: note: Program used external function '_T0s5printyypd_SS9separatorSS10terminatortF' which could not be resolved!

Thanks.