Compiling Foundation.System.Bindings.Posix ( .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.0.2/build/Foundation/System/Bindings/Posix.hs, interpreted )
Error: bytecode compiler can't handle some foreign calling conventions
Workaround: use -fobject-code, or compile this module to .o separately.