Skip to content

native riscv64-linux: error: cannot bootstrap GHC on this platform ('riscv64-linux' with libc 'defaultLibc') #231537

@colemickens

Description

@colemickens

Describe the bug

I am trying to ramp back up on riscv64-linux stuff. I have a minimal builder config that cross-compiles. I'm trying to get the "full" interactive config ready to natively build, but it doesn't even evaluate.

It blows up on GHC. If I were guessing, it seems like some versions of GHC are pulled as binary releases, probably to bootstrap a GHC-from-source build.

However, it seems that GHC does not publish binary releases of GHC.

I'm not in the Haskell scene, so I don't know how to proceed:

  1. Ask GHC to publish riscv64 releases? Not sure if they're ready yet, etc
  2. Use an unsupported binary release from ... someone else? Maybe this couldn't/shouldn't be merged, but could live in one of the various riscv64 branches that various folks maintain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: haskellGeneral-purpose, statically typed, purely functional programming language
    No fields configured for issues without a type.

    Projects

    Status

    Enhancements

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions