ghc-musl
ghc-musl copied to clipboard
Docker image with GHC+musl for static executables
During discussion in #21, I ran [lsupg][] on `utdemir/ghc-musl:v24-ghc922` and was surprised to see that many packages have updates for an image that was built so recently. I assume that...
I was enthusiast when I read that `Images come with ghc and cabal executables alongside with commonly used libraries and build tools.` Finding out that `stack` must be manually installed...
This PR makes the changes discussed in #23. Please see the commit messages of the two commits for details.
I'm trying to build a `monomer` app and I'm getting linker errors:  I think I have the required dependencies (sdl2-dev and glew-dev), but the linker fails anyways. The libraries...
I tried to build a fully static linked postgrest binary with this docker image and met following error when building the `postgresql-libpq` pacakge: ``` Failed to build postgresql-libpq-0.9.4.3. The failure...
I'm on Ubuntu 22.04, with stack installed through `curl -sSL https://get.haskellstack.org/ | sh` and recently upgraded. When I add ``` docker: enable: true image: utdemir/ghc-musl:v25-ghc944 ``` to my project's `stack.yaml`,...
Hello, I am attempting to statically link a Haskell library that exports a C API. But I get the following errors if I pass the `-optl-static` flag: ``` /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/crtbeginT.o:...
Attempting to compile my program with musl. Attaching relevant `--verbose` output. GHC: 9.2.7 (newest LTS) Stack: 2.7.5 Using the provided command: ``` stack build \ --ghc-options ' -static -optl-static -optl-pthread...
I'm trying to build a static binary in `v24-ghc922`, but it seems to segfault when building the dependencies, error log as such: ``` Waiting for download of RepoTarballPackage (RepoSecure {repoRemote...
It looks like a fix for this one https://github.com/utdemir/ghc-musl/issues/29 is added to GHC 9.6.4 (and perhaps, 9.6.3 as well, but I didn't test). I tested it and indeed projects with...