-
Notifications
You must be signed in to change notification settings - Fork 11
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
mkfullpak: stglib not found #4
Comments
This bug was fixed. It works for me with the latest ghc-wpc and external-stg's mkfullpak. |
This is with latest (a5646c16b5634bb8e3d568df4ebeb7fa194471e6) ghc-wpc and latest (6a26eca) ghc-whole-program-compiler-project. |
is mkfullpak also the latest? |
Yes |
Could you please attach the |
(added |
What is the content of these folders (recursively)? (
|
It is strange, it works on Ubuntu 16.04. Could this be a nix issue? (I mean surely I miss something in ghc-wpc) |
/data/Code/ghc-whole-program-compiler-project/ghc-wpc/_build/stage1/lib/../lib/x86_64-linux-ghc-8.11.0.20210306
/nix/store/fphpbj8jpyibz0l2xspidg6s7zm7xyb5-gmp-6.2.0/lib: libgmp.la libgmp.so libgmp.so.10 libgmp.so.10.4.0 libgmpxx.la libgmpxx.so libgmpxx.so.4 libgmpxx.so.4.6.0 I'm using hadrian-cabal with cabal 3.2.0.0, and ghc 8.10.2 to build ghc-wpc |
I'm using hadrian-stack. That should be the issue!
use |
The cabal lib is also patched in ghc-wpc, and hadrian/build-stack uses the modified cabal lib. |
Works, thanks! |
e.g.
from running
mkfullpack _build/stage1/bin/runghc.dyn_o_ghc_stgapp
but I also get a similar
running
mkfullpak Main.o_ghc_stgapp
(whereMain.lhs
is self-contained).The stglib files are in e.g.
stage1/libraries/base/build/libHSbase-4.14.0.0.o_stglib
, and aren't being copied intostage1/lib/x86_64-linux-ghc-8.11.0.20210306
. Butmkfullpak
is only searching instage1/lib/x86_64-linux-ghc-8.11.0.20210306
The text was updated successfully, but these errors were encountered: