[GHC] #7871: 7.6.3 failed to build with make -j12

#7871: 7.6.3 failed to build with make -j12 --------------------------------+------------------------------------------- Reporter: nwf | Owner: Type: bug | Status: new Priority: normal | Component: Build System Version: 7.6.3 | Keywords: Os: Linux | Architecture: x86_64 (amd64) Failure: Building GHC failed | Blockedby: Blocking: | Related: --------------------------------+------------------------------------------- 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. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7871 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7871: 7.6.3 failed to build with make -j12 ----------------------------------+----------------------------------------- Reporter: nwf | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Build System | Version: 7.6.3 Resolution: fixed | Keywords: Os: Linux | Architecture: x86_64 (amd64) Failure: Building GHC failed | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: ----------------------------------+----------------------------------------- Changes (by igloo): * status: new => closed * difficulty: => Unknown * resolution: => fixed Comment: Thanks for the report. Happily, it looks like this is already fixed in HEAD: {{{ $ rm libraries/bin-package-db/dist-install/build/libHSbin-package- db-0.0.0.0-ghc7.6.3.20130421.so $ make compiler/stage2/build/libHSghc-7.6.3.20130421-ghc7.6.3.20130421.so ===--- building phase 0 make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds make[1]: Nothing to be done for `phase_0_builds'. ===--- building phase 1 make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds make[1]: Nothing to be done for `phase_1_builds'. ===--- building final phase make -r --no-print-directory -f ghc.mk phase=final compiler/stage2/build/libHSghc-7.6.3.20130421-ghc7.6.3.20130421.so $ }}} {{{ $ rm libraries/bin-package-db/dist-install/build/libHSbin-package- db-0.0.0.0-ghc7.7.20130510.so $ make compiler/stage2/build/libHSghc-7.7.20130510-ghc7.7.20130510.so [...] "inplace/bin/ghc-stage1" [...] -o libraries/bin-package-db/dist- install/build/libHSbin-package-db-0.0.0.0-ghc7.7.20130510.so [...] }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7871#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC