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

timerep-2.0.0 test suite crashes GHC 7.10.1 #14

Open
peti opened this issue May 5, 2015 · 2 comments
Open

timerep-2.0.0 test suite crashes GHC 7.10.1 #14

peti opened this issue May 5, 2015 · 2 comments

Comments

@peti
Copy link

peti commented May 5, 2015

Citing from http://hydra.cryp.to/build/795204/nixlog/6/raw:

In-place registering Tests-2.0.0...
[1 of 1] Compiling Main             ( dist/build/TestsStub/TestsStub-tmp/TestsStub.hs, dist/build/TestsStub/TestsStub-tmp/Main.dyn_o )
Linking dist/build/TestsStub/TestsStub ...
ghc: panic! (the 'impossible' happened)
  (GHC version 7.10.1 for x86_64-unknown-linux):
        Don't understand library name Tests

This is a known bug in GHC. Maybe it's possible to work around it by simply renaming the test suite?

@k0ral
Copy link
Collaborator

k0ral commented May 7, 2015

I fail to reproduce the issue with GHC 7.10.1:

Running 1 test suites...
Test suite Tests: RUNNING...
Test suite Tests: PASS
Test suite logged to: dist/test/timerep-2.0.0-Tests.log
1 of 1 test suites (3 of 3 test cases) passed.

Can you clarify which GHC bug you're referring to, and what the test suite should be renamed into to avoid the panic ?

@peti
Copy link
Author

peti commented May 13, 2015

See haskell/cabal#2039 and https://ghc.haskell.org/trac/ghc/ticket/9625.

The flag --enable-executable-dynamic makes the difference.

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