8.5 build failure

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

8.5 build failure

John Leo
Hi everyone,

I pulled from head this morning and rebased my current work on it, and am getting a build error I've never seen before. I don't think it's due to any of my own changes, and everything built fine last time I tried just a couple days ago . I'd pulled both code and submodules. I did make clean, ./boot, ./configure, and then make. The last few lines of the output are below. This is on a Mac using GHC 8.2.2. Let me know if you need any more info.

John

"inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath -optl-Wl,@loader_path `cat rts/dist/libs.depend` rts/dist/build/Adjustor.thr_debug_dyn_o rts/dist/build/Arena.thr_debug_dyn_o rts/dist/build/Capability.thr_debug_dyn_o rts/dist/build/CheckUnload.thr_debug_dyn_o rts/dist/build/ClosureFlags.thr_debug_dyn_o rts/dist/build/Disassembler.thr_debug_dyn_o rts/dist/build/FileLock.thr_debug_dyn_o rts/dist/build/Globals.thr_debug_dyn_o rts/dist/build/Hash.thr_debug_dyn_o rts/dist/build/Hpc.thr_debug_dyn_o rts/dist/build/HsFFI.thr_debug_dyn_o rts/dist/build/Inlines.thr_debug_dyn_o rts/dist/build/Interpreter.thr_debug_dyn_o rts/dist/build/LdvProfile.thr_debug_dyn_o rts/dist/build/Libdw.thr_debug_dyn_o rts/dist/build/LibdwPool.thr_debug_dyn_o rts/dist/build/Linker.thr_debug_dyn_o rts/dist/build/Messages.thr_debug_dyn_o rts/dist/build/OldARMAtomic.thr_debug_dyn_o rts/dist/build/PathUtils.thr_debug_dyn_o rts/dist/build/Pool.thr_debug_dyn_o rts/dist/build/Printer.thr_debug_dyn_o rts/dist/build/ProfHeap.thr_debug_dyn_o rts/dist/build/ProfilerReport.thr_debug_dyn_o rts/dist/build/ProfilerReportJson.thr_debug_dyn_o rts/dist/build/Profiling.thr_debug_dyn_o rts/dist/build/Proftimer.thr_debug_dyn_o rts/dist/build/RaiseAsync.thr_debug_dyn_o rts/dist/build/RetainerProfile.thr_debug_dyn_o rts/dist/build/RetainerSet.thr_debug_dyn_o rts/dist/build/RtsAPI.thr_debug_dyn_o rts/dist/build/RtsDllMain.thr_debug_dyn_o rts/dist/build/RtsFlags.thr_debug_dyn_o rts/dist/build/RtsMain.thr_debug_dyn_o rts/dist/build/RtsMessages.thr_debug_dyn_o rts/dist/build/RtsStartup.thr_debug_dyn_o rts/dist/build/RtsSymbolInfo.thr_debug_dyn_o rts/dist/build/RtsSymbols.thr_debug_dyn_o rts/dist/build/RtsUtils.thr_debug_dyn_o rts/dist/build/STM.thr_debug_dyn_o rts/dist/build/Schedule.thr_debug_dyn_o rts/dist/build/Sparks.thr_debug_dyn_o rts/dist/build/Stable.thr_debug_dyn_o rts/dist/build/StaticPtrTable.thr_debug_dyn_o rts/dist/build/Stats.thr_debug_dyn_o rts/dist/build/StgCRun.thr_debug_dyn_o rts/dist/build/StgPrimFloat.thr_debug_dyn_o rts/dist/build/Task.thr_debug_dyn_o rts/dist/build/ThreadLabels.thr_debug_dyn_o rts/dist/build/ThreadPaused.thr_debug_dyn_o rts/dist/build/Threads.thr_debug_dyn_o rts/dist/build/Ticky.thr_debug_dyn_o rts/dist/build/Timer.thr_debug_dyn_o rts/dist/build/TopHandler.thr_debug_dyn_o rts/dist/build/Trace.thr_debug_dyn_o rts/dist/build/WSDeque.thr_debug_dyn_o rts/dist/build/Weak.thr_debug_dyn_o rts/dist/build/fs.thr_debug_dyn_o rts/dist/build/xxhash.thr_debug_dyn_o rts/dist/build/hooks/FlagDefaults.thr_debug_dyn_o rts/dist/build/hooks/LongGCSync.thr_debug_dyn_o rts/dist/build/hooks/MallocFail.thr_debug_dyn_o rts/dist/build/hooks/OnExit.thr_debug_dyn_o rts/dist/build/hooks/OutOfHeap.thr_debug_dyn_o rts/dist/build/hooks/StackOverflow.thr_debug_dyn_o rts/dist/build/sm/BlockAlloc.thr_debug_dyn_o rts/dist/build/sm/CNF.thr_debug_dyn_o rts/dist/build/sm/Compact.thr_debug_dyn_o rts/dist/build/sm/Evac.thr_debug_dyn_o rts/dist/build/sm/Evac_thr.thr_debug_dyn_o rts/dist/build/sm/GC.thr_debug_dyn_o rts/dist/build/sm/GCAux.thr_debug_dyn_o rts/dist/build/sm/GCUtils.thr_debug_dyn_o rts/dist/build/sm/MBlock.thr_debug_dyn_o rts/dist/build/sm/MarkWeak.thr_debug_dyn_o rts/dist/build/sm/Sanity.thr_debug_dyn_o rts/dist/build/sm/Scav.thr_debug_dyn_o rts/dist/build/sm/Scav_thr.thr_debug_dyn_o rts/dist/build/sm/Storage.thr_debug_dyn_o rts/dist/build/sm/Sweep.thr_debug_dyn_o rts/dist/build/eventlog/EventLog.thr_debug_dyn_o rts/dist/build/eventlog/EventLogWriter.thr_debug_dyn_o rts/dist/build/linker/CacheFlush.thr_debug_dyn_o rts/dist/build/linker/Elf.thr_debug_dyn_o rts/dist/build/linker/LoadArchive.thr_debug_dyn_o rts/dist/build/linker/M32Alloc.thr_debug_dyn_o rts/dist/build/linker/MachO.thr_debug_dyn_o rts/dist/build/linker/PEi386.thr_debug_dyn_o rts/dist/build/linker/SymbolExtras.thr_debug_dyn_o rts/dist/build/linker/elf_got.thr_debug_dyn_o rts/dist/build/linker/elf_plt.thr_debug_dyn_o rts/dist/build/linker/elf_plt_aarch64.thr_debug_dyn_o rts/dist/build/linker/elf_plt_arm.thr_debug_dyn_o rts/dist/build/linker/elf_reloc.thr_debug_dyn_o rts/dist/build/linker/elf_reloc_aarch64.thr_debug_dyn_o rts/dist/build/linker/elf_util.thr_debug_dyn_o rts/dist/build/posix/GetEnv.thr_debug_dyn_o rts/dist/build/posix/GetTime.thr_debug_dyn_o rts/dist/build/posix/Itimer.thr_debug_dyn_o rts/dist/build/posix/OSMem.thr_debug_dyn_o rts/dist/build/posix/OSThreads.thr_debug_dyn_o rts/dist/build/posix/Select.thr_debug_dyn_o rts/dist/build/posix/Signals.thr_debug_dyn_o rts/dist/build/posix/TTY.thr_debug_dyn_o   rts/dist/build/Apply.thr_debug_dyn_o rts/dist/build/Compact.thr_debug_dyn_o rts/dist/build/Exception.thr_debug_dyn_o rts/dist/build/HeapStackCheck.thr_debug_dyn_o rts/dist/build/PrimOps.thr_debug_dyn_o rts/dist/build/StgMiscClosures.thr_debug_dyn_o rts/dist/build/StgStartup.thr_debug_dyn_o rts/dist/build/StgStdThunks.thr_debug_dyn_o rts/dist/build/Updates.thr_debug_dyn_o rts/dist/build/AutoApply.thr_debug_dyn_o  -fPIC -dynamic -optc-DTHREADED_RTS -optc-DDEBUG -eventlog  -O -H64m -Wall   -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts -dcmm-lint  -DDTRACE     -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2 -Wcpp-undef -O0    -Wnoncanonical-monad-instances   -o rts/dist/build/libHSrts_thr_debug-ghc8.5.20180403.dylib
"inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath -optl-Wl,@loader_path `cat rts/dist/libs.depend` rts/dist/build/Adjustor.debug_dyn_o rts/dist/build/Arena.debug_dyn_o rts/dist/build/Capability.debug_dyn_o rts/dist/build/CheckUnload.debug_dyn_o rts/dist/build/ClosureFlags.debug_dyn_o rts/dist/build/Disassembler.debug_dyn_o rts/dist/build/FileLock.debug_dyn_o rts/dist/build/Globals.debug_dyn_o rts/dist/build/Hash.debug_dyn_o rts/dist/build/Hpc.debug_dyn_o rts/dist/build/HsFFI.debug_dyn_o rts/dist/build/Inlines.debug_dyn_o rts/dist/build/Interpreter.debug_dyn_o rts/dist/build/LdvProfile.debug_dyn_o rts/dist/build/Libdw.debug_dyn_o rts/dist/build/LibdwPool.debug_dyn_o rts/dist/build/Linker.debug_dyn_o rts/dist/build/Messages.debug_dyn_o rts/dist/build/OldARMAtomic.debug_dyn_o rts/dist/build/PathUtils.debug_dyn_o rts/dist/build/Pool.debug_dyn_o rts/dist/build/Printer.debug_dyn_o rts/dist/build/ProfHeap.debug_dyn_o rts/dist/build/ProfilerReport.debug_dyn_o rts/dist/build/ProfilerReportJson.debug_dyn_o rts/dist/build/Profiling.debug_dyn_o rts/dist/build/Proftimer.debug_dyn_o rts/dist/build/RaiseAsync.debug_dyn_o rts/dist/build/RetainerProfile.debug_dyn_o rts/dist/build/RetainerSet.debug_dyn_o rts/dist/build/RtsAPI.debug_dyn_o rts/dist/build/RtsDllMain.debug_dyn_o rts/dist/build/RtsFlags.debug_dyn_o rts/dist/build/RtsMain.debug_dyn_o rts/dist/build/RtsMessages.debug_dyn_o rts/dist/build/RtsStartup.debug_dyn_o rts/dist/build/RtsSymbolInfo.debug_dyn_o rts/dist/build/RtsSymbols.debug_dyn_o rts/dist/build/RtsUtils.debug_dyn_o rts/dist/build/STM.debug_dyn_o rts/dist/build/Schedule.debug_dyn_o rts/dist/build/Sparks.debug_dyn_o rts/dist/build/Stable.debug_dyn_o rts/dist/build/StaticPtrTable.debug_dyn_o rts/dist/build/Stats.debug_dyn_o rts/dist/build/StgCRun.debug_dyn_o rts/dist/build/StgPrimFloat.debug_dyn_o rts/dist/build/Task.debug_dyn_o rts/dist/build/ThreadLabels.debug_dyn_o rts/dist/build/ThreadPaused.debug_dyn_o rts/dist/build/Threads.debug_dyn_o rts/dist/build/Ticky.debug_dyn_o rts/dist/build/Timer.debug_dyn_o rts/dist/build/TopHandler.debug_dyn_o rts/dist/build/Trace.debug_dyn_o rts/dist/build/WSDeque.debug_dyn_o rts/dist/build/Weak.debug_dyn_o rts/dist/build/fs.debug_dyn_o rts/dist/build/xxhash.debug_dyn_o rts/dist/build/hooks/FlagDefaults.debug_dyn_o rts/dist/build/hooks/LongGCSync.debug_dyn_o rts/dist/build/hooks/MallocFail.debug_dyn_o rts/dist/build/hooks/OnExit.debug_dyn_o rts/dist/build/hooks/OutOfHeap.debug_dyn_o rts/dist/build/hooks/StackOverflow.debug_dyn_o rts/dist/build/sm/BlockAlloc.debug_dyn_o rts/dist/build/sm/CNF.debug_dyn_o rts/dist/build/sm/Compact.debug_dyn_o rts/dist/build/sm/Evac.debug_dyn_o rts/dist/build/sm/Evac_thr.debug_dyn_o rts/dist/build/sm/GC.debug_dyn_o rts/dist/build/sm/GCAux.debug_dyn_o rts/dist/build/sm/GCUtils.debug_dyn_o rts/dist/build/sm/MBlock.debug_dyn_o rts/dist/build/sm/MarkWeak.debug_dyn_o rts/dist/build/sm/Sanity.debug_dyn_o rts/dist/build/sm/Scav.debug_dyn_o rts/dist/build/sm/Scav_thr.debug_dyn_o rts/dist/build/sm/Storage.debug_dyn_o rts/dist/build/sm/Sweep.debug_dyn_o rts/dist/build/eventlog/EventLog.debug_dyn_o rts/dist/build/eventlog/EventLogWriter.debug_dyn_o rts/dist/build/linker/CacheFlush.debug_dyn_o rts/dist/build/linker/Elf.debug_dyn_o rts/dist/build/linker/LoadArchive.debug_dyn_o rts/dist/build/linker/M32Alloc.debug_dyn_o rts/dist/build/linker/MachO.debug_dyn_o rts/dist/build/linker/PEi386.debug_dyn_o rts/dist/build/linker/SymbolExtras.debug_dyn_o rts/dist/build/linker/elf_got.debug_dyn_o rts/dist/build/linker/elf_plt.debug_dyn_o rts/dist/build/linker/elf_plt_aarch64.debug_dyn_o rts/dist/build/linker/elf_plt_arm.debug_dyn_o rts/dist/build/linker/elf_reloc.debug_dyn_o rts/dist/build/linker/elf_reloc_aarch64.debug_dyn_o rts/dist/build/linker/elf_util.debug_dyn_o rts/dist/build/posix/GetEnv.debug_dyn_o rts/dist/build/posix/GetTime.debug_dyn_o rts/dist/build/posix/Itimer.debug_dyn_o rts/dist/build/posix/OSMem.debug_dyn_o rts/dist/build/posix/OSThreads.debug_dyn_o rts/dist/build/posix/Select.debug_dyn_o rts/dist/build/posix/Signals.debug_dyn_o rts/dist/build/posix/TTY.debug_dyn_o   rts/dist/build/Apply.debug_dyn_o rts/dist/build/Compact.debug_dyn_o rts/dist/build/Exception.debug_dyn_o rts/dist/build/HeapStackCheck.debug_dyn_o rts/dist/build/PrimOps.debug_dyn_o rts/dist/build/StgMiscClosures.debug_dyn_o rts/dist/build/StgStartup.debug_dyn_o rts/dist/build/StgStdThunks.debug_dyn_o rts/dist/build/Updates.debug_dyn_o rts/dist/build/AutoApply.debug_dyn_o  -fPIC -dynamic -optc-DDEBUG -ticky -DTICKY_TICKY -eventlog  -O -H64m -Wall   -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts -dcmm-lint  -DDTRACE     -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2 -Wcpp-undef -O0    -Wnoncanonical-monad-instances   -o rts/dist/build/libHSrts_debug-ghc8.5.20180403.dylib
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-install/build/./autogen/cabal_macros.h -package-id rts -this-unit-id ghc-prim -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim/dist-install/build -stubdir libraries/ghc-prim/dist-install/build   -dynamic-too -c libraries/ghc-prim/./GHC/CString.hs -o libraries/ghc-prim/dist-install/build/GHC/CString.o -dyno libraries/ghc-prim/dist-install/build/GHC/CString.dyn_o
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-install/build/./autogen/cabal_macros.h -package-id rts -this-unit-id ghc-prim -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim/dist-install/build -stubdir libraries/ghc-prim/dist-install/build   -dynamic-too -c libraries/ghc-prim/./GHC/IntWord64.hs -o libraries/ghc-prim/dist-install/build/GHC/IntWord64.o -dyno libraries/ghc-prim/dist-install/build/GHC/IntWord64.dyn_o
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/Base.hs-boot -o libraries/base/dist-install/build/GHC/Base.o-boot -dyno libraries/base/dist-install/build/GHC/Base.dyn_o-boot
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/Real.hs-boot -o libraries/base/dist-install/build/GHC/Real.o-boot -dyno libraries/base/dist-install/build/GHC/Real.dyn_o-boot
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/IO.hs-boot -o libraries/base/dist-install/build/GHC/IO.o-boot -dyno libraries/base/dist-install/build/GHC/IO.dyn_o-boot

