Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,262
    • Issues 4,262
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 419
    • Merge Requests 419
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #5486

Closed
Open
Opened Sep 15, 2011 by dterei@trac-dterei

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 Mar 09, 2019 by dterei
Assignee
Assign to
7.6.1
Milestone
7.6.1
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#5486