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,274
    • Issues 4,274
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 412
    • Merge Requests 412
  • 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
  • #15132

Closed
Open
Opened May 09, 2018 by Tobias Dammers@tdammers🦈Developer

Hadrian-built GHC cannot locate `unlit`

When trying to compile a Literate Haskell source with a Hadrian-built GHC, compilation fails due to GHC not finding the unlit binary.

How to reproduce:

  • Compile GHC using the default Hadrian build.sh script
  • Create a minimal LHS file, e.g. echo '> main = return ()' > test.lhs
  • Compile the LHS file with the in-place GHC: $GHC_SRC_TREE/_build/stage1/bin/ghc test.lhs

This fails with something like:

ghc: could not execute: $GHC_SRC_TREE/_build/stage1/lib/bin/unlit

However, the unlit binary is in $GHC_SRC_TREE/_build/stage1/bin/unlit. Considering how make-built GHC works fine, this seems to be a misconfiguration in the Hadrian build system.

Trac metadata
Trac field Value
Version
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Assignee
Assign to
8.6.1
Milestone
8.6.1 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#15132