Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,868
    • Issues 4,868
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 456
    • Merge requests 456
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #21111
Closed
Open
Created Feb 21, 2022 by Julian Ospald@maerwald🍵Developer

[windows] GHC fails to link due to msys2 crt update

Context:

  • https://github.com/msys2/MINGW-packages/issues/10837
  • https://github.com/msys2/MINGW-packages/pull/10634

Steps to reproduce:

  1. clone https://github.com/vsafonkin/sample-msys-crt-git-package-bug
  2. update msys2 packages: pacman -Syy && pacman -S --noconfirm --noprogressbar mingw-w64-x86_64-crt-git
  3. make sure the global cabal.config contains extra-lib-dirs and extra-include-dirs pointing to the msys2 installation (as is done on the ghcup installation)
  4. run cabal run

Workaround was mentioned by @Phyx https://github.com/msys2/MINGW-packages/issues/10837#issuecomment-1047105402

Not sure if #21109 (closed) is related

Edited Feb 21, 2022 by Julian Ospald
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking