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

GHC 7.0.2 fails to build yesod, due to stripped libraries #12

Closed
stevenrobertson opened this issue Mar 8, 2011 · 3 comments
Closed

Comments

@stevenrobertson
Copy link

GHC 7.0.2, built with the ebuild in this overlay, fails to build Yesod. Turning on FEATURES="nostrip" and rebuilding GHC allows Yesod to build successfully. The error message is the same as the one in this issue:

http://hackage.haskell.org/trac/ghc/ticket/5004

Thanks.

@trofi
Copy link
Contributor

trofi commented Mar 8, 2011

The bug looks similar to

http://hackage.haskell.org/trac/ghc/ticket/3580

Does extending STRIP_MASK="*/HSffi.o */libHSghc-7.0.2.a" help?

@trofi
Copy link
Contributor

trofi commented Mar 8, 2011

The same thing can be reproduced bu running
$ ghci -package ghc
Loading package ghc-7.0.2 ... ghc: /home/prefix/gentoo/usr/lib/ghc-7.0.2/ghc-7.0.2/libHSghc-7.0.2.a: no string tables, or too many
ghc: panic! (the 'impossible' happened)
(GHC version 7.0.2 for i386-unknown-linux):
loadArchive "/home/prefix/gentoo/usr/lib/ghc-7.0.2/ghc-7.0.2/libHSghc-7.0.2.a": failed

@trofi
Copy link
Contributor

trofi commented Mar 11, 2011

Added static libs to STRIP_MASK. It helped for my setup.
Please reopen if it does not for you.

Thank you!

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

No branches or pull requests

2 participants