| CARVIEW |
Select Language
HTTP/2 301
server: nginx
date: Fri, 16 Jan 2026 15:05:13 GMT
content-type: text/html
content-length: 115
location: https://gitlab.haskell.org/ghc/ghc/-/issues/23789
cache-control: no-cache
nel: {"max_age": 0}
x-gitlab-meta: {"correlation_id":"01KF3NDKHNP06QGRSNDQD2EZ3B","version":"1"}
x-request-id: 01KF3NDKHNP06QGRSNDQD2EZ3B
x-runtime: 0.048128
HTTP/2 200
server: nginx
date: Fri, 16 Jan 2026 15:05:14 GMT
content-type: text/html; charset=utf-8
content-length: 56077
cache-control: max-age=0, private, must-revalidate
content-security-policy:
etag: W/"36dce1da897f2da6c311cb6ddfb4d9b3"
nel: {"max_age": 0}
permissions-policy: interest-cohort=()
referrer-policy: strict-origin-when-cross-origin
set-cookie: _gitlab_session=81fa29ac2c51b5ffc48af5339e48c3b0; path=/; secure; HttpOnly; SameSite=None
vary: Accept
x-content-type-options: nosniff
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-gitlab-meta: {"correlation_id":"01KF3NDKWA6ZKFEGRM5WNVPAMR","version":"1"}
x-permitted-cross-domain-policies: none
x-request-id: 01KF3NDKWA6ZKFEGRM5WNVPAMR
x-runtime: 0.470903
x-ua-compatible: IE=edge
x-xss-protection: 1; mode=block
error: unknown type name ‘clockid_t’ from bytestring bump (#23789) · Issues · Glasgow Haskell Compiler / GHC · GitLab
Skip to content
error: unknown type name ‘clockid_t’ from bytestring bump
@clyring the bytestring bump (43578d60) causes my build to fail with:
from libraries/bytestring/cbits/is-valid-utf8.c:53:0: error:
/nix/store/llmhxawhz6c4jqgjapbmsmz02579js0s-ghc-9.6.2-with-packages/lib/ghc-9.6.2/lib/x86_64-linux-ghc-9.6.2/rts-1.0.2/include/rts/OSThreads.h:38:5: error:
error: unknown type name ‘clockid_t’
38 | clockid_t timeout_clk;
| ^~~~~~~~~
|
38 | clockid_t timeout_clk;
| ^
`cc' failed in phase `C Compiler'. (Exit code: 1)
I can reproduce this on a clean build following the steps on ghc.dev:
git clone --recurse-submodules https://gitlab.haskell.org/ghc/ghc.git
git clone https://github.com/alpmestan/ghc.nix
nix develop ghc.nix
cd ghc
./boot && ./configure
hadrian/build -j
@alanz also reported seeing this issue on #ghc
Edited by Jaro Reinders
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information