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

Provide GHC bindists built for Ubuntu 22.04 #248

Open
Bodigrim opened this issue Sep 12, 2024 · 2 comments
Open

Provide GHC bindists built for Ubuntu 22.04 #248

Bodigrim opened this issue Sep 12, 2024 · 2 comments

Comments

@Bodigrim
Copy link
Collaborator

The existing bindists are built for Ubuntu 20.04 and thus are not suitable for static linking of Haskell libraries on Ubuntu 22.04 because of the removal of __xmknod in glibc 2.33. The issue usually manifest itself in the following way:

libHSunix-2.7.3.a(Files.o):function ghczuwrapperZC1ZCunixzm2zi7zi3ZCSystemziPosixziFilesZCmknod: error: undefined reference to '__xmknod'

Cf. haskell/unix#265 and https://discourse.haskell.org/t/statically-linked-binary-distributions-for-linux/7248/9 for the trail of destruction.

(I'm not talking about fully static linking to produce self-contained portable binaries, which is not something Ubuntu bindist is expected to be capable of. I'm talking about static linking of libHS* so that binaries at least can be transferred to another Ubuntu machine without depending on Cabal store)

@mpickering
Copy link
Collaborator

I opened a GHC issue to track building newer bindists for ubuntu - https://gitlab.haskell.org/ghc/ghc/-/issues/25319

@mpickering
Copy link
Collaborator

9.12.1-alpha1 now provides ubuntu-22.04 bindists.

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

No branches or pull requests

3 participants