Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,319
    • Issues 4,319
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 355
    • Merge Requests 355
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #19033

Closed
Open
Opened Dec 07, 2020 by Andreas Klebinger@AndreasKDeveloper

Build error on master using devel2 - threaded eventlog rts not being built

Summary

Command line: _devel/stage0/bin/ghc.exe -Wall -hisuf hi -osuf o -hcsuf hc -static -hide-all-packages -no-user-package-db "-package-db _devel/stage1/lib/package.conf.d" "-package-id Win32-2.10.0.0" "-package-id array-0.5.4.0" "-package-id base-4.
16.0.0" "-package-id bytestring-0.10.12.0" "-package-id containers-0.6.4.1" "-package-id deepseq-1.4.4.0" "-package-id directory-1.3.6.1" "-package-id exceptions-0.10.4" "-package-id filepath-1.4.2.1" "-package-id ghc-9.1.0.20201205" "-package-i
d ghc-boot-9.1.0.20201205" "-package-id ghc-prim-0.8.0" "-package-id ghci-9.1.0.20201205" "-package-id haskeline-0.8.1.0" "-package-id process-1.6.10.0" "-package-id time-1.11.1" "-package-id transformers-0.5.6.2" -i -iE:\ghc_mapM_ticks\_devel\s
tage1\ghc\build -iE:\ghc_mapM_ticks\_devel\stage1\ghc\build\ghc\autogen -iE:\ghc_mapM_ticks\ghc -Iincludes -I_devel/stage1/lib -I_devel/stage1/ghc/build -IE:/ghc_mapM_ticks/_devel/stage1/lib/x86_64-windows-ghc-9.1.0.20201205/haskeline-0.8.1.0/in
clude -IE:/ghc_mapM_ticks/_devel/stage1/lib/x86_64-windows-ghc-9.1.0.20201205/ghc-9.1.0.20201205/include -IE:/ghc_mapM_ticks/_devel/stage1/lib/x86_64-windows-ghc-9.1.0.20201205/process-1.6.10.0/include -IE:/ghc_mapM_ticks/_devel/stage1/lib/x86_6
4-windows-ghc-9.1.0.20201205/time-1.11.1/include -IE:/ghc_mapM_ticks/_devel/stage1/lib/x86_64-windows-ghc-9.1.0.20201205/Win32-2.10.0.0/include -IE:/ghc_mapM_ticks/_devel/stage1/lib/x86_64-windows-ghc-9.1.0.20201205/bytestring-0.10.12.0/include
-IE:/ghc_mapM_ticks/_devel/stage1/lib/x86_64-windows-ghc-9.1.0.20201205/base-4.16.0.0/include -IE:/ghc_mapM_ticks/_devel/stage1/lib/x86_64-windows-ghc-9.1.0.20201205/ghc-bignum-1.0/include -IE:/ghc_mapM_ticks/_devel/stage1/lib/x86_64-windows-ghc
-9.1.0.20201205/rts-1.0/include -I_devel/stage1/lib -optc-I_devel/stage1/lib -optP-include -optP_devel/stage1/ghc/build/ghc/autogen/cabal_macros.h -optP-DHAVE_INTERNAL_INTERPRETER -outputdir _devel/stage1/ghc/build -no-auto-link-packages -no-hs-
main -Wnoncanonical-monad-instances -optc-Wno-error=inline -optP-Wno-nonportable-include-path _devel/stage1/ghc/build/c/hschooks.o _devel/stage1/ghc/build/Main.o _devel/stage1/ghc/build/GHCi/Leak.o _devel/stage1/ghc/build/GHCi/UI.o _devel/stage1
/ghc/build/GHCi/UI/Info.o _devel/stage1/ghc/build/GHCi/UI/Monad.o _devel/stage1/ghc/build/GHCi/UI/Tags.o _devel/stage1/ghc/build/GHCi/Util.o -o _devel/stage1/bin/ghc.exe -O -H64m -Wall -Wnoncanonical-monad-instances -Wnoncanonical-monoid-instanc
es -eventlog -threaded -XHaskell2010 -XNoImplicitPrelude -XScopedTypeVariables -XBangPatterns -no-global-package-db -package-db=E:/ghc_mapM_ticks/_devel/stage1/lib/package.conf.d -ghcversion-file=E:/ghc_mapM_ticks/_devel/stage1/lib/ghcversion.h
-O0 -DDEBUG -I_devel/stage1/compiler/build -Wcpp-undef -Wincomplete-uni-patterns -Wincomplete-record-updates
Exit code: 1
Stderr and Stdout:
E://ghc_mapM_ticks//_devel//mingw//bin/ld.exe: cannot find -lHSrts-1.0_thr_l
collect2.exe: error: ld returned 1 exit status
`gcc.exe' failed in phase `Linker'. (Exit code: 1)

Steps to reproduce

Clone master and build using devel2


I think this has been discussed on ghc-devs already. And there might be an MR already. But I couldn't find a ticket tracking this.

Edited Dec 07, 2020 by Andreas Klebinger
Assignee
Assign to
9.2.1
Milestone
9.2.1
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#19033