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 394
    • Merge Requests 394
  • 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
  • #18908

Closed
Open
Opened Oct 30, 2020 by Ben Gamari@bgamari🐢Maintainer

Bindist `configure` should check for availability of `libgmp`

Currently configure does not check whether CC is able to link against libgmp if the bindist is configured to use the gmp integer backend.

Usually this isn't a problem since the ghc-pkg is a Haskell executable which runs during installation (which links against libgmp). This generally means that libgmp would certainly fail if it's not available at all on the system. However, in some cases the toolchain we configure against is unable to link against system libraries (e.g. in the case that we are using Anaconda's C toolchain). This means that configure can succeed yet installs a compiler that is unavailable.

The bindist configure script really should try linking against libgmp to ensure that the toolchain is usable.

Assignee
Assign to
9.2.1
Milestone
9.2.1
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#18908