libraries/base/GHC/IO.hs-boot:9:12: error:
    • Failed to load interface for ‘GHC.Integer.Type’
      There are files missing in the ‘integer-gmp-1.0.1.0’ package,
      try running 'ghc-pkg check'.
      Use -v to see a list of the files searched for.
    • In the type signature: mplusIO :: IO a -> IO a -> IO a
  |
9 | mplusIO :: IO a -> IO a -> IO a
  |            ^^^^^^^^^^^^^^^^^^^^
make[1]: *** [libraries/base/dist-install/build/GHC/IO.o-boot] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

Re: 8.5 build failure

John Leo
One thing I should note is that I believe since the last time I'd built I updated Mac OS to 10.13.4, if that is relevant. Note that stage 1 built fine; the failure occurs about 22 minutes into a build that typically takes 30 minute on my machine.

John

On Tue, Apr 3, 2018 at 8:06 AM, John Leo <[hidden email]> wrote:
Hi everyone,

I pulled from head this morning and rebased my current work on it, and am getting a build error I've never seen before. I don't think it's due to any of my own changes, and everything built fine last time I tried just a couple days ago . I'd pulled both code and submodules. I did make clean, ./boot, ./configure, and then make. The last few lines of the output are below. This is on a Mac using GHC 8.2.2. Let me know if you need any more info.

John

"inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath -optl-Wl,@loader_path `cat rts/dist/libs.depend` rts/dist/build/Adjustor.thr_debug_dyn_o rts/dist/build/Arena.thr_debug_dyn_o rts/dist/build/Capability.thr_debug_dyn_o rts/dist/build/CheckUnload.thr_debug_dyn_o rts/dist/build/ClosureFlags.thr_debug_dyn_o rts/dist/build/Disassembler.thr_debug_dyn_o rts/dist/build/FileLock.thr_debug_dyn_o rts/dist/build/Globals.thr_debug_dyn_o rts/dist/build/Hash.thr_debug_dyn_o rts/dist/build/Hpc.thr_debug_dyn_o rts/dist/build/HsFFI.thr_debug_dyn_o rts/dist/build/Inlines.thr_debug_dyn_o rts/dist/build/Interpreter.thr_debug_dyn_o rts/dist/build/LdvProfile.thr_debug_dyn_o rts/dist/build/Libdw.thr_debug_dyn_o rts/dist/build/LibdwPool.thr_debug_dyn_o rts/dist/build/Linker.thr_debug_dyn_o rts/dist/build/Messages.thr_debug_dyn_o rts/dist/build/OldARMAtomic.thr_debug_dyn_o rts/dist/build/PathUtils.thr_debug_dyn_o rts/dist/build/Pool.thr_debug_dyn_o rts/dist/build/Printer.thr_debug_dyn_o rts/dist/build/ProfHeap.thr_debug_dyn_o rts/dist/build/ProfilerReport.thr_debug_dyn_o rts/dist/build/ProfilerReportJson.thr_debug_dyn_o rts/dist/build/Profiling.thr_debug_dyn_o rts/dist/build/Proftimer.thr_debug_dyn_o rts/dist/build/RaiseAsync.thr_debug_dyn_o rts/dist/build/RetainerProfile.thr_debug_dyn_o rts/dist/build/RetainerSet.thr_debug_dyn_o rts/dist/build/RtsAPI.thr_debug_dyn_o rts/dist/build/RtsDllMain.thr_debug_dyn_o rts/dist/build/RtsFlags.thr_debug_dyn_o rts/dist/build/RtsMain.thr_debug_dyn_o rts/dist/build/RtsMessages.thr_debug_dyn_o rts/dist/build/RtsStartup.thr_debug_dyn_o rts/dist/build/RtsSymbolInfo.thr_debug_dyn_o rts/dist/build/RtsSymbols.thr_debug_dyn_o rts/dist/build/RtsUtils.thr_debug_dyn_o rts/dist/build/STM.thr_debug_dyn_o rts/dist/build/Schedule.thr_debug_dyn_o rts/dist/build/Sparks.thr_debug_dyn_o rts/dist/build/Stable.thr_debug_dyn_o rts/dist/build/StaticPtrTable.thr_debug_dyn_o rts/dist/build/Stats.thr_debug_dyn_o rts/dist/build/StgCRun.thr_debug_dyn_o rts/dist/build/StgPrimFloat.thr_debug_dyn_o rts/dist/build/Task.thr_debug_dyn_o rts/dist/build/ThreadLabels.thr_debug_dyn_o rts/dist/build/ThreadPaused.thr_debug_dyn_o rts/dist/build/Threads.thr_debug_dyn_o rts/dist/build/Ticky.thr_debug_dyn_o rts/dist/build/Timer.thr_debug_dyn_o rts/dist/build/TopHandler.thr_debug_dyn_o rts/dist/build/Trace.thr_debug_dyn_o rts/dist/build/WSDeque.thr_debug_dyn_o rts/dist/build/Weak.thr_debug_dyn_o rts/dist/build/fs.thr_debug_dyn_o rts/dist/build/xxhash.thr_debug_dyn_o rts/dist/build/hooks/FlagDefaults.thr_debug_dyn_o rts/dist/build/hooks/LongGCSync.thr_debug_dyn_o rts/dist/build/hooks/MallocFail.thr_debug_dyn_o rts/dist/build/hooks/OnExit.thr_debug_dyn_o rts/dist/build/hooks/OutOfHeap.thr_debug_dyn_o rts/dist/build/hooks/StackOverflow.thr_debug_dyn_o rts/dist/build/sm/BlockAlloc.thr_debug_dyn_o rts/dist/build/sm/CNF.thr_debug_dyn_o rts/dist/build/sm/Compact.thr_debug_dyn_o rts/dist/build/sm/Evac.thr_debug_dyn_o rts/dist/build/sm/Evac_thr.thr_debug_dyn_o rts/dist/build/sm/GC.thr_debug_dyn_o rts/dist/build/sm/GCAux.thr_debug_dyn_o rts/dist/build/sm/GCUtils.thr_debug_dyn_o rts/dist/build/sm/MBlock.thr_debug_dyn_o rts/dist/build/sm/MarkWeak.thr_debug_dyn_o rts/dist/build/sm/Sanity.thr_debug_dyn_o rts/dist/build/sm/Scav.thr_debug_dyn_o rts/dist/build/sm/Scav_thr.thr_debug_dyn_o rts/dist/build/sm/Storage.thr_debug_dyn_o rts/dist/build/sm/Sweep.thr_debug_dyn_o rts/dist/build/eventlog/EventLog.thr_debug_dyn_o rts/dist/build/eventlog/EventLogWriter.thr_debug_dyn_o rts/dist/build/linker/CacheFlush.thr_debug_dyn_o rts/dist/build/linker/Elf.thr_debug_dyn_o rts/dist/build/linker/LoadArchive.thr_debug_dyn_o rts/dist/build/linker/M32Alloc.thr_debug_dyn_o rts/dist/build/linker/MachO.thr_debug_dyn_o rts/dist/build/linker/PEi386.thr_debug_dyn_o rts/dist/build/linker/SymbolExtras.thr_debug_dyn_o rts/dist/build/linker/elf_got.thr_debug_dyn_o rts/dist/build/linker/elf_plt.thr_debug_dyn_o rts/dist/build/linker/elf_plt_aarch64.thr_debug_dyn_o rts/dist/build/linker/elf_plt_arm.thr_debug_dyn_o rts/dist/build/linker/elf_reloc.thr_debug_dyn_o rts/dist/build/linker/elf_reloc_aarch64.thr_debug_dyn_o rts/dist/build/linker/elf_util.thr_debug_dyn_o rts/dist/build/posix/GetEnv.thr_debug_dyn_o rts/dist/build/posix/GetTime.thr_debug_dyn_o rts/dist/build/posix/Itimer.thr_debug_dyn_o rts/dist/build/posix/OSMem.thr_debug_dyn_o rts/dist/build/posix/OSThreads.thr_debug_dyn_o rts/dist/build/posix/Select.thr_debug_dyn_o rts/dist/build/posix/Signals.thr_debug_dyn_o rts/dist/build/posix/TTY.thr_debug_dyn_o   rts/dist/build/Apply.thr_debug_dyn_o rts/dist/build/Compact.thr_debug_dyn_o rts/dist/build/Exception.thr_debug_dyn_o rts/dist/build/HeapStackCheck.thr_debug_dyn_o rts/dist/build/PrimOps.thr_debug_dyn_o rts/dist/build/StgMiscClosures.thr_debug_dyn_o rts/dist/build/StgStartup.thr_debug_dyn_o rts/dist/build/StgStdThunks.thr_debug_dyn_o rts/dist/build/Updates.thr_debug_dyn_o rts/dist/build/AutoApply.thr_debug_dyn_o  -fPIC -dynamic -optc-DTHREADED_RTS -optc-DDEBUG -eventlog  -O -H64m -Wall   -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts -dcmm-lint  -DDTRACE     -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2 -Wcpp-undef -O0    -Wnoncanonical-monad-instances   -o rts/dist/build/libHSrts_thr_debug-ghc8.5.20180403.dylib
"inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath -optl-Wl,@loader_path `cat rts/dist/libs.depend` rts/dist/build/Adjustor.debug_dyn_o rts/dist/build/Arena.debug_dyn_o rts/dist/build/Capability.debug_dyn_o rts/dist/build/CheckUnload.debug_dyn_o rts/dist/build/ClosureFlags.debug_dyn_o rts/dist/build/Disassembler.debug_dyn_o rts/dist/build/FileLock.debug_dyn_o rts/dist/build/Globals.debug_dyn_o rts/dist/build/Hash.debug_dyn_o rts/dist/build/Hpc.debug_dyn_o rts/dist/build/HsFFI.debug_dyn_o rts/dist/build/Inlines.debug_dyn_o rts/dist/build/Interpreter.debug_dyn_o rts/dist/build/LdvProfile.debug_dyn_o rts/dist/build/Libdw.debug_dyn_o rts/dist/build/LibdwPool.debug_dyn_o rts/dist/build/Linker.debug_dyn_o rts/dist/build/Messages.debug_dyn_o rts/dist/build/OldARMAtomic.debug_dyn_o rts/dist/build/PathUtils.debug_dyn_o rts/dist/build/Pool.debug_dyn_o rts/dist/build/Printer.debug_dyn_o rts/dist/build/ProfHeap.debug_dyn_o rts/dist/build/ProfilerReport.debug_dyn_o rts/dist/build/ProfilerReportJson.debug_dyn_o rts/dist/build/Profiling.debug_dyn_o rts/dist/build/Proftimer.debug_dyn_o rts/dist/build/RaiseAsync.debug_dyn_o rts/dist/build/RetainerProfile.debug_dyn_o rts/dist/build/RetainerSet.debug_dyn_o rts/dist/build/RtsAPI.debug_dyn_o rts/dist/build/RtsDllMain.debug_dyn_o rts/dist/build/RtsFlags.debug_dyn_o rts/dist/build/RtsMain.debug_dyn_o rts/dist/build/RtsMessages.debug_dyn_o rts/dist/build/RtsStartup.debug_dyn_o rts/dist/build/RtsSymbolInfo.debug_dyn_o rts/dist/build/RtsSymbols.debug_dyn_o rts/dist/build/RtsUtils.debug_dyn_o rts/dist/build/STM.debug_dyn_o rts/dist/build/Schedule.debug_dyn_o rts/dist/build/Sparks.debug_dyn_o rts/dist/build/Stable.debug_dyn_o rts/dist/build/StaticPtrTable.debug_dyn_o rts/dist/build/Stats.debug_dyn_o rts/dist/build/StgCRun.debug_dyn_o rts/dist/build/StgPrimFloat.debug_dyn_o rts/dist/build/Task.debug_dyn_o rts/dist/build/ThreadLabels.debug_dyn_o rts/dist/build/ThreadPaused.debug_dyn_o rts/dist/build/Threads.debug_dyn_o rts/dist/build/Ticky.debug_dyn_o rts/dist/build/Timer.debug_dyn_o rts/dist/build/TopHandler.debug_dyn_o rts/dist/build/Trace.debug_dyn_o rts/dist/build/WSDeque.debug_dyn_o rts/dist/build/Weak.debug_dyn_o rts/dist/build/fs.debug_dyn_o rts/dist/build/xxhash.debug_dyn_o rts/dist/build/hooks/FlagDefaults.debug_dyn_o rts/dist/build/hooks/LongGCSync.debug_dyn_o rts/dist/build/hooks/MallocFail.debug_dyn_o rts/dist/build/hooks/OnExit.debug_dyn_o rts/dist/build/hooks/OutOfHeap.debug_dyn_o rts/dist/build/hooks/StackOverflow.debug_dyn_o rts/dist/build/sm/BlockAlloc.debug_dyn_o rts/dist/build/sm/CNF.debug_dyn_o rts/dist/build/sm/Compact.debug_dyn_o rts/dist/build/sm/Evac.debug_dyn_o rts/dist/build/sm/Evac_thr.debug_dyn_o rts/dist/build/sm/GC.debug_dyn_o rts/dist/build/sm/GCAux.debug_dyn_o rts/dist/build/sm/GCUtils.debug_dyn_o rts/dist/build/sm/MBlock.debug_dyn_o rts/dist/build/sm/MarkWeak.debug_dyn_o rts/dist/build/sm/Sanity.debug_dyn_o rts/dist/build/sm/Scav.debug_dyn_o rts/dist/build/sm/Scav_thr.debug_dyn_o rts/dist/build/sm/Storage.debug_dyn_o rts/dist/build/sm/Sweep.debug_dyn_o rts/dist/build/eventlog/EventLog.debug_dyn_o rts/dist/build/eventlog/EventLogWriter.debug_dyn_o rts/dist/build/linker/CacheFlush.debug_dyn_o rts/dist/build/linker/Elf.debug_dyn_o rts/dist/build/linker/LoadArchive.debug_dyn_o rts/dist/build/linker/M32Alloc.debug_dyn_o rts/dist/build/linker/MachO.debug_dyn_o rts/dist/build/linker/PEi386.debug_dyn_o rts/dist/build/linker/SymbolExtras.debug_dyn_o rts/dist/build/linker/elf_got.debug_dyn_o rts/dist/build/linker/elf_plt.debug_dyn_o rts/dist/build/linker/elf_plt_aarch64.debug_dyn_o rts/dist/build/linker/elf_plt_arm.debug_dyn_o rts/dist/build/linker/elf_reloc.debug_dyn_o rts/dist/build/linker/elf_reloc_aarch64.debug_dyn_o rts/dist/build/linker/elf_util.debug_dyn_o rts/dist/build/posix/GetEnv.debug_dyn_o rts/dist/build/posix/GetTime.debug_dyn_o rts/dist/build/posix/Itimer.debug_dyn_o rts/dist/build/posix/OSMem.debug_dyn_o rts/dist/build/posix/OSThreads.debug_dyn_o rts/dist/build/posix/Select.debug_dyn_o rts/dist/build/posix/Signals.debug_dyn_o rts/dist/build/posix/TTY.debug_dyn_o   rts/dist/build/Apply.debug_dyn_o rts/dist/build/Compact.debug_dyn_o rts/dist/build/Exception.debug_dyn_o rts/dist/build/HeapStackCheck.debug_dyn_o rts/dist/build/PrimOps.debug_dyn_o rts/dist/build/StgMiscClosures.debug_dyn_o rts/dist/build/StgStartup.debug_dyn_o rts/dist/build/StgStdThunks.debug_dyn_o rts/dist/build/Updates.debug_dyn_o rts/dist/build/AutoApply.debug_dyn_o  -fPIC -dynamic -optc-DDEBUG -ticky -DTICKY_TICKY -eventlog  -O -H64m -Wall   -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts -dcmm-lint  -DDTRACE     -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2 -Wcpp-undef -O0    -Wnoncanonical-monad-instances   -o rts/dist/build/libHSrts_debug-ghc8.5.20180403.dylib
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-install/build/./autogen/cabal_macros.h -package-id rts -this-unit-id ghc-prim -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim/dist-install/build -stubdir libraries/ghc-prim/dist-install/build   -dynamic-too -c libraries/ghc-prim/./GHC/CString.hs -o libraries/ghc-prim/dist-install/build/GHC/CString.o -dyno libraries/ghc-prim/dist-install/build/GHC/CString.dyn_o
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-install/build/./autogen/cabal_macros.h -package-id rts -this-unit-id ghc-prim -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim/dist-install/build -stubdir libraries/ghc-prim/dist-install/build   -dynamic-too -c libraries/ghc-prim/./GHC/IntWord64.hs -o libraries/ghc-prim/dist-install/build/GHC/IntWord64.o -dyno libraries/ghc-prim/dist-install/build/GHC/IntWord64.dyn_o
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/Base.hs-boot -o libraries/base/dist-install/build/GHC/Base.o-boot -dyno libraries/base/dist-install/build/GHC/Base.dyn_o-boot
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/Real.hs-boot -o libraries/base/dist-install/build/GHC/Real.o-boot -dyno libraries/base/dist-install/build/GHC/Real.dyn_o-boot
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/IO.hs-boot -o libraries/base/dist-install/build/GHC/IO.o-boot -dyno libraries/base/dist-install/build/GHC/IO.dyn_o-boot

