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

Allow ghc-prim == 0.10.0 #50

Open
erikd opened this issue Jul 26, 2023 · 1 comment
Open

Allow ghc-prim == 0.10.0 #50

erikd opened this issue Jul 26, 2023 · 1 comment

Comments

@erikd
Copy link

erikd commented Jul 26, 2023

To build with ghc-9.6 I currently need:

allow-newer: ekg-core:ghc-prim

I think this can be fixed with a Hackage metadata edit. @andreasabel.

@andreasabel
Copy link

There are warnings about uninitialized fields. One is new (base-4.18/GHC 9.6), the others are old (base-4.15/GHC 9.0):

System/Metrics.hs:489:17: warning: [GHC-20125] [-Wmissing-fields]
    • Fields of ‘Stats.RTSStats’ not initialised:
        nonmoving_gc_sync_cpu_ns :: Stats.RtsTime
        nonmoving_gc_sync_elapsed_ns :: Stats.RtsTime
        nonmoving_gc_sync_max_elapsed_ns :: Stats.RtsTime
        nonmoving_gc_cpu_ns :: Stats.RtsTime
        nonmoving_gc_elapsed_ns :: Stats.RtsTime
        nonmoving_gc_max_elapsed_ns :: Stats.RtsTime

System/Metrics.hs:519:18: warning: [GHC-20125] [-Wmissing-fields]
    • Fields of ‘Stats.GCDetails’ not initialised:
        gcdetails_block_fragmentation_bytes :: GHC.Word.Word64
        gcdetails_nonmoving_gc_sync_cpu_ns :: Stats.RtsTime
        gcdetails_nonmoving_gc_sync_elapsed_ns :: Stats.RtsTime

Folks seem to want to use this package anyway, so I made a bound-relaxing revision ghc-prim < 0.11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants