Skip to content

Windows 11: Trying to build with ghc-git-682bf9799b3c3037ee484732bd83c3d21f620fc0 #6823

Description

@mpilgrem

On Windows 11, trying to build with compiler: ghc-git-682bf9799b3c3037ee484732bd83c3d21f620fc0 was failing during Stage 1, with:

_build/stage0/bin/ghc.exe: createProcess: does not exist (No such file or directory)

even though _build/stage0/bin/ghc.exe had been created during Stage 0.

The reason seems to be a problem with long paths (even though long paths support was enabled). Creating, short, C:\Temp and setting TEMP and TMP to reference it saw GHC built from source.

However, the build has folder lib\targets containing file default.target and that file has absolute paths. The built GHC does not work, as a consequence.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions