Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ghc: disable on powerpc64le #282591

Closed
wants to merge 1 commit into from
Closed

ghc: disable on powerpc64le #282591

wants to merge 1 commit into from

Commits on Jan 21, 2024

  1. ghc: disable on powerpc64le

    The first step of bootstrapping ghc on powerpc64le uses an ancient
    ghc-8.6.5 binary which never worked very well and has always
    segfaulted part of the time.  Unfortunately of late something in
    newer Linux kernels, or maybe glibcs, or maybe something else is
    causing it to segfault 100% of the time for me.
    
    Sadly this means we can no longer build GHC on nixpkgs.  IMHO, long
    term it just isn't sustainable for us to support compilers that
    don't have either a bootstrap path from C/C++ or else a solid
    self-cross-compilation-from-x86 bootstrap path.  I think we need to
    wait for GHC to get the latter.
    
    Also, recently people have been spraying ShellCheck far and wide
    with wild abandon, which means that deliberately breaking GHC on
    powerpc64le is the most straighforward way to get nixpkgs to skip
    these ShellChecks (which of course need GHC).
    
    So... this commit actually is necessary now in order to build the
    NixOS installer.
    Adam Joseph committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    8f74a13 View commit details
    Browse the repository at this point in the history