corsis / clock

High-resolution clock functions: monotonic, realtime, cputime.
Other
58 stars 25 forks source link

clock fails to build on ghc 9.2.1 #71

Closed maerten closed 2 years ago

maerten commented 2 years ago
clock                      > Registering library for clock-0.8.2..
clock                      > Cabal-simple_mPHDZzAJ_3.6.0.0_ghc-9.2.1:
clock                      > '~/.stack/programs/aarch64-osx/ghc-9.2.1/bin/ghc-pkg-9.2.1'
clock                      > exited with an error:
clock                      > ghc-pkg-9.2.1: <stdin>: hGetContents: invalid argument (invalid byte sequence)
clock                      >
andreasabel commented 2 years ago

It does build with cabal, though, on macOS Mojave.

maerten commented 2 years ago

This appears to be a GHC bug related to Apple M1 aarch64 https://gitlab.haskell.org/ghc/ghc/-/issues/20677

CetinSert commented 2 years ago

This appears to be a GHC bug related to Apple M1 aarch64 https://gitlab.haskell.org/ghc/ghc/-/issues/20677

@maerten, @andreasabel – closing as out of scope then