#5486: LLVM can't compile HsOpenSSL
---------------------------------+------------------------------------------
    Reporter:  dterei            |       Owner:  dterei            
        Type:  bug               |      Status:  new               
    Priority:  normal            |   Component:  Compiler (LLVM)   
     Version:  7.2.1             |    Keywords:                    
    Testcase:                    |   Blockedby:                    
          Os:  Unknown/Multiple  |    Blocking:                    
Architecture:  Unknown/Multiple  |     Failure:  Compile-time crash
---------------------------------+------------------------------------------
 > ...
 > [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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5486>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to