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

MIN_VERSION_ghc instead of __GLASGOW_HASKELL__ #12

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Apr 27, 2024

  1. MIN_VERSION_ghc instead of __GLASGOW_HASKELL__

    It seems that when `ghc` tries to build the plugin with the bootstrap compiler,
    `MIN_VERSION_ghc` reports that we are using the GHC API 9.10 but
    `__GLASGOW_HASKELL__` reports GHC 9.8. After this change, the plugin builds
    during building `ghc`.
    
    Unfortunately, as soon as we try to build anything _with_ the plugin,
    compilation fails with
    
    ```
    libraries/ghc-prim/GHC/CString.hs:1:1: error: [GHC-51294]
        Failed to load interface for ‘GHC.Internal.Debug.Trace’.
        no unit id matching ‘ghc-internal’ was found
    ```
    edsko committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    fdc918e View commit details
    Browse the repository at this point in the history