libraries/base/GHC/IO.hs-boot:9:12: error:
    • Failed to load interface for ‘GHC.Integer.Type’
      There are files missing in the ‘integer-gmp-1.0.1.0’ package,
      try running 'ghc-pkg check'.
      Use -v to see a list of the files searched for.
    • In the type signature: mplusIO :: IO a -> IO a -> IO a
  |
9 | mplusIO :: IO a -> IO a -> IO a
  |            ^^^^^^^^^^^^^^^^^^^^
make[1]: *** [libraries/base/dist-install/build/GHC/IO.o-boot] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

RE: 8.5 build failure

GHC - devs mailing list
In reply to this post by John Leo

so is every one else .  No one has a clue what’s going on.  Ben &co are investigating.

 

Simon

 

From: ghc-devs <[hidden email]> On Behalf Of John Leo
Sent: 03 April 2018 16:06
To: ghc-devs <[hidden email]>
Subject: 8.5 build failure

 

Hi everyone,

 

I pulled from head this morning and rebased my current work on it, and am getting a build error I've never seen before. I don't think it's due to any of my own changes, and everything built fine last time I tried just a couple days ago . I'd pulled both code and submodules. I did make clean, ./boot, ./configure, and then make. The last few lines of the output are below. This is on a Mac using GHC 8.2.2. Let me know if you need any more info.

 

John

 

"inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath -optl-Wl,@loader_path `cat rts/dist/libs.depend` rts/dist/build/Adjustor.thr_debug_dyn_o rts/dist/build/Arena.thr_debug_dyn_o rts/dist/build/Capability.thr_debug_dyn_o rts/dist/build/CheckUnload.thr_debug_dyn_o rts/dist/build/ClosureFlags.thr_debug_dyn_o rts/dist/build/Disassembler.thr_debug_dyn_o rts/dist/build/FileLock.thr_debug_dyn_o rts/dist/build/Globals.thr_debug_dyn_o rts/dist/build/Hash.thr_debug_dyn_o rts/dist/build/Hpc.thr_debug_dyn_o rts/dist/build/HsFFI.thr_debug_dyn_o rts/dist/build/Inlines.thr_debug_dyn_o rts/dist/build/Interpreter.thr_debug_dyn_o rts/dist/build/LdvProfile.thr_debug_dyn_o rts/dist/build/Libdw.thr_debug_dyn_o rts/dist/build/LibdwPool.thr_debug_dyn_o rts/dist/build/Linker.thr_debug_dyn_o rts/dist/build/Messages.thr_debug_dyn_o rts/dist/build/OldARMAtomic.thr_debug_dyn_o rts/dist/build/PathUtils.thr_debug_dyn_o rts/dist/build/Pool.thr_debug_dyn_o rts/dist/build/Printer.thr_debug_dyn_o rts/dist/build/ProfHeap.thr_debug_dyn_o rts/dist/build/ProfilerReport.thr_debug_dyn_o rts/dist/build/ProfilerReportJson.thr_debug_dyn_o rts/dist/build/Profiling.thr_debug_dyn_o rts/dist/build/Proftimer.thr_debug_dyn_o rts/dist/build/RaiseAsync.thr_debug_dyn_o rts/dist/build/RetainerProfile.thr_debug_dyn_o rts/dist/build/RetainerSet.thr_debug_dyn_o rts/dist/build/RtsAPI.thr_debug_dyn_o rts/dist/build/RtsDllMain.thr_debug_dyn_o rts/dist/build/RtsFlags.thr_debug_dyn_o rts/dist/build/RtsMain.thr_debug_dyn_o rts/dist/build/RtsMessages.thr_debug_dyn_o rts/dist/build/RtsStartup.thr_debug_dyn_o rts/dist/build/RtsSymbolInfo.thr_debug_dyn_o rts/dist/build/RtsSymbols.thr_debug_dyn_o rts/dist/build/RtsUtils.thr_debug_dyn_o rts/dist/build/STM.thr_debug_dyn_o rts/dist/build/Schedule.thr_debug_dyn_o rts/dist/build/Sparks.thr_debug_dyn_o rts/dist/build/Stable.thr_debug_dyn_o rts/dist/build/StaticPtrTable.thr_debug_dyn_o rts/dist/build/Stats.thr_debug_dyn_o rts/dist/build/StgCRun.thr_debug_dyn_o rts/dist/build/StgPrimFloat.thr_debug_dyn_o rts/dist/build/Task.thr_debug_dyn_o rts/dist/build/ThreadLabels.thr_debug_dyn_o rts/dist/build/ThreadPaused.thr_debug_dyn_o rts/dist/build/Threads.thr_debug_dyn_o rts/dist/build/Ticky.thr_debug_dyn_o rts/dist/build/Timer.thr_debug_dyn_o rts/dist/build/TopHandler.thr_debug_dyn_o rts/dist/build/Trace.thr_debug_dyn_o rts/dist/build/WSDeque.thr_debug_dyn_o rts/dist/build/Weak.thr_debug_dyn_o rts/dist/build/fs.thr_debug_dyn_o rts/dist/build/xxhash.thr_debug_dyn_o rts/dist/build/hooks/FlagDefaults.thr_debug_dyn_o rts/dist/build/hooks/LongGCSync.thr_debug_dyn_o rts/dist/build/hooks/MallocFail.thr_debug_dyn_o rts/dist/build/hooks/OnExit.thr_debug_dyn_o rts/dist/build/hooks/OutOfHeap.thr_debug_dyn_o rts/dist/build/hooks/StackOverflow.thr_debug_dyn_o rts/dist/build/sm/BlockAlloc.thr_debug_dyn_o rts/dist/build/sm/CNF.thr_debug_dyn_o rts/dist/build/sm/Compact.thr_debug_dyn_o rts/dist/build/sm/Evac.thr_debug_dyn_o rts/dist/build/sm/Evac_thr.thr_debug_dyn_o rts/dist/build/sm/GC.thr_debug_dyn_o rts/dist/build/sm/GCAux.thr_debug_dyn_o rts/dist/build/sm/GCUtils.thr_debug_dyn_o rts/dist/build/sm/MBlock.thr_debug_dyn_o rts/dist/build/sm/MarkWeak.thr_debug_dyn_o rts/dist/build/sm/Sanity.thr_debug_dyn_o rts/dist/build/sm/Scav.thr_debug_dyn_o rts/dist/build/sm/Scav_thr.thr_debug_dyn_o rts/dist/build/sm/Storage.thr_debug_dyn_o rts/dist/build/sm/Sweep.thr_debug_dyn_o rts/dist/build/eventlog/EventLog.thr_debug_dyn_o rts/dist/build/eventlog/EventLogWriter.thr_debug_dyn_o rts/dist/build/linker/CacheFlush.thr_debug_dyn_o rts/dist/build/linker/Elf.thr_debug_dyn_o rts/dist/build/linker/LoadArchive.thr_debug_dyn_o rts/dist/build/linker/M32Alloc.thr_debug_dyn_o rts/dist/build/linker/MachO.thr_debug_dyn_o rts/dist/build/linker/PEi386.thr_debug_dyn_o rts/dist/build/linker/SymbolExtras.thr_debug_dyn_o rts/dist/build/linker/elf_got.thr_debug_dyn_o rts/dist/build/linker/elf_plt.thr_debug_dyn_o rts/dist/build/linker/elf_plt_aarch64.thr_debug_dyn_o rts/dist/build/linker/elf_plt_arm.thr_debug_dyn_o rts/dist/build/linker/elf_reloc.thr_debug_dyn_o rts/dist/build/linker/elf_reloc_aarch64.thr_debug_dyn_o rts/dist/build/linker/elf_util.thr_debug_dyn_o rts/dist/build/posix/GetEnv.thr_debug_dyn_o rts/dist/build/posix/GetTime.thr_debug_dyn_o rts/dist/build/posix/Itimer.thr_debug_dyn_o rts/dist/build/posix/OSMem.thr_debug_dyn_o rts/dist/build/posix/OSThreads.thr_debug_dyn_o rts/dist/build/posix/Select.thr_debug_dyn_o rts/dist/build/posix/Signals.thr_debug_dyn_o rts/dist/build/posix/TTY.thr_debug_dyn_o   rts/dist/build/Apply.thr_debug_dyn_o rts/dist/build/Compact.thr_debug_dyn_o rts/dist/build/Exception.thr_debug_dyn_o rts/dist/build/HeapStackCheck.thr_debug_dyn_o rts/dist/build/PrimOps.thr_debug_dyn_o rts/dist/build/StgMiscClosures.thr_debug_dyn_o rts/dist/build/StgStartup.thr_debug_dyn_o rts/dist/build/StgStdThunks.thr_debug_dyn_o rts/dist/build/Updates.thr_debug_dyn_o rts/dist/build/AutoApply.thr_debug_dyn_o  -fPIC -dynamic -optc-DTHREADED_RTS -optc-DDEBUG -eventlog  -O -H64m -Wall   -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts -dcmm-lint  -DDTRACE     -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2 -Wcpp-undef -O0    -Wnoncanonical-monad-instances   -o rts/dist/build/libHSrts_thr_debug-ghc8.5.20180403.dylib

"inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath -optl-Wl,@loader_path `cat rts/dist/libs.depend` rts/dist/build/Adjustor.debug_dyn_o rts/dist/build/Arena.debug_dyn_o rts/dist/build/Capability.debug_dyn_o rts/dist/build/CheckUnload.debug_dyn_o rts/dist/build/ClosureFlags.debug_dyn_o rts/dist/build/Disassembler.debug_dyn_o rts/dist/build/FileLock.debug_dyn_o rts/dist/build/Globals.debug_dyn_o rts/dist/build/Hash.debug_dyn_o rts/dist/build/Hpc.debug_dyn_o rts/dist/build/HsFFI.debug_dyn_o rts/dist/build/Inlines.debug_dyn_o rts/dist/build/Interpreter.debug_dyn_o rts/dist/build/LdvProfile.debug_dyn_o rts/dist/build/Libdw.debug_dyn_o rts/dist/build/LibdwPool.debug_dyn_o rts/dist/build/Linker.debug_dyn_o rts/dist/build/Messages.debug_dyn_o rts/dist/build/OldARMAtomic.debug_dyn_o rts/dist/build/PathUtils.debug_dyn_o rts/dist/build/Pool.debug_dyn_o rts/dist/build/Printer.debug_dyn_o rts/dist/build/ProfHeap.debug_dyn_o rts/dist/build/ProfilerReport.debug_dyn_o rts/dist/build/ProfilerReportJson.debug_dyn_o rts/dist/build/Profiling.debug_dyn_o rts/dist/build/Proftimer.debug_dyn_o rts/dist/build/RaiseAsync.debug_dyn_o rts/dist/build/RetainerProfile.debug_dyn_o rts/dist/build/RetainerSet.debug_dyn_o rts/dist/build/RtsAPI.debug_dyn_o rts/dist/build/RtsDllMain.debug_dyn_o rts/dist/build/RtsFlags.debug_dyn_o rts/dist/build/RtsMain.debug_dyn_o rts/dist/build/RtsMessages.debug_dyn_o rts/dist/build/RtsStartup.debug_dyn_o rts/dist/build/RtsSymbolInfo.debug_dyn_o rts/dist/build/RtsSymbols.debug_dyn_o rts/dist/build/RtsUtils.debug_dyn_o rts/dist/build/STM.debug_dyn_o rts/dist/build/Schedule.debug_dyn_o rts/dist/build/Sparks.debug_dyn_o rts/dist/build/Stable.debug_dyn_o rts/dist/build/StaticPtrTable.debug_dyn_o rts/dist/build/Stats.debug_dyn_o rts/dist/build/StgCRun.debug_dyn_o rts/dist/build/StgPrimFloat.debug_dyn_o rts/dist/build/Task.debug_dyn_o rts/dist/build/ThreadLabels.debug_dyn_o rts/dist/build/ThreadPaused.debug_dyn_o rts/dist/build/Threads.debug_dyn_o rts/dist/build/Ticky.debug_dyn_o rts/dist/build/Timer.debug_dyn_o rts/dist/build/TopHandler.debug_dyn_o rts/dist/build/Trace.debug_dyn_o rts/dist/build/WSDeque.debug_dyn_o rts/dist/build/Weak.debug_dyn_o rts/dist/build/fs.debug_dyn_o rts/dist/build/xxhash.debug_dyn_o rts/dist/build/hooks/FlagDefaults.debug_dyn_o rts/dist/build/hooks/LongGCSync.debug_dyn_o rts/dist/build/hooks/MallocFail.debug_dyn_o rts/dist/build/hooks/OnExit.debug_dyn_o rts/dist/build/hooks/OutOfHeap.debug_dyn_o rts/dist/build/hooks/StackOverflow.debug_dyn_o rts/dist/build/sm/BlockAlloc.debug_dyn_o rts/dist/build/sm/CNF.debug_dyn_o rts/dist/build/sm/Compact.debug_dyn_o rts/dist/build/sm/Evac.debug_dyn_o rts/dist/build/sm/Evac_thr.debug_dyn_o rts/dist/build/sm/GC.debug_dyn_o rts/dist/build/sm/GCAux.debug_dyn_o rts/dist/build/sm/GCUtils.debug_dyn_o rts/dist/build/sm/MBlock.debug_dyn_o rts/dist/build/sm/MarkWeak.debug_dyn_o rts/dist/build/sm/Sanity.debug_dyn_o rts/dist/build/sm/Scav.debug_dyn_o rts/dist/build/sm/Scav_thr.debug_dyn_o rts/dist/build/sm/Storage.debug_dyn_o rts/dist/build/sm/Sweep.debug_dyn_o rts/dist/build/eventlog/EventLog.debug_dyn_o rts/dist/build/eventlog/EventLogWriter.debug_dyn_o rts/dist/build/linker/CacheFlush.debug_dyn_o rts/dist/build/linker/Elf.debug_dyn_o rts/dist/build/linker/LoadArchive.debug_dyn_o rts/dist/build/linker/M32Alloc.debug_dyn_o rts/dist/build/linker/MachO.debug_dyn_o rts/dist/build/linker/PEi386.debug_dyn_o rts/dist/build/linker/SymbolExtras.debug_dyn_o rts/dist/build/linker/elf_got.debug_dyn_o rts/dist/build/linker/elf_plt.debug_dyn_o rts/dist/build/linker/elf_plt_aarch64.debug_dyn_o rts/dist/build/linker/elf_plt_arm.debug_dyn_o rts/dist/build/linker/elf_reloc.debug_dyn_o rts/dist/build/linker/elf_reloc_aarch64.debug_dyn_o rts/dist/build/linker/elf_util.debug_dyn_o rts/dist/build/posix/GetEnv.debug_dyn_o rts/dist/build/posix/GetTime.debug_dyn_o rts/dist/build/posix/Itimer.debug_dyn_o rts/dist/build/posix/OSMem.debug_dyn_o rts/dist/build/posix/OSThreads.debug_dyn_o rts/dist/build/posix/Select.debug_dyn_o rts/dist/build/posix/Signals.debug_dyn_o rts/dist/build/posix/TTY.debug_dyn_o   rts/dist/build/Apply.debug_dyn_o rts/dist/build/Compact.debug_dyn_o rts/dist/build/Exception.debug_dyn_o rts/dist/build/HeapStackCheck.debug_dyn_o rts/dist/build/PrimOps.debug_dyn_o rts/dist/build/StgMiscClosures.debug_dyn_o rts/dist/build/StgStartup.debug_dyn_o rts/dist/build/StgStdThunks.debug_dyn_o rts/dist/build/Updates.debug_dyn_o rts/dist/build/AutoApply.debug_dyn_o  -fPIC -dynamic -optc-DDEBUG -ticky -DTICKY_TICKY -eventlog  -O -H64m -Wall   -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts -dcmm-lint  -DDTRACE     -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2 -Wcpp-undef -O0    -Wnoncanonical-monad-instances   -o rts/dist/build/libHSrts_debug-ghc8.5.20180403.dylib

"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-install/build/./autogen/cabal_macros.h -package-id rts -this-unit-id ghc-prim -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim/dist-install/build -stubdir libraries/ghc-prim/dist-install/build   -dynamic-too -c libraries/ghc-prim/./GHC/CString.hs -o libraries/ghc-prim/dist-install/build/GHC/CString.o -dyno libraries/ghc-prim/dist-install/build/GHC/CString.dyn_o

"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-install/build/./autogen/cabal_macros.h -package-id rts -this-unit-id ghc-prim -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim/dist-install/build -stubdir libraries/ghc-prim/dist-install/build   -dynamic-too -c libraries/ghc-prim/./GHC/IntWord64.hs -o libraries/ghc-prim/dist-install/build/GHC/IntWord64.o -dyno libraries/ghc-prim/dist-install/build/GHC/IntWord64.dyn_o

"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/Base.hs-boot -o libraries/base/dist-install/build/GHC/Base.o-boot -dyno libraries/base/dist-install/build/GHC/Base.dyn_o-boot

"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/Real.hs-boot -o libraries/base/dist-install/build/GHC/Real.o-boot -dyno libraries/base/dist-install/build/GHC/Real.dyn_o-boot

"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/IO.hs-boot -o libraries/base/dist-install/build/GHC/IO.o-boot -dyno libraries/base/dist-install/build/GHC/IO.dyn_o-boot

 

libraries/base/GHC/IO.hs-boot:9:12: error:

    • Failed to load interface for ‘GHC.Integer.Type’

      There are files missing in the ‘integer-gmp-1.0.1.0’ package,

      try running 'ghc-pkg check'.

      Use -v to see a list of the files searched for.

    • In the type signature: mplusIO :: IO a -> IO a -> IO a

  |

9 | mplusIO :: IO a -> IO a -> IO a

  |            ^^^^^^^^^^^^^^^^^^^^

make[1]: *** [libraries/base/dist-install/build/GHC/IO.o-boot] Error 1

make[1]: *** Waiting for unfinished jobs....

make: *** [all] Error 2


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

Re: 8.5 build failure

Richard Eisenberg-4
In reply to this post by John Leo
I've hit this, too, in the last few days. It seems to be caused by some missing Makefile dependency. My solution has been to `make -j1` for a bit, then cut it off, then `make -j<lots of threads>` again. I'm glad to know it's not just me. :)

On Apr 3, 2018, at 11:06 AM, John Leo <[hidden email]> wrote:

Hi everyone,

I pulled from head this morning and rebased my current work on it, and am getting a build error I've never seen before. I don't think it's due to any of my own changes, and everything built fine last time I tried just a couple days ago . I'd pulled both code and submodules. I did make clean, ./boot, ./configure, and then make. The last few lines of the output are below. This is on a Mac using GHC 8.2.2. Let me know if you need any more info.

John

"inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath -optl-Wl,@loader_path `cat rts/dist/libs.depend` rts/dist/build/Adjustor.thr_debug_dyn_o rts/dist/build/Arena.thr_debug_dyn_o rts/dist/build/Capability.thr_debug_dyn_o rts/dist/build/CheckUnload.thr_debug_dyn_o rts/dist/build/ClosureFlags.thr_debug_dyn_o rts/dist/build/Disassembler.thr_debug_dyn_o rts/dist/build/FileLock.thr_debug_dyn_o rts/dist/build/Globals.thr_debug_dyn_o rts/dist/build/Hash.thr_debug_dyn_o rts/dist/build/Hpc.thr_debug_dyn_o rts/dist/build/HsFFI.thr_debug_dyn_o rts/dist/build/Inlines.thr_debug_dyn_o rts/dist/build/Interpreter.thr_debug_dyn_o rts/dist/build/LdvProfile.thr_debug_dyn_o rts/dist/build/Libdw.thr_debug_dyn_o rts/dist/build/LibdwPool.thr_debug_dyn_o rts/dist/build/Linker.thr_debug_dyn_o rts/dist/build/Messages.thr_debug_dyn_o rts/dist/build/OldARMAtomic.thr_debug_dyn_o rts/dist/build/PathUtils.thr_debug_dyn_o rts/dist/build/Pool.thr_debug_dyn_o rts/dist/build/Printer.thr_debug_dyn_o rts/dist/build/ProfHeap.thr_debug_dyn_o rts/dist/build/ProfilerReport.thr_debug_dyn_o rts/dist/build/ProfilerReportJson.thr_debug_dyn_o rts/dist/build/Profiling.thr_debug_dyn_o rts/dist/build/Proftimer.thr_debug_dyn_o rts/dist/build/RaiseAsync.thr_debug_dyn_o rts/dist/build/RetainerProfile.thr_debug_dyn_o rts/dist/build/RetainerSet.thr_debug_dyn_o rts/dist/build/RtsAPI.thr_debug_dyn_o rts/dist/build/RtsDllMain.thr_debug_dyn_o rts/dist/build/RtsFlags.thr_debug_dyn_o rts/dist/build/RtsMain.thr_debug_dyn_o rts/dist/build/RtsMessages.thr_debug_dyn_o rts/dist/build/RtsStartup.thr_debug_dyn_o rts/dist/build/RtsSymbolInfo.thr_debug_dyn_o rts/dist/build/RtsSymbols.thr_debug_dyn_o rts/dist/build/RtsUtils.thr_debug_dyn_o rts/dist/build/STM.thr_debug_dyn_o rts/dist/build/Schedule.thr_debug_dyn_o rts/dist/build/Sparks.thr_debug_dyn_o rts/dist/build/Stable.thr_debug_dyn_o rts/dist/build/StaticPtrTable.thr_debug_dyn_o rts/dist/build/Stats.thr_debug_dyn_o rts/dist/build/StgCRun.thr_debug_dyn_o rts/dist/build/StgPrimFloat.thr_debug_dyn_o rts/dist/build/Task.thr_debug_dyn_o rts/dist/build/ThreadLabels.thr_debug_dyn_o rts/dist/build/ThreadPaused.thr_debug_dyn_o rts/dist/build/Threads.thr_debug_dyn_o rts/dist/build/Ticky.thr_debug_dyn_o rts/dist/build/Timer.thr_debug_dyn_o rts/dist/build/TopHandler.thr_debug_dyn_o rts/dist/build/Trace.thr_debug_dyn_o rts/dist/build/WSDeque.thr_debug_dyn_o rts/dist/build/Weak.thr_debug_dyn_o rts/dist/build/fs.thr_debug_dyn_o rts/dist/build/xxhash.thr_debug_dyn_o rts/dist/build/hooks/FlagDefaults.thr_debug_dyn_o rts/dist/build/hooks/LongGCSync.thr_debug_dyn_o rts/dist/build/hooks/MallocFail.thr_debug_dyn_o rts/dist/build/hooks/OnExit.thr_debug_dyn_o rts/dist/build/hooks/OutOfHeap.thr_debug_dyn_o rts/dist/build/hooks/StackOverflow.thr_debug_dyn_o rts/dist/build/sm/BlockAlloc.thr_debug_dyn_o rts/dist/build/sm/CNF.thr_debug_dyn_o rts/dist/build/sm/Compact.thr_debug_dyn_o rts/dist/build/sm/Evac.thr_debug_dyn_o rts/dist/build/sm/Evac_thr.thr_debug_dyn_o rts/dist/build/sm/GC.thr_debug_dyn_o rts/dist/build/sm/GCAux.thr_debug_dyn_o rts/dist/build/sm/GCUtils.thr_debug_dyn_o rts/dist/build/sm/MBlock.thr_debug_dyn_o rts/dist/build/sm/MarkWeak.thr_debug_dyn_o rts/dist/build/sm/Sanity.thr_debug_dyn_o rts/dist/build/sm/Scav.thr_debug_dyn_o rts/dist/build/sm/Scav_thr.thr_debug_dyn_o rts/dist/build/sm/Storage.thr_debug_dyn_o rts/dist/build/sm/Sweep.thr_debug_dyn_o rts/dist/build/eventlog/EventLog.thr_debug_dyn_o rts/dist/build/eventlog/EventLogWriter.thr_debug_dyn_o rts/dist/build/linker/CacheFlush.thr_debug_dyn_o rts/dist/build/linker/Elf.thr_debug_dyn_o rts/dist/build/linker/LoadArchive.thr_debug_dyn_o rts/dist/build/linker/M32Alloc.thr_debug_dyn_o rts/dist/build/linker/MachO.thr_debug_dyn_o rts/dist/build/linker/PEi386.thr_debug_dyn_o rts/dist/build/linker/SymbolExtras.thr_debug_dyn_o rts/dist/build/linker/elf_got.thr_debug_dyn_o rts/dist/build/linker/elf_plt.thr_debug_dyn_o rts/dist/build/linker/elf_plt_aarch64.thr_debug_dyn_o rts/dist/build/linker/elf_plt_arm.thr_debug_dyn_o rts/dist/build/linker/elf_reloc.thr_debug_dyn_o rts/dist/build/linker/elf_reloc_aarch64.thr_debug_dyn_o rts/dist/build/linker/elf_util.thr_debug_dyn_o rts/dist/build/posix/GetEnv.thr_debug_dyn_o rts/dist/build/posix/GetTime.thr_debug_dyn_o rts/dist/build/posix/Itimer.thr_debug_dyn_o rts/dist/build/posix/OSMem.thr_debug_dyn_o rts/dist/build/posix/OSThreads.thr_debug_dyn_o rts/dist/build/posix/Select.thr_debug_dyn_o rts/dist/build/posix/Signals.thr_debug_dyn_o rts/dist/build/posix/TTY.thr_debug_dyn_o   rts/dist/build/Apply.thr_debug_dyn_o rts/dist/build/Compact.thr_debug_dyn_o rts/dist/build/Exception.thr_debug_dyn_o rts/dist/build/HeapStackCheck.thr_debug_dyn_o rts/dist/build/PrimOps.thr_debug_dyn_o rts/dist/build/StgMiscClosures.thr_debug_dyn_o rts/dist/build/StgStartup.thr_debug_dyn_o rts/dist/build/StgStdThunks.thr_debug_dyn_o rts/dist/build/Updates.thr_debug_dyn_o rts/dist/build/AutoApply.thr_debug_dyn_o  -fPIC -dynamic -optc-DTHREADED_RTS -optc-DDEBUG -eventlog  -O -H64m -Wall   -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts -dcmm-lint  -DDTRACE     -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2 -Wcpp-undef -O0    -Wnoncanonical-monad-instances   -o rts/dist/build/libHSrts_thr_debug-ghc8.5.20180403.dylib
"inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath -optl-Wl,@loader_path `cat rts/dist/libs.depend` rts/dist/build/Adjustor.debug_dyn_o rts/dist/build/Arena.debug_dyn_o rts/dist/build/Capability.debug_dyn_o rts/dist/build/CheckUnload.debug_dyn_o rts/dist/build/ClosureFlags.debug_dyn_o rts/dist/build/Disassembler.debug_dyn_o rts/dist/build/FileLock.debug_dyn_o rts/dist/build/Globals.debug_dyn_o rts/dist/build/Hash.debug_dyn_o rts/dist/build/Hpc.debug_dyn_o rts/dist/build/HsFFI.debug_dyn_o rts/dist/build/Inlines.debug_dyn_o rts/dist/build/Interpreter.debug_dyn_o rts/dist/build/LdvProfile.debug_dyn_o rts/dist/build/Libdw.debug_dyn_o rts/dist/build/LibdwPool.debug_dyn_o rts/dist/build/Linker.debug_dyn_o rts/dist/build/Messages.debug_dyn_o rts/dist/build/OldARMAtomic.debug_dyn_o rts/dist/build/PathUtils.debug_dyn_o rts/dist/build/Pool.debug_dyn_o rts/dist/build/Printer.debug_dyn_o rts/dist/build/ProfHeap.debug_dyn_o rts/dist/build/ProfilerReport.debug_dyn_o rts/dist/build/ProfilerReportJson.debug_dyn_o rts/dist/build/Profiling.debug_dyn_o rts/dist/build/Proftimer.debug_dyn_o rts/dist/build/RaiseAsync.debug_dyn_o rts/dist/build/RetainerProfile.debug_dyn_o rts/dist/build/RetainerSet.debug_dyn_o rts/dist/build/RtsAPI.debug_dyn_o rts/dist/build/RtsDllMain.debug_dyn_o rts/dist/build/RtsFlags.debug_dyn_o rts/dist/build/RtsMain.debug_dyn_o rts/dist/build/RtsMessages.debug_dyn_o rts/dist/build/RtsStartup.debug_dyn_o rts/dist/build/RtsSymbolInfo.debug_dyn_o rts/dist/build/RtsSymbols.debug_dyn_o rts/dist/build/RtsUtils.debug_dyn_o rts/dist/build/STM.debug_dyn_o rts/dist/build/Schedule.debug_dyn_o rts/dist/build/Sparks.debug_dyn_o rts/dist/build/Stable.debug_dyn_o rts/dist/build/StaticPtrTable.debug_dyn_o rts/dist/build/Stats.debug_dyn_o rts/dist/build/StgCRun.debug_dyn_o rts/dist/build/StgPrimFloat.debug_dyn_o rts/dist/build/Task.debug_dyn_o rts/dist/build/ThreadLabels.debug_dyn_o rts/dist/build/ThreadPaused.debug_dyn_o rts/dist/build/Threads.debug_dyn_o rts/dist/build/Ticky.debug_dyn_o rts/dist/build/Timer.debug_dyn_o rts/dist/build/TopHandler.debug_dyn_o rts/dist/build/Trace.debug_dyn_o rts/dist/build/WSDeque.debug_dyn_o rts/dist/build/Weak.debug_dyn_o rts/dist/build/fs.debug_dyn_o rts/dist/build/xxhash.debug_dyn_o rts/dist/build/hooks/FlagDefaults.debug_dyn_o rts/dist/build/hooks/LongGCSync.debug_dyn_o rts/dist/build/hooks/MallocFail.debug_dyn_o rts/dist/build/hooks/OnExit.debug_dyn_o rts/dist/build/hooks/OutOfHeap.debug_dyn_o rts/dist/build/hooks/StackOverflow.debug_dyn_o rts/dist/build/sm/BlockAlloc.debug_dyn_o rts/dist/build/sm/CNF.debug_dyn_o rts/dist/build/sm/Compact.debug_dyn_o rts/dist/build/sm/Evac.debug_dyn_o rts/dist/build/sm/Evac_thr.debug_dyn_o rts/dist/build/sm/GC.debug_dyn_o rts/dist/build/sm/GCAux.debug_dyn_o rts/dist/build/sm/GCUtils.debug_dyn_o rts/dist/build/sm/MBlock.debug_dyn_o rts/dist/build/sm/MarkWeak.debug_dyn_o rts/dist/build/sm/Sanity.debug_dyn_o rts/dist/build/sm/Scav.debug_dyn_o rts/dist/build/sm/Scav_thr.debug_dyn_o rts/dist/build/sm/Storage.debug_dyn_o rts/dist/build/sm/Sweep.debug_dyn_o rts/dist/build/eventlog/EventLog.debug_dyn_o rts/dist/build/eventlog/EventLogWriter.debug_dyn_o rts/dist/build/linker/CacheFlush.debug_dyn_o rts/dist/build/linker/Elf.debug_dyn_o rts/dist/build/linker/LoadArchive.debug_dyn_o rts/dist/build/linker/M32Alloc.debug_dyn_o rts/dist/build/linker/MachO.debug_dyn_o rts/dist/build/linker/PEi386.debug_dyn_o rts/dist/build/linker/SymbolExtras.debug_dyn_o rts/dist/build/linker/elf_got.debug_dyn_o rts/dist/build/linker/elf_plt.debug_dyn_o rts/dist/build/linker/elf_plt_aarch64.debug_dyn_o rts/dist/build/linker/elf_plt_arm.debug_dyn_o rts/dist/build/linker/elf_reloc.debug_dyn_o rts/dist/build/linker/elf_reloc_aarch64.debug_dyn_o rts/dist/build/linker/elf_util.debug_dyn_o rts/dist/build/posix/GetEnv.debug_dyn_o rts/dist/build/posix/GetTime.debug_dyn_o rts/dist/build/posix/Itimer.debug_dyn_o rts/dist/build/posix/OSMem.debug_dyn_o rts/dist/build/posix/OSThreads.debug_dyn_o rts/dist/build/posix/Select.debug_dyn_o rts/dist/build/posix/Signals.debug_dyn_o rts/dist/build/posix/TTY.debug_dyn_o   rts/dist/build/Apply.debug_dyn_o rts/dist/build/Compact.debug_dyn_o rts/dist/build/Exception.debug_dyn_o rts/dist/build/HeapStackCheck.debug_dyn_o rts/dist/build/PrimOps.debug_dyn_o rts/dist/build/StgMiscClosures.debug_dyn_o rts/dist/build/StgStartup.debug_dyn_o rts/dist/build/StgStdThunks.debug_dyn_o rts/dist/build/Updates.debug_dyn_o rts/dist/build/AutoApply.debug_dyn_o  -fPIC -dynamic -optc-DDEBUG -ticky -DTICKY_TICKY -eventlog  -O -H64m -Wall   -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts -dcmm-lint  -DDTRACE     -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2 -Wcpp-undef -O0    -Wnoncanonical-monad-instances   -o rts/dist/build/libHSrts_debug-ghc8.5.20180403.dylib
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-install/build/./autogen/cabal_macros.h -package-id rts -this-unit-id ghc-prim -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim/dist-install/build -stubdir libraries/ghc-prim/dist-install/build   -dynamic-too -c libraries/ghc-prim/./GHC/CString.hs -o libraries/ghc-prim/dist-install/build/GHC/CString.o -dyno libraries/ghc-prim/dist-install/build/GHC/CString.dyn_o
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-install/build/./autogen/cabal_macros.h -package-id rts -this-unit-id ghc-prim -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim/dist-install/build -stubdir libraries/ghc-prim/dist-install/build   -dynamic-too -c libraries/ghc-prim/./GHC/IntWord64.hs -o libraries/ghc-prim/dist-install/build/GHC/IntWord64.o -dyno libraries/ghc-prim/dist-install/build/GHC/IntWord64.dyn_o
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/Base.hs-boot -o libraries/base/dist-install/build/GHC/Base.o-boot -dyno libraries/base/dist-install/build/GHC/Base.dyn_o-boot
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/Real.hs-boot -o libraries/base/dist-install/build/GHC/Real.o-boot -dyno libraries/base/dist-install/build/GHC/Real.dyn_o-boot
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/IO.hs-boot -o libraries/base/dist-install/build/GHC/IO.o-boot -dyno libraries/base/dist-install/build/GHC/IO.dyn_o-boot

libraries/base/GHC/IO.hs-boot:9:12: error:
    • Failed to load interface for ‘GHC.Integer.Type’
      There are files missing in the ‘integer-gmp-1.0.1.0’ package,
      try running 'ghc-pkg check'.
      Use -v to see a list of the files searched for.
    • In the type signature: mplusIO :: IO a -> IO a -> IO a
  |
9 | mplusIO :: IO a -> IO a -> IO a
  |            ^^^^^^^^^^^^^^^^^^^^
make[1]: *** [libraries/base/dist-install/build/GHC/IO.o-boot] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

Re: 8.5 build failure

Ömer Sinan Ağacan
In reply to this post by John Leo
Does the error go away if you restart the build without cleaning? I had the
same error on my nightly builder, but it worked when I restarted the build.

Ömer

2018-04-03 18:06 GMT+03:00 John Leo <[hidden email]>:

> Hi everyone,
>
> I pulled from head this morning and rebased my current work on it, and am
> getting a build error I've never seen before. I don't think it's due to any
> of my own changes, and everything built fine last time I tried just a couple
> days ago . I'd pulled both code and submodules. I did make clean, ./boot,
> ./configure, and then make. The last few lines of the output are below. This
> is on a Mac using GHC 8.2.2. Let me know if you need any more info.
>
> John
>
> "inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy
> -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath
> -optl-Wl,@loader_path `cat rts/dist/libs.depend`
> rts/dist/build/Adjustor.thr_debug_dyn_o rts/dist/build/Arena.thr_debug_dyn_o
> rts/dist/build/Capability.thr_debug_dyn_o
> rts/dist/build/CheckUnload.thr_debug_dyn_o
> rts/dist/build/ClosureFlags.thr_debug_dyn_o
> rts/dist/build/Disassembler.thr_debug_dyn_o
> rts/dist/build/FileLock.thr_debug_dyn_o
> rts/dist/build/Globals.thr_debug_dyn_o rts/dist/build/Hash.thr_debug_dyn_o
> rts/dist/build/Hpc.thr_debug_dyn_o rts/dist/build/HsFFI.thr_debug_dyn_o
> rts/dist/build/Inlines.thr_debug_dyn_o
> rts/dist/build/Interpreter.thr_debug_dyn_o
> rts/dist/build/LdvProfile.thr_debug_dyn_o
> rts/dist/build/Libdw.thr_debug_dyn_o
> rts/dist/build/LibdwPool.thr_debug_dyn_o
> rts/dist/build/Linker.thr_debug_dyn_o
> rts/dist/build/Messages.thr_debug_dyn_o
> rts/dist/build/OldARMAtomic.thr_debug_dyn_o
> rts/dist/build/PathUtils.thr_debug_dyn_o rts/dist/build/Pool.thr_debug_dyn_o
> rts/dist/build/Printer.thr_debug_dyn_o
> rts/dist/build/ProfHeap.thr_debug_dyn_o
> rts/dist/build/ProfilerReport.thr_debug_dyn_o
> rts/dist/build/ProfilerReportJson.thr_debug_dyn_o
> rts/dist/build/Profiling.thr_debug_dyn_o
> rts/dist/build/Proftimer.thr_debug_dyn_o
> rts/dist/build/RaiseAsync.thr_debug_dyn_o
> rts/dist/build/RetainerProfile.thr_debug_dyn_o
> rts/dist/build/RetainerSet.thr_debug_dyn_o
> rts/dist/build/RtsAPI.thr_debug_dyn_o
> rts/dist/build/RtsDllMain.thr_debug_dyn_o
> rts/dist/build/RtsFlags.thr_debug_dyn_o
> rts/dist/build/RtsMain.thr_debug_dyn_o
> rts/dist/build/RtsMessages.thr_debug_dyn_o
> rts/dist/build/RtsStartup.thr_debug_dyn_o
> rts/dist/build/RtsSymbolInfo.thr_debug_dyn_o
> rts/dist/build/RtsSymbols.thr_debug_dyn_o
> rts/dist/build/RtsUtils.thr_debug_dyn_o rts/dist/build/STM.thr_debug_dyn_o
> rts/dist/build/Schedule.thr_debug_dyn_o
> rts/dist/build/Sparks.thr_debug_dyn_o rts/dist/build/Stable.thr_debug_dyn_o
> rts/dist/build/StaticPtrTable.thr_debug_dyn_o
> rts/dist/build/Stats.thr_debug_dyn_o rts/dist/build/StgCRun.thr_debug_dyn_o
> rts/dist/build/StgPrimFloat.thr_debug_dyn_o
> rts/dist/build/Task.thr_debug_dyn_o
> rts/dist/build/ThreadLabels.thr_debug_dyn_o
> rts/dist/build/ThreadPaused.thr_debug_dyn_o
> rts/dist/build/Threads.thr_debug_dyn_o rts/dist/build/Ticky.thr_debug_dyn_o
> rts/dist/build/Timer.thr_debug_dyn_o
> rts/dist/build/TopHandler.thr_debug_dyn_o
> rts/dist/build/Trace.thr_debug_dyn_o rts/dist/build/WSDeque.thr_debug_dyn_o
> rts/dist/build/Weak.thr_debug_dyn_o rts/dist/build/fs.thr_debug_dyn_o
> rts/dist/build/xxhash.thr_debug_dyn_o
> rts/dist/build/hooks/FlagDefaults.thr_debug_dyn_o
> rts/dist/build/hooks/LongGCSync.thr_debug_dyn_o
> rts/dist/build/hooks/MallocFail.thr_debug_dyn_o
> rts/dist/build/hooks/OnExit.thr_debug_dyn_o
> rts/dist/build/hooks/OutOfHeap.thr_debug_dyn_o
> rts/dist/build/hooks/StackOverflow.thr_debug_dyn_o
> rts/dist/build/sm/BlockAlloc.thr_debug_dyn_o
> rts/dist/build/sm/CNF.thr_debug_dyn_o
> rts/dist/build/sm/Compact.thr_debug_dyn_o
> rts/dist/build/sm/Evac.thr_debug_dyn_o
> rts/dist/build/sm/Evac_thr.thr_debug_dyn_o
> rts/dist/build/sm/GC.thr_debug_dyn_o rts/dist/build/sm/GCAux.thr_debug_dyn_o
> rts/dist/build/sm/GCUtils.thr_debug_dyn_o
> rts/dist/build/sm/MBlock.thr_debug_dyn_o
> rts/dist/build/sm/MarkWeak.thr_debug_dyn_o
> rts/dist/build/sm/Sanity.thr_debug_dyn_o
> rts/dist/build/sm/Scav.thr_debug_dyn_o
> rts/dist/build/sm/Scav_thr.thr_debug_dyn_o
> rts/dist/build/sm/Storage.thr_debug_dyn_o
> rts/dist/build/sm/Sweep.thr_debug_dyn_o
> rts/dist/build/eventlog/EventLog.thr_debug_dyn_o
> rts/dist/build/eventlog/EventLogWriter.thr_debug_dyn_o
> rts/dist/build/linker/CacheFlush.thr_debug_dyn_o
> rts/dist/build/linker/Elf.thr_debug_dyn_o
> rts/dist/build/linker/LoadArchive.thr_debug_dyn_o
> rts/dist/build/linker/M32Alloc.thr_debug_dyn_o
> rts/dist/build/linker/MachO.thr_debug_dyn_o
> rts/dist/build/linker/PEi386.thr_debug_dyn_o
> rts/dist/build/linker/SymbolExtras.thr_debug_dyn_o
> rts/dist/build/linker/elf_got.thr_debug_dyn_o
> rts/dist/build/linker/elf_plt.thr_debug_dyn_o
> rts/dist/build/linker/elf_plt_aarch64.thr_debug_dyn_o
> rts/dist/build/linker/elf_plt_arm.thr_debug_dyn_o
> rts/dist/build/linker/elf_reloc.thr_debug_dyn_o
> rts/dist/build/linker/elf_reloc_aarch64.thr_debug_dyn_o
> rts/dist/build/linker/elf_util.thr_debug_dyn_o
> rts/dist/build/posix/GetEnv.thr_debug_dyn_o
> rts/dist/build/posix/GetTime.thr_debug_dyn_o
> rts/dist/build/posix/Itimer.thr_debug_dyn_o
> rts/dist/build/posix/OSMem.thr_debug_dyn_o
> rts/dist/build/posix/OSThreads.thr_debug_dyn_o
> rts/dist/build/posix/Select.thr_debug_dyn_o
> rts/dist/build/posix/Signals.thr_debug_dyn_o
> rts/dist/build/posix/TTY.thr_debug_dyn_o
> rts/dist/build/Apply.thr_debug_dyn_o rts/dist/build/Compact.thr_debug_dyn_o
> rts/dist/build/Exception.thr_debug_dyn_o
> rts/dist/build/HeapStackCheck.thr_debug_dyn_o
> rts/dist/build/PrimOps.thr_debug_dyn_o
> rts/dist/build/StgMiscClosures.thr_debug_dyn_o
> rts/dist/build/StgStartup.thr_debug_dyn_o
> rts/dist/build/StgStdThunks.thr_debug_dyn_o
> rts/dist/build/Updates.thr_debug_dyn_o
> rts/dist/build/AutoApply.thr_debug_dyn_o  -fPIC -dynamic -optc-DTHREADED_RTS
> -optc-DDEBUG -eventlog  -O -H64m -Wall   -Iincludes -Iincludes/dist
> -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header
> -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts
> -dcmm-lint  -DDTRACE     -i -irts -irts/dist/build -Irts/dist/build
> -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2
> -Wcpp-undef -O0    -Wnoncanonical-monad-instances   -o
> rts/dist/build/libHSrts_thr_debug-ghc8.5.20180403.dylib
> "inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy
> -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath
> -optl-Wl,@loader_path `cat rts/dist/libs.depend`
> rts/dist/build/Adjustor.debug_dyn_o rts/dist/build/Arena.debug_dyn_o
> rts/dist/build/Capability.debug_dyn_o rts/dist/build/CheckUnload.debug_dyn_o
> rts/dist/build/ClosureFlags.debug_dyn_o
> rts/dist/build/Disassembler.debug_dyn_o rts/dist/build/FileLock.debug_dyn_o
> rts/dist/build/Globals.debug_dyn_o rts/dist/build/Hash.debug_dyn_o
> rts/dist/build/Hpc.debug_dyn_o rts/dist/build/HsFFI.debug_dyn_o
> rts/dist/build/Inlines.debug_dyn_o rts/dist/build/Interpreter.debug_dyn_o
> rts/dist/build/LdvProfile.debug_dyn_o rts/dist/build/Libdw.debug_dyn_o
> rts/dist/build/LibdwPool.debug_dyn_o rts/dist/build/Linker.debug_dyn_o
> rts/dist/build/Messages.debug_dyn_o rts/dist/build/OldARMAtomic.debug_dyn_o
> rts/dist/build/PathUtils.debug_dyn_o rts/dist/build/Pool.debug_dyn_o
> rts/dist/build/Printer.debug_dyn_o rts/dist/build/ProfHeap.debug_dyn_o
> rts/dist/build/ProfilerReport.debug_dyn_o
> rts/dist/build/ProfilerReportJson.debug_dyn_o
> rts/dist/build/Profiling.debug_dyn_o rts/dist/build/Proftimer.debug_dyn_o
> rts/dist/build/RaiseAsync.debug_dyn_o
> rts/dist/build/RetainerProfile.debug_dyn_o
> rts/dist/build/RetainerSet.debug_dyn_o rts/dist/build/RtsAPI.debug_dyn_o
> rts/dist/build/RtsDllMain.debug_dyn_o rts/dist/build/RtsFlags.debug_dyn_o
> rts/dist/build/RtsMain.debug_dyn_o rts/dist/build/RtsMessages.debug_dyn_o
> rts/dist/build/RtsStartup.debug_dyn_o
> rts/dist/build/RtsSymbolInfo.debug_dyn_o
> rts/dist/build/RtsSymbols.debug_dyn_o rts/dist/build/RtsUtils.debug_dyn_o
> rts/dist/build/STM.debug_dyn_o rts/dist/build/Schedule.debug_dyn_o
> rts/dist/build/Sparks.debug_dyn_o rts/dist/build/Stable.debug_dyn_o
> rts/dist/build/StaticPtrTable.debug_dyn_o rts/dist/build/Stats.debug_dyn_o
> rts/dist/build/StgCRun.debug_dyn_o rts/dist/build/StgPrimFloat.debug_dyn_o
> rts/dist/build/Task.debug_dyn_o rts/dist/build/ThreadLabels.debug_dyn_o
> rts/dist/build/ThreadPaused.debug_dyn_o rts/dist/build/Threads.debug_dyn_o
> rts/dist/build/Ticky.debug_dyn_o rts/dist/build/Timer.debug_dyn_o
> rts/dist/build/TopHandler.debug_dyn_o rts/dist/build/Trace.debug_dyn_o
> rts/dist/build/WSDeque.debug_dyn_o rts/dist/build/Weak.debug_dyn_o
> rts/dist/build/fs.debug_dyn_o rts/dist/build/xxhash.debug_dyn_o
> rts/dist/build/hooks/FlagDefaults.debug_dyn_o
> rts/dist/build/hooks/LongGCSync.debug_dyn_o
> rts/dist/build/hooks/MallocFail.debug_dyn_o
> rts/dist/build/hooks/OnExit.debug_dyn_o
> rts/dist/build/hooks/OutOfHeap.debug_dyn_o
> rts/dist/build/hooks/StackOverflow.debug_dyn_o
> rts/dist/build/sm/BlockAlloc.debug_dyn_o rts/dist/build/sm/CNF.debug_dyn_o
> rts/dist/build/sm/Compact.debug_dyn_o rts/dist/build/sm/Evac.debug_dyn_o
> rts/dist/build/sm/Evac_thr.debug_dyn_o rts/dist/build/sm/GC.debug_dyn_o
> rts/dist/build/sm/GCAux.debug_dyn_o rts/dist/build/sm/GCUtils.debug_dyn_o
> rts/dist/build/sm/MBlock.debug_dyn_o rts/dist/build/sm/MarkWeak.debug_dyn_o
> rts/dist/build/sm/Sanity.debug_dyn_o rts/dist/build/sm/Scav.debug_dyn_o
> rts/dist/build/sm/Scav_thr.debug_dyn_o rts/dist/build/sm/Storage.debug_dyn_o
> rts/dist/build/sm/Sweep.debug_dyn_o
> rts/dist/build/eventlog/EventLog.debug_dyn_o
> rts/dist/build/eventlog/EventLogWriter.debug_dyn_o
> rts/dist/build/linker/CacheFlush.debug_dyn_o
> rts/dist/build/linker/Elf.debug_dyn_o
> rts/dist/build/linker/LoadArchive.debug_dyn_o
> rts/dist/build/linker/M32Alloc.debug_dyn_o
> rts/dist/build/linker/MachO.debug_dyn_o
> rts/dist/build/linker/PEi386.debug_dyn_o
> rts/dist/build/linker/SymbolExtras.debug_dyn_o
> rts/dist/build/linker/elf_got.debug_dyn_o
> rts/dist/build/linker/elf_plt.debug_dyn_o
> rts/dist/build/linker/elf_plt_aarch64.debug_dyn_o
> rts/dist/build/linker/elf_plt_arm.debug_dyn_o
> rts/dist/build/linker/elf_reloc.debug_dyn_o
> rts/dist/build/linker/elf_reloc_aarch64.debug_dyn_o
> rts/dist/build/linker/elf_util.debug_dyn_o
> rts/dist/build/posix/GetEnv.debug_dyn_o
> rts/dist/build/posix/GetTime.debug_dyn_o
> rts/dist/build/posix/Itimer.debug_dyn_o
> rts/dist/build/posix/OSMem.debug_dyn_o
> rts/dist/build/posix/OSThreads.debug_dyn_o
> rts/dist/build/posix/Select.debug_dyn_o
> rts/dist/build/posix/Signals.debug_dyn_o
> rts/dist/build/posix/TTY.debug_dyn_o   rts/dist/build/Apply.debug_dyn_o
> rts/dist/build/Compact.debug_dyn_o rts/dist/build/Exception.debug_dyn_o
> rts/dist/build/HeapStackCheck.debug_dyn_o rts/dist/build/PrimOps.debug_dyn_o
> rts/dist/build/StgMiscClosures.debug_dyn_o
> rts/dist/build/StgStartup.debug_dyn_o
> rts/dist/build/StgStdThunks.debug_dyn_o rts/dist/build/Updates.debug_dyn_o
> rts/dist/build/AutoApply.debug_dyn_o  -fPIC -dynamic -optc-DDEBUG -ticky
> -DTICKY_TICKY -eventlog  -O -H64m -Wall   -Iincludes -Iincludes/dist
> -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header
> -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts
> -dcmm-lint  -DDTRACE     -i -irts -irts/dist/build -Irts/dist/build
> -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2
> -Wcpp-undef -O0    -Wnoncanonical-monad-instances   -o
> rts/dist/build/libHSrts_debug-ghc8.5.20180403.dylib
> "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m
> -Wall      -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i
> -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build
> -Ilibraries/ghc-prim/dist-install/build
> -ilibraries/ghc-prim/dist-install/build/./autogen
> -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.
> -optP-include
> -optPlibraries/ghc-prim/dist-install/build/./autogen/cabal_macros.h
> -package-id rts -this-unit-id ghc-prim -XHaskell2010 -O -dcore-lint
> -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags
> -Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-install/build
> -hidir libraries/ghc-prim/dist-install/build -stubdir
> libraries/ghc-prim/dist-install/build   -dynamic-too -c
> libraries/ghc-prim/./GHC/CString.hs -o
> libraries/ghc-prim/dist-install/build/GHC/CString.o -dyno
> libraries/ghc-prim/dist-install/build/GHC/CString.dyn_o
> "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m
> -Wall      -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i
> -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build
> -Ilibraries/ghc-prim/dist-install/build
> -ilibraries/ghc-prim/dist-install/build/./autogen
> -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.
> -optP-include
> -optPlibraries/ghc-prim/dist-install/build/./autogen/cabal_macros.h
> -package-id rts -this-unit-id ghc-prim -XHaskell2010 -O -dcore-lint
> -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags
> -Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-install/build
> -hidir libraries/ghc-prim/dist-install/build -stubdir
> libraries/ghc-prim/dist-install/build   -dynamic-too -c
> libraries/ghc-prim/./GHC/IntWord64.hs -o
> libraries/ghc-prim/dist-install/build/GHC/IntWord64.o -dyno
> libraries/ghc-prim/dist-install/build/GHC/IntWord64.dyn_o
> "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m
> -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i
> -ilibraries/base/. -ilibraries/base/dist-install/build
> -Ilibraries/base/dist-install/build
> -ilibraries/base/dist-install/build/./autogen
> -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include
> -Ilibraries/base/dist-install/build/include
> -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include
> -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id
> ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts
> -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db
> -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags
> -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build
> -hidir libraries/base/dist-install/build -stubdir
> libraries/base/dist-install/build   -dynamic-too -c
> libraries/base/./GHC/Base.hs-boot -o
> libraries/base/dist-install/build/GHC/Base.o-boot -dyno
> libraries/base/dist-install/build/GHC/Base.dyn_o-boot
> "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m
> -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i
> -ilibraries/base/. -ilibraries/base/dist-install/build
> -Ilibraries/base/dist-install/build
> -ilibraries/base/dist-install/build/./autogen
> -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include
> -Ilibraries/base/dist-install/build/include
> -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include
> -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id
> ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts
> -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db
> -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags
> -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build
> -hidir libraries/base/dist-install/build -stubdir
> libraries/base/dist-install/build   -dynamic-too -c
> libraries/base/./GHC/Real.hs-boot -o
> libraries/base/dist-install/build/GHC/Real.o-boot -dyno
> libraries/base/dist-install/build/GHC/Real.dyn_o-boot
> "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m
> -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i
> -ilibraries/base/. -ilibraries/base/dist-install/build
> -Ilibraries/base/dist-install/build
> -ilibraries/base/dist-install/build/./autogen
> -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include
> -Ilibraries/base/dist-install/build/include
> -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include
> -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id
> ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts
> -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db
> -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags
> -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build
> -hidir libraries/base/dist-install/build -stubdir
> libraries/base/dist-install/build   -dynamic-too -c
> libraries/base/./GHC/IO.hs-boot -o
> libraries/base/dist-install/build/GHC/IO.o-boot -dyno
> libraries/base/dist-install/build/GHC/IO.dyn_o-boot
>
> libraries/base/GHC/IO.hs-boot:9:12: error:
>     • Failed to load interface for ‘GHC.Integer.Type’
>       There are files missing in the ‘integer-gmp-1.0.1.0’ package,
>       try running 'ghc-pkg check'.
>       Use -v to see a list of the files searched for.
>     • In the type signature: mplusIO :: IO a -> IO a -> IO a
>   |
> 9 | mplusIO :: IO a -> IO a -> IO a
>   |            ^^^^^^^^^^^^^^^^^^^^
> make[1]: *** [libraries/base/dist-install/build/GHC/IO.o-boot] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [all] Error 2
>
> _______________________________________________
> ghc-devs mailing list
> [hidden email]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

Re: 8.5 build failure

Alan & Kim Zimmerman
In reply to this post by John Leo
I think there was a commit recently that requires you to reconfigure.

>
> I have just committed 4de585a which lifts the MAX_PATH restrictions for Haskell programs
> compiled with GHC 8.6 for Windows users.
>
> However when you update, you *MUST* run configure again. This counts for ALL platforms otherwise your build will suffer a not so friendly failure.
>
> If you're using Hadrian to build, you must manually update the submodule to HEAD of master
> as the Hadrian submodule hasn't been bumped yet.
>
> Regards
> Tamar

Alan




On 3 April 2018 at 17:09, John Leo <[hidden email]> wrote:
One thing I should note is that I believe since the last time I'd built I updated Mac OS to 10.13.4, if that is relevant. Note that stage 1 built fine; the failure occurs about 22 minutes into a build that typically takes 30 minute on my machine.

John

On Tue, Apr 3, 2018 at 8:06 AM, John Leo <[hidden email]> wrote:
Hi everyone,

I pulled from head this morning and rebased my current work on it, and am getting a build error I've never seen before. I don't think it's due to any of my own changes, and everything built fine last time I tried just a couple days ago . I'd pulled both code and submodules. I did make clean, ./boot, ./configure, and then make. The last few lines of the output are below. This is on a Mac using GHC 8.2.2. Let me know if you need any more info.

John

"inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath -optl-Wl,@loader_path `cat rts/dist/libs.depend` rts/dist/build/Adjustor.thr_debug_dyn_o rts/dist/build/Arena.thr_debug_dyn_o rts/dist/build/Capability.thr_debug_dyn_o rts/dist/build/CheckUnload.thr_debug_dyn_o rts/dist/build/ClosureFlags.thr_debug_dyn_o rts/dist/build/Disassembler.thr_debug_dyn_o rts/dist/build/FileLock.thr_debug_dyn_o rts/dist/build/Globals.thr_debug_dyn_o rts/dist/build/Hash.thr_debug_dyn_o rts/dist/build/Hpc.thr_debug_dyn_o rts/dist/build/HsFFI.thr_debug_dyn_o rts/dist/build/Inlines.thr_debug_dyn_o rts/dist/build/Interpreter.thr_debug_dyn_o rts/dist/build/LdvProfile.thr_debug_dyn_o rts/dist/build/Libdw.thr_debug_dyn_o rts/dist/build/LibdwPool.thr_debug_dyn_o rts/dist/build/Linker.thr_debug_dyn_o rts/dist/build/Messages.thr_debug_dyn_o rts/dist/build/OldARMAtomic.thr_debug_dyn_o rts/dist/build/PathUtils.thr_debug_dyn_o rts/dist/build/Pool.thr_debug_dyn_o rts/dist/build/Printer.thr_debug_dyn_o rts/dist/build/ProfHeap.thr_debug_dyn_o rts/dist/build/ProfilerReport.thr_debug_dyn_o rts/dist/build/ProfilerReportJson.thr_debug_dyn_o rts/dist/build/Profiling.thr_debug_dyn_o rts/dist/build/Proftimer.thr_debug_dyn_o rts/dist/build/RaiseAsync.thr_debug_dyn_o rts/dist/build/RetainerProfile.thr_debug_dyn_o rts/dist/build/RetainerSet.thr_debug_dyn_o rts/dist/build/RtsAPI.thr_debug_dyn_o rts/dist/build/RtsDllMain.thr_debug_dyn_o rts/dist/build/RtsFlags.thr_debug_dyn_o rts/dist/build/RtsMain.thr_debug_dyn_o rts/dist/build/RtsMessages.thr_debug_dyn_o rts/dist/build/RtsStartup.thr_debug_dyn_o rts/dist/build/RtsSymbolInfo.thr_debug_dyn_o rts/dist/build/RtsSymbols.thr_debug_dyn_o rts/dist/build/RtsUtils.thr_debug_dyn_o rts/dist/build/STM.thr_debug_dyn_o rts/dist/build/Schedule.thr_debug_dyn_o rts/dist/build/Sparks.thr_debug_dyn_o rts/dist/build/Stable.thr_debug_dyn_o rts/dist/build/StaticPtrTable.thr_debug_dyn_o rts/dist/build/Stats.thr_debug_dyn_o rts/dist/build/StgCRun.thr_debug_dyn_o rts/dist/build/StgPrimFloat.thr_debug_dyn_o rts/dist/build/Task.thr_debug_dyn_o rts/dist/build/ThreadLabels.thr_debug_dyn_o rts/dist/build/ThreadPaused.thr_debug_dyn_o rts/dist/build/Threads.thr_debug_dyn_o rts/dist/build/Ticky.thr_debug_dyn_o rts/dist/build/Timer.thr_debug_dyn_o rts/dist/build/TopHandler.thr_debug_dyn_o rts/dist/build/Trace.thr_debug_dyn_o rts/dist/build/WSDeque.thr_debug_dyn_o rts/dist/build/Weak.thr_debug_dyn_o rts/dist/build/fs.thr_debug_dyn_o rts/dist/build/xxhash.thr_debug_dyn_o rts/dist/build/hooks/FlagDefaults.thr_debug_dyn_o rts/dist/build/hooks/LongGCSync.thr_debug_dyn_o rts/dist/build/hooks/MallocFail.thr_debug_dyn_o rts/dist/build/hooks/OnExit.thr_debug_dyn_o rts/dist/build/hooks/OutOfHeap.thr_debug_dyn_o rts/dist/build/hooks/StackOverflow.thr_debug_dyn_o rts/dist/build/sm/BlockAlloc.thr_debug_dyn_o rts/dist/build/sm/CNF.thr_debug_dyn_o rts/dist/build/sm/Compact.thr_debug_dyn_o rts/dist/build/sm/Evac.thr_debug_dyn_o rts/dist/build/sm/Evac_thr.thr_debug_dyn_o rts/dist/build/sm/GC.thr_debug_dyn_o rts/dist/build/sm/GCAux.thr_debug_dyn_o rts/dist/build/sm/GCUtils.thr_debug_dyn_o rts/dist/build/sm/MBlock.thr_debug_dyn_o rts/dist/build/sm/MarkWeak.thr_debug_dyn_o rts/dist/build/sm/Sanity.thr_debug_dyn_o rts/dist/build/sm/Scav.thr_debug_dyn_o rts/dist/build/sm/Scav_thr.thr_debug_dyn_o rts/dist/build/sm/Storage.thr_debug_dyn_o rts/dist/build/sm/Sweep.thr_debug_dyn_o rts/dist/build/eventlog/EventLog.thr_debug_dyn_o rts/dist/build/eventlog/EventLogWriter.thr_debug_dyn_o rts/dist/build/linker/CacheFlush.thr_debug_dyn_o rts/dist/build/linker/Elf.thr_debug_dyn_o rts/dist/build/linker/LoadArchive.thr_debug_dyn_o rts/dist/build/linker/M32Alloc.thr_debug_dyn_o rts/dist/build/linker/MachO.thr_debug_dyn_o rts/dist/build/linker/PEi386.thr_debug_dyn_o rts/dist/build/linker/SymbolExtras.thr_debug_dyn_o rts/dist/build/linker/elf_got.thr_debug_dyn_o rts/dist/build/linker/elf_plt.thr_debug_dyn_o rts/dist/build/linker/elf_plt_aarch64.thr_debug_dyn_o rts/dist/build/linker/elf_plt_arm.thr_debug_dyn_o rts/dist/build/linker/elf_reloc.thr_debug_dyn_o rts/dist/build/linker/elf_reloc_aarch64.thr_debug_dyn_o rts/dist/build/linker/elf_util.thr_debug_dyn_o rts/dist/build/posix/GetEnv.thr_debug_dyn_o rts/dist/build/posix/GetTime.thr_debug_dyn_o rts/dist/build/posix/Itimer.thr_debug_dyn_o rts/dist/build/posix/OSMem.thr_debug_dyn_o rts/dist/build/posix/OSThreads.thr_debug_dyn_o rts/dist/build/posix/Select.thr_debug_dyn_o rts/dist/build/posix/Signals.thr_debug_dyn_o rts/dist/build/posix/TTY.thr_debug_dyn_o   rts/dist/build/Apply.thr_debug_dyn_o rts/dist/build/Compact.thr_debug_dyn_o rts/dist/build/Exception.thr_debug_dyn_o rts/dist/build/HeapStackCheck.thr_debug_dyn_o rts/dist/build/PrimOps.thr_debug_dyn_o rts/dist/build/StgMiscClosures.thr_debug_dyn_o rts/dist/build/StgStartup.thr_debug_dyn_o rts/dist/build/StgStdThunks.thr_debug_dyn_o rts/dist/build/Updates.thr_debug_dyn_o rts/dist/build/AutoApply.thr_debug_dyn_o  -fPIC -dynamic -optc-DTHREADED_RTS -optc-DDEBUG -eventlog  -O -H64m -Wall   -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts -dcmm-lint  -DDTRACE     -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2 -Wcpp-undef -O0    -Wnoncanonical-monad-instances   -o rts/dist/build/libHSrts_thr_debug-ghc8.5.20180403.dylib
"inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath -optl-Wl,@loader_path `cat rts/dist/libs.depend` rts/dist/build/Adjustor.debug_dyn_o rts/dist/build/Arena.debug_dyn_o rts/dist/build/Capability.debug_dyn_o rts/dist/build/CheckUnload.debug_dyn_o rts/dist/build/ClosureFlags.debug_dyn_o rts/dist/build/Disassembler.debug_dyn_o rts/dist/build/FileLock.debug_dyn_o rts/dist/build/Globals.debug_dyn_o rts/dist/build/Hash.debug_dyn_o rts/dist/build/Hpc.debug_dyn_o rts/dist/build/HsFFI.debug_dyn_o rts/dist/build/Inlines.debug_dyn_o rts/dist/build/Interpreter.debug_dyn_o rts/dist/build/LdvProfile.debug_dyn_o rts/dist/build/Libdw.debug_dyn_o rts/dist/build/LibdwPool.debug_dyn_o rts/dist/build/Linker.debug_dyn_o rts/dist/build/Messages.debug_dyn_o rts/dist/build/OldARMAtomic.debug_dyn_o rts/dist/build/PathUtils.debug_dyn_o rts/dist/build/Pool.debug_dyn_o rts/dist/build/Printer.debug_dyn_o rts/dist/build/ProfHeap.debug_dyn_o rts/dist/build/ProfilerReport.debug_dyn_o rts/dist/build/ProfilerReportJson.debug_dyn_o rts/dist/build/Profiling.debug_dyn_o rts/dist/build/Proftimer.debug_dyn_o rts/dist/build/RaiseAsync.debug_dyn_o rts/dist/build/RetainerProfile.debug_dyn_o rts/dist/build/RetainerSet.debug_dyn_o rts/dist/build/RtsAPI.debug_dyn_o rts/dist/build/RtsDllMain.debug_dyn_o rts/dist/build/RtsFlags.debug_dyn_o rts/dist/build/RtsMain.debug_dyn_o rts/dist/build/RtsMessages.debug_dyn_o rts/dist/build/RtsStartup.debug_dyn_o rts/dist/build/RtsSymbolInfo.debug_dyn_o rts/dist/build/RtsSymbols.debug_dyn_o rts/dist/build/RtsUtils.debug_dyn_o rts/dist/build/STM.debug_dyn_o rts/dist/build/Schedule.debug_dyn_o rts/dist/build/Sparks.debug_dyn_o rts/dist/build/Stable.debug_dyn_o rts/dist/build/StaticPtrTable.debug_dyn_o rts/dist/build/Stats.debug_dyn_o rts/dist/build/StgCRun.debug_dyn_o rts/dist/build/StgPrimFloat.debug_dyn_o rts/dist/build/Task.debug_dyn_o rts/dist/build/ThreadLabels.debug_dyn_o rts/dist/build/ThreadPaused.debug_dyn_o rts/dist/build/Threads.debug_dyn_o rts/dist/build/Ticky.debug_dyn_o rts/dist/build/Timer.debug_dyn_o rts/dist/build/TopHandler.debug_dyn_o rts/dist/build/Trace.debug_dyn_o rts/dist/build/WSDeque.debug_dyn_o rts/dist/build/Weak.debug_dyn_o rts/dist/build/fs.debug_dyn_o rts/dist/build/xxhash.debug_dyn_o rts/dist/build/hooks/FlagDefaults.debug_dyn_o rts/dist/build/hooks/LongGCSync.debug_dyn_o rts/dist/build/hooks/MallocFail.debug_dyn_o rts/dist/build/hooks/OnExit.debug_dyn_o rts/dist/build/hooks/OutOfHeap.debug_dyn_o rts/dist/build/hooks/StackOverflow.debug_dyn_o rts/dist/build/sm/BlockAlloc.debug_dyn_o rts/dist/build/sm/CNF.debug_dyn_o rts/dist/build/sm/Compact.debug_dyn_o rts/dist/build/sm/Evac.debug_dyn_o rts/dist/build/sm/Evac_thr.debug_dyn_o rts/dist/build/sm/GC.debug_dyn_o rts/dist/build/sm/GCAux.debug_dyn_o rts/dist/build/sm/GCUtils.debug_dyn_o rts/dist/build/sm/MBlock.debug_dyn_o rts/dist/build/sm/MarkWeak.debug_dyn_o rts/dist/build/sm/Sanity.debug_dyn_o rts/dist/build/sm/Scav.debug_dyn_o rts/dist/build/sm/Scav_thr.debug_dyn_o rts/dist/build/sm/Storage.debug_dyn_o rts/dist/build/sm/Sweep.debug_dyn_o rts/dist/build/eventlog/EventLog.debug_dyn_o rts/dist/build/eventlog/EventLogWriter.debug_dyn_o rts/dist/build/linker/CacheFlush.debug_dyn_o rts/dist/build/linker/Elf.debug_dyn_o rts/dist/build/linker/LoadArchive.debug_dyn_o rts/dist/build/linker/M32Alloc.debug_dyn_o rts/dist/build/linker/MachO.debug_dyn_o rts/dist/build/linker/PEi386.debug_dyn_o rts/dist/build/linker/SymbolExtras.debug_dyn_o rts/dist/build/linker/elf_got.debug_dyn_o rts/dist/build/linker/elf_plt.debug_dyn_o rts/dist/build/linker/elf_plt_aarch64.debug_dyn_o rts/dist/build/linker/elf_plt_arm.debug_dyn_o rts/dist/build/linker/elf_reloc.debug_dyn_o rts/dist/build/linker/elf_reloc_aarch64.debug_dyn_o rts/dist/build/linker/elf_util.debug_dyn_o rts/dist/build/posix/GetEnv.debug_dyn_o rts/dist/build/posix/GetTime.debug_dyn_o rts/dist/build/posix/Itimer.debug_dyn_o rts/dist/build/posix/OSMem.debug_dyn_o rts/dist/build/posix/OSThreads.debug_dyn_o rts/dist/build/posix/Select.debug_dyn_o rts/dist/build/posix/Signals.debug_dyn_o rts/dist/build/posix/TTY.debug_dyn_o   rts/dist/build/Apply.debug_dyn_o rts/dist/build/Compact.debug_dyn_o rts/dist/build/Exception.debug_dyn_o rts/dist/build/HeapStackCheck.debug_dyn_o rts/dist/build/PrimOps.debug_dyn_o rts/dist/build/StgMiscClosures.debug_dyn_o rts/dist/build/StgStartup.debug_dyn_o rts/dist/build/StgStdThunks.debug_dyn_o rts/dist/build/Updates.debug_dyn_o rts/dist/build/AutoApply.debug_dyn_o  -fPIC -dynamic -optc-DDEBUG -ticky -DTICKY_TICKY -eventlog  -O -H64m -Wall   -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts -dcmm-lint  -DDTRACE     -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2 -Wcpp-undef -O0    -Wnoncanonical-monad-instances   -o rts/dist/build/libHSrts_debug-ghc8.5.20180403.dylib
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-install/build/./autogen/cabal_macros.h -package-id rts -this-unit-id ghc-prim -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim/dist-install/build -stubdir libraries/ghc-prim/dist-install/build   -dynamic-too -c libraries/ghc-prim/./GHC/CString.hs -o libraries/ghc-prim/dist-install/build/GHC/CString.o -dyno libraries/ghc-prim/dist-install/build/GHC/CString.dyn_o
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-install/build/./autogen/cabal_macros.h -package-id rts -this-unit-id ghc-prim -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim/dist-install/build -stubdir libraries/ghc-prim/dist-install/build   -dynamic-too -c libraries/ghc-prim/./GHC/IntWord64.hs -o libraries/ghc-prim/dist-install/build/GHC/IntWord64.o -dyno libraries/ghc-prim/dist-install/build/GHC/IntWord64.dyn_o
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/Base.hs-boot -o libraries/base/dist-install/build/GHC/Base.o-boot -dyno libraries/base/dist-install/build/GHC/Base.dyn_o-boot
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/Real.hs-boot -o libraries/base/dist-install/build/GHC/Real.o-boot -dyno libraries/base/dist-install/build/GHC/Real.dyn_o-boot
"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/IO.hs-boot -o libraries/base/dist-install/build/GHC/IO.o-boot -dyno libraries/base/dist-install/build/GHC/IO.dyn_o-boot

libraries/base/GHC/IO.hs-boot:9:12: error:
    • Failed to load interface for ‘GHC.Integer.Type’
      There are files missing in the ‘integer-gmp-1.0.1.0’ package,
      try running 'ghc-pkg check'.
      Use -v to see a list of the files searched for.
    • In the type signature: mplusIO :: IO a -> IO a -> IO a
  |
9 | mplusIO :: IO a -> IO a -> IO a
  |            ^^^^^^^^^^^^^^^^^^^^
make[1]: *** [libraries/base/dist-install/build/GHC/IO.o-boot] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs



_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

RE: 8.5 build failure

GHC - devs mailing list
In reply to this post by Richard Eisenberg-4

It seems to be caused by some missing Makefile dependency

 

It may be significant that the dependency is a module in libraries/base GHC/IO.hs-boot  depending on one GHC.Integer.Type  in libraries/integer-gmp.

 

Simon

 

From: ghc-devs <[hidden email]> On Behalf Of Richard Eisenberg
Sent: 03 April 2018 16:11
To: John Leo <[hidden email]>
Cc: ghc-devs <[hidden email]>
Subject: Re: 8.5 build failure

 

I've hit this, too, in the last few days. It seems to be caused by some missing Makefile dependency. My solution has been to `make -j1` for a bit, then cut it off, then `make -j<lots of threads>` again. I'm glad to know it's not just me. :)

 

On Apr 3, 2018, at 11:06 AM, John Leo <[hidden email]> wrote:

 

Hi everyone,

 

I pulled from head this morning and rebased my current work on it, and am getting a build error I've never seen before. I don't think it's due to any of my own changes, and everything built fine last time I tried just a couple days ago . I'd pulled both code and submodules. I did make clean, ./boot, ./configure, and then make. The last few lines of the output are below. This is on a Mac using GHC 8.2.2. Let me know if you need any more info.

 

John

 

"inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath -optl-Wl,@loader_path `cat rts/dist/libs.depend` rts/dist/build/Adjustor.thr_debug_dyn_o rts/dist/build/Arena.thr_debug_dyn_o rts/dist/build/Capability.thr_debug_dyn_o rts/dist/build/CheckUnload.thr_debug_dyn_o rts/dist/build/ClosureFlags.thr_debug_dyn_o rts/dist/build/Disassembler.thr_debug_dyn_o rts/dist/build/FileLock.thr_debug_dyn_o rts/dist/build/Globals.thr_debug_dyn_o rts/dist/build/Hash.thr_debug_dyn_o rts/dist/build/Hpc.thr_debug_dyn_o rts/dist/build/HsFFI.thr_debug_dyn_o rts/dist/build/Inlines.thr_debug_dyn_o rts/dist/build/Interpreter.thr_debug_dyn_o rts/dist/build/LdvProfile.thr_debug_dyn_o rts/dist/build/Libdw.thr_debug_dyn_o rts/dist/build/LibdwPool.thr_debug_dyn_o rts/dist/build/Linker.thr_debug_dyn_o rts/dist/build/Messages.thr_debug_dyn_o rts/dist/build/OldARMAtomic.thr_debug_dyn_o rts/dist/build/PathUtils.thr_debug_dyn_o rts/dist/build/Pool.thr_debug_dyn_o rts/dist/build/Printer.thr_debug_dyn_o rts/dist/build/ProfHeap.thr_debug_dyn_o rts/dist/build/ProfilerReport.thr_debug_dyn_o rts/dist/build/ProfilerReportJson.thr_debug_dyn_o rts/dist/build/Profiling.thr_debug_dyn_o rts/dist/build/Proftimer.thr_debug_dyn_o rts/dist/build/RaiseAsync.thr_debug_dyn_o rts/dist/build/RetainerProfile.thr_debug_dyn_o rts/dist/build/RetainerSet.thr_debug_dyn_o rts/dist/build/RtsAPI.thr_debug_dyn_o rts/dist/build/RtsDllMain.thr_debug_dyn_o rts/dist/build/RtsFlags.thr_debug_dyn_o rts/dist/build/RtsMain.thr_debug_dyn_o rts/dist/build/RtsMessages.thr_debug_dyn_o rts/dist/build/RtsStartup.thr_debug_dyn_o rts/dist/build/RtsSymbolInfo.thr_debug_dyn_o rts/dist/build/RtsSymbols.thr_debug_dyn_o rts/dist/build/RtsUtils.thr_debug_dyn_o rts/dist/build/STM.thr_debug_dyn_o rts/dist/build/Schedule.thr_debug_dyn_o rts/dist/build/Sparks.thr_debug_dyn_o rts/dist/build/Stable.thr_debug_dyn_o rts/dist/build/StaticPtrTable.thr_debug_dyn_o rts/dist/build/Stats.thr_debug_dyn_o rts/dist/build/StgCRun.thr_debug_dyn_o rts/dist/build/StgPrimFloat.thr_debug_dyn_o rts/dist/build/Task.thr_debug_dyn_o rts/dist/build/ThreadLabels.thr_debug_dyn_o rts/dist/build/ThreadPaused.thr_debug_dyn_o rts/dist/build/Threads.thr_debug_dyn_o rts/dist/build/Ticky.thr_debug_dyn_o rts/dist/build/Timer.thr_debug_dyn_o rts/dist/build/TopHandler.thr_debug_dyn_o rts/dist/build/Trace.thr_debug_dyn_o rts/dist/build/WSDeque.thr_debug_dyn_o rts/dist/build/Weak.thr_debug_dyn_o rts/dist/build/fs.thr_debug_dyn_o rts/dist/build/xxhash.thr_debug_dyn_o rts/dist/build/hooks/FlagDefaults.thr_debug_dyn_o rts/dist/build/hooks/LongGCSync.thr_debug_dyn_o rts/dist/build/hooks/MallocFail.thr_debug_dyn_o rts/dist/build/hooks/OnExit.thr_debug_dyn_o rts/dist/build/hooks/OutOfHeap.thr_debug_dyn_o rts/dist/build/hooks/StackOverflow.thr_debug_dyn_o rts/dist/build/sm/BlockAlloc.thr_debug_dyn_o rts/dist/build/sm/CNF.thr_debug_dyn_o rts/dist/build/sm/Compact.thr_debug_dyn_o rts/dist/build/sm/Evac.thr_debug_dyn_o rts/dist/build/sm/Evac_thr.thr_debug_dyn_o rts/dist/build/sm/GC.thr_debug_dyn_o rts/dist/build/sm/GCAux.thr_debug_dyn_o rts/dist/build/sm/GCUtils.thr_debug_dyn_o rts/dist/build/sm/MBlock.thr_debug_dyn_o rts/dist/build/sm/MarkWeak.thr_debug_dyn_o rts/dist/build/sm/Sanity.thr_debug_dyn_o rts/dist/build/sm/Scav.thr_debug_dyn_o rts/dist/build/sm/Scav_thr.thr_debug_dyn_o rts/dist/build/sm/Storage.thr_debug_dyn_o rts/dist/build/sm/Sweep.thr_debug_dyn_o rts/dist/build/eventlog/EventLog.thr_debug_dyn_o rts/dist/build/eventlog/EventLogWriter.thr_debug_dyn_o rts/dist/build/linker/CacheFlush.thr_debug_dyn_o rts/dist/build/linker/Elf.thr_debug_dyn_o rts/dist/build/linker/LoadArchive.thr_debug_dyn_o rts/dist/build/linker/M32Alloc.thr_debug_dyn_o rts/dist/build/linker/MachO.thr_debug_dyn_o rts/dist/build/linker/PEi386.thr_debug_dyn_o rts/dist/build/linker/SymbolExtras.thr_debug_dyn_o rts/dist/build/linker/elf_got.thr_debug_dyn_o rts/dist/build/linker/elf_plt.thr_debug_dyn_o rts/dist/build/linker/elf_plt_aarch64.thr_debug_dyn_o rts/dist/build/linker/elf_plt_arm.thr_debug_dyn_o rts/dist/build/linker/elf_reloc.thr_debug_dyn_o rts/dist/build/linker/elf_reloc_aarch64.thr_debug_dyn_o rts/dist/build/linker/elf_util.thr_debug_dyn_o rts/dist/build/posix/GetEnv.thr_debug_dyn_o rts/dist/build/posix/GetTime.thr_debug_dyn_o rts/dist/build/posix/Itimer.thr_debug_dyn_o rts/dist/build/posix/OSMem.thr_debug_dyn_o rts/dist/build/posix/OSThreads.thr_debug_dyn_o rts/dist/build/posix/Select.thr_debug_dyn_o rts/dist/build/posix/Signals.thr_debug_dyn_o rts/dist/build/posix/TTY.thr_debug_dyn_o   rts/dist/build/Apply.thr_debug_dyn_o rts/dist/build/Compact.thr_debug_dyn_o rts/dist/build/Exception.thr_debug_dyn_o rts/dist/build/HeapStackCheck.thr_debug_dyn_o rts/dist/build/PrimOps.thr_debug_dyn_o rts/dist/build/StgMiscClosures.thr_debug_dyn_o rts/dist/build/StgStartup.thr_debug_dyn_o rts/dist/build/StgStdThunks.thr_debug_dyn_o rts/dist/build/Updates.thr_debug_dyn_o rts/dist/build/AutoApply.thr_debug_dyn_o  -fPIC -dynamic -optc-DTHREADED_RTS -optc-DDEBUG -eventlog  -O -H64m -Wall   -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts -dcmm-lint  -DDTRACE     -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2 -Wcpp-undef -O0    -Wnoncanonical-monad-instances   -o rts/dist/build/libHSrts_thr_debug-ghc8.5.20180403.dylib

"inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath -optl-Wl,@loader_path `cat rts/dist/libs.depend` rts/dist/build/Adjustor.debug_dyn_o rts/dist/build/Arena.debug_dyn_o rts/dist/build/Capability.debug_dyn_o rts/dist/build/CheckUnload.debug_dyn_o rts/dist/build/ClosureFlags.debug_dyn_o rts/dist/build/Disassembler.debug_dyn_o rts/dist/build/FileLock.debug_dyn_o rts/dist/build/Globals.debug_dyn_o rts/dist/build/Hash.debug_dyn_o rts/dist/build/Hpc.debug_dyn_o rts/dist/build/HsFFI.debug_dyn_o rts/dist/build/Inlines.debug_dyn_o rts/dist/build/Interpreter.debug_dyn_o rts/dist/build/LdvProfile.debug_dyn_o rts/dist/build/Libdw.debug_dyn_o rts/dist/build/LibdwPool.debug_dyn_o rts/dist/build/Linker.debug_dyn_o rts/dist/build/Messages.debug_dyn_o rts/dist/build/OldARMAtomic.debug_dyn_o rts/dist/build/PathUtils.debug_dyn_o rts/dist/build/Pool.debug_dyn_o rts/dist/build/Printer.debug_dyn_o rts/dist/build/ProfHeap.debug_dyn_o rts/dist/build/ProfilerReport.debug_dyn_o rts/dist/build/ProfilerReportJson.debug_dyn_o rts/dist/build/Profiling.debug_dyn_o rts/dist/build/Proftimer.debug_dyn_o rts/dist/build/RaiseAsync.debug_dyn_o rts/dist/build/RetainerProfile.debug_dyn_o rts/dist/build/RetainerSet.debug_dyn_o rts/dist/build/RtsAPI.debug_dyn_o rts/dist/build/RtsDllMain.debug_dyn_o rts/dist/build/RtsFlags.debug_dyn_o rts/dist/build/RtsMain.debug_dyn_o rts/dist/build/RtsMessages.debug_dyn_o rts/dist/build/RtsStartup.debug_dyn_o rts/dist/build/RtsSymbolInfo.debug_dyn_o rts/dist/build/RtsSymbols.debug_dyn_o rts/dist/build/RtsUtils.debug_dyn_o rts/dist/build/STM.debug_dyn_o rts/dist/build/Schedule.debug_dyn_o rts/dist/build/Sparks.debug_dyn_o rts/dist/build/Stable.debug_dyn_o rts/dist/build/StaticPtrTable.debug_dyn_o rts/dist/build/Stats.debug_dyn_o rts/dist/build/StgCRun.debug_dyn_o rts/dist/build/StgPrimFloat.debug_dyn_o rts/dist/build/Task.debug_dyn_o rts/dist/build/ThreadLabels.debug_dyn_o rts/dist/build/ThreadPaused.debug_dyn_o rts/dist/build/Threads.debug_dyn_o rts/dist/build/Ticky.debug_dyn_o rts/dist/build/Timer.debug_dyn_o rts/dist/build/TopHandler.debug_dyn_o rts/dist/build/Trace.debug_dyn_o rts/dist/build/WSDeque.debug_dyn_o rts/dist/build/Weak.debug_dyn_o rts/dist/build/fs.debug_dyn_o rts/dist/build/xxhash.debug_dyn_o rts/dist/build/hooks/FlagDefaults.debug_dyn_o rts/dist/build/hooks/LongGCSync.debug_dyn_o rts/dist/build/hooks/MallocFail.debug_dyn_o rts/dist/build/hooks/OnExit.debug_dyn_o rts/dist/build/hooks/OutOfHeap.debug_dyn_o rts/dist/build/hooks/StackOverflow.debug_dyn_o rts/dist/build/sm/BlockAlloc.debug_dyn_o rts/dist/build/sm/CNF.debug_dyn_o rts/dist/build/sm/Compact.debug_dyn_o rts/dist/build/sm/Evac.debug_dyn_o rts/dist/build/sm/Evac_thr.debug_dyn_o rts/dist/build/sm/GC.debug_dyn_o rts/dist/build/sm/GCAux.debug_dyn_o rts/dist/build/sm/GCUtils.debug_dyn_o rts/dist/build/sm/MBlock.debug_dyn_o rts/dist/build/sm/MarkWeak.debug_dyn_o rts/dist/build/sm/Sanity.debug_dyn_o rts/dist/build/sm/Scav.debug_dyn_o rts/dist/build/sm/Scav_thr.debug_dyn_o rts/dist/build/sm/Storage.debug_dyn_o rts/dist/build/sm/Sweep.debug_dyn_o rts/dist/build/eventlog/EventLog.debug_dyn_o rts/dist/build/eventlog/EventLogWriter.debug_dyn_o rts/dist/build/linker/CacheFlush.debug_dyn_o rts/dist/build/linker/Elf.debug_dyn_o rts/dist/build/linker/LoadArchive.debug_dyn_o rts/dist/build/linker/M32Alloc.debug_dyn_o rts/dist/build/linker/MachO.debug_dyn_o rts/dist/build/linker/PEi386.debug_dyn_o rts/dist/build/linker/SymbolExtras.debug_dyn_o rts/dist/build/linker/elf_got.debug_dyn_o rts/dist/build/linker/elf_plt.debug_dyn_o rts/dist/build/linker/elf_plt_aarch64.debug_dyn_o rts/dist/build/linker/elf_plt_arm.debug_dyn_o rts/dist/build/linker/elf_reloc.debug_dyn_o rts/dist/build/linker/elf_reloc_aarch64.debug_dyn_o rts/dist/build/linker/elf_util.debug_dyn_o rts/dist/build/posix/GetEnv.debug_dyn_o rts/dist/build/posix/GetTime.debug_dyn_o rts/dist/build/posix/Itimer.debug_dyn_o rts/dist/build/posix/OSMem.debug_dyn_o rts/dist/build/posix/OSThreads.debug_dyn_o rts/dist/build/posix/Select.debug_dyn_o rts/dist/build/posix/Signals.debug_dyn_o rts/dist/build/posix/TTY.debug_dyn_o   rts/dist/build/Apply.debug_dyn_o rts/dist/build/Compact.debug_dyn_o rts/dist/build/Exception.debug_dyn_o rts/dist/build/HeapStackCheck.debug_dyn_o rts/dist/build/PrimOps.debug_dyn_o rts/dist/build/StgMiscClosures.debug_dyn_o rts/dist/build/StgStartup.debug_dyn_o rts/dist/build/StgStdThunks.debug_dyn_o rts/dist/build/Updates.debug_dyn_o rts/dist/build/AutoApply.debug_dyn_o  -fPIC -dynamic -optc-DDEBUG -ticky -DTICKY_TICKY -eventlog  -O -H64m -Wall   -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts -dcmm-lint  -DDTRACE     -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2 -Wcpp-undef -O0    -Wnoncanonical-monad-instances   -o rts/dist/build/libHSrts_debug-ghc8.5.20180403.dylib

"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-install/build/./autogen/cabal_macros.h -package-id rts -this-unit-id ghc-prim -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim/dist-install/build -stubdir libraries/ghc-prim/dist-install/build   -dynamic-too -c libraries/ghc-prim/./GHC/CString.hs -o libraries/ghc-prim/dist-install/build/GHC/CString.o -dyno libraries/ghc-prim/dist-install/build/GHC/CString.dyn_o

"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-install/build/./autogen/cabal_macros.h -package-id rts -this-unit-id ghc-prim -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim/dist-install/build -stubdir libraries/ghc-prim/dist-install/build   -dynamic-too -c libraries/ghc-prim/./GHC/IntWord64.hs -o libraries/ghc-prim/dist-install/build/GHC/IntWord64.o -dyno libraries/ghc-prim/dist-install/build/GHC/IntWord64.dyn_o

"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/Base.hs-boot -o libraries/base/dist-install/build/GHC/Base.o-boot -dyno libraries/base/dist-install/build/GHC/Base.dyn_o-boot

"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/Real.hs-boot -o libraries/base/dist-install/build/GHC/Real.o-boot -dyno libraries/base/dist-install/build/GHC/Real.dyn_o-boot

"inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/./autogen -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include -Ilibraries/base/dist-install/build/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build   -dynamic-too -c libraries/base/./GHC/IO.hs-boot -o libraries/base/dist-install/build/GHC/IO.o-boot -dyno libraries/base/dist-install/build/GHC/IO.dyn_o-boot

 

libraries/base/GHC/IO.hs-boot:9:12: error:

    • Failed to load interface for ‘GHC.Integer.Type’

      There are files missing in the ‘integer-gmp-1.0.1.0’ package,

      try running 'ghc-pkg check'.

      Use -v to see a list of the files searched for.

    • In the type signature: mplusIO :: IO a -> IO a -> IO a

  |

9 | mplusIO :: IO a -> IO a -> IO a

  |            ^^^^^^^^^^^^^^^^^^^^

make[1]: *** [libraries/base/dist-install/build/GHC/IO.o-boot] Error 1

make[1]: *** Waiting for unfinished jobs....

make: *** [all] Error 2

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

 


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

Re: 8.5 build failure

John Leo
Thanks everyone. I didn't expect just continuing "make" would work, but it does, so that's a workaround for now. I'll look forward to the real fix, of course.

John

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

Re: 8.5 build failure

Herbert Valerio Riedel-3
In reply to this post by GHC - devs mailing list
Hi Simon et al.

On Tue, Apr 3, 2018 at 5:37 PM, Simon Peyton Jones via ghc-devs <[hidden email]> wrote:

It seems to be caused by some missing Makefile dependency

 

It may be significant that the dependency is a module in libraries/base GHC/IO.hs-boot  depending on one GHC.Integer.Type  in libraries/integer-gmp.



That's quite likely the case, either directly or indirectly. When changing the dependency graph, especially involving `.hs-boot` files, it happens quite easily that one needs to give the build-system a hint and make implicit module-graph dependencies more explicit by adding an explicit `import SomeModule ()` in the appropriate place. You may find commit of mine where I did things like that in the past.



_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

Re: 8.5 build failure

Ryan Scott
In reply to this post by John Leo
I've just landed a commit of Ben's [1] which should fix this issue.

Ryan S.
-----
[1] Specifically,
http://git.haskell.org/ghc.git/commit/54acfbbf64f5fcb108836412e9be0cfabf0d7801
_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs