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,332
    • Issues 4,332
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 370
    • Merge Requests 370
  • 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
  • #7871

Closed
Open
Opened Apr 29, 2013 by nwf@trac-nwf

7.6.3 failed to build with make -j12

This looks to be a missing dependency in the build system:

  HC [stage 1] compiler/stage2/build/TcSplice.o-boot
  HC [stage 1] compiler/stage2/build/CodeOutput.o
  HC [stage 1] compiler/stage2/build/RnHsDoc.o
  HC [stage 1] compiler/stage2/build/RnExpr.o-boot
  HC [stage 1] compiler/stage2/build/TcExpr.o-boot
  HC [stage 1] compiler/stage2/build/TcUnify.o-boot
  HC [stage 1] compiler/stage2/build/TcMatches.o-boot
  HC [stage 1] compiler/stage2/build/FloatIn.o
  HC [stage 1] libraries/bin-package-db/dist-install/build/libHSbin-package-db-0.0.0.0-ghc7.6.3.so
Warning: -rtsopts and -with-rtsopts have no effect with -shared.
    Call hs_init_ghc() from your main() function to set these options.
  HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Simple/Haddock.p_o
  HC [stage 1] compiler/stage2/build/Rules.p_o
  HC [stage 1] compiler/stage2/build/HsExpr.p_o
/usr/bin/ld: cannot find -lHSbin-package-db-0.0.0.0-ghc7.6.3
collect2: ld returned 1 exit status
make[1]: *** [compiler/stage2/build/libHSghc-7.6.3-ghc7.6.3.so] Error 1
make[1]: *** Waiting for unfinished jobs....
"rm" -f libraries/haskeline/dist-install/build/libHShaskeline-0.7.0.2.a.contents
"rm" -f libraries/haskeline/dist-install/build/libHShaskeline-0.7.0.2_p.a.contents
"rm" -f libraries/Cabal/Cabal/dist-install/build/libHSCabal-1.16.0.a.contents
make: *** [all] Error 2

Re-running make without a -j option after this failure completes successfully.

Trac metadata
Trac field Value
Version 7.6.3
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
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#7871