Skip to content

LLVM can't compile HsOpenSSL

> ...
> [10 of 31] Compiling OpenSSL.BIO      ( dist/build/OpenSSL/IO.hs, dist/build/OpenSSL/BIO.o )
> [11 of 31] Compiling OpenSSL.Random   ( dist/build/OpenSSL/Random.hs, dist/build/OpenSSL/Random.o )
> [12 of 31] Compiling OpenSSL.BN       ( dist/build/OpenSSL/BN.hs, dist/build/OpenSSL/BN.o )
>
> OpenSSL/BN.hsc:46:1:
>    Warning: In the use of `unsafePerformIO'
>             (imported from Foreign):
>             Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release"
> [13 of 31] Compiling OpenSSL.DSA      ( dist/build/OpenSSL/DSA.hs, dist/build/OpenSSL/DSA.o )
>
> OpenSSL/DSA.hsc:37:1:
>    Warning: In the use of `unsafePerformIO'
>             (imported from Foreign):
>             Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release"
> opt: /tmp/ghc18807_0/ghc18807_0.ll:20051:1: error: instructions returning void cannot have a name
> %lnPRJ = call ccc void (i8*,i8*,i32)* @memcpy( i8* %lnPRF, i8* %lnPRH, i32 %lnPRI ) nounwind
> ^

Also seems to be some mangler problems.

Edited by dterei
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information