You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
(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)
The text was updated successfully, but these errors were encountered:
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: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)The text was updated successfully, but these errors were encountered: