[commit: testsuite] master: Looks like plugin06 really only works with dynamic libraries enabled (cf499fe)
git at git.haskell.org
git at git.haskell.org
Mon Dec 2 15:44:14 UTC 2013
Repository : ssh://git@git.haskell.org/testsuite
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/cf499fe916975ae9704aec8a39b2256491949ef3/testsuite
>---------------------------------------------------------------
commit cf499fe916975ae9704aec8a39b2256491949ef3
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Mon Dec 2 15:43:23 2013 +0000
Looks like plugin06 really only works with dynamic libraries enabled
Otherwise we get
ghc-stage2: panic! (the 'impossible' happened)
(GHC version 7.7.20131202 for x86_64-unknown-linux):
Static flags have not been initialised!
Please call GHC.parseStaticFlags early enough.
>---------------------------------------------------------------
cf499fe916975ae9704aec8a39b2256491949ef3
tests/plugins/all.T | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/plugins/all.T b/tests/plugins/all.T
index 50406c3..7e5f9b4 100644
--- a/tests/plugins/all.T
+++ b/tests/plugins/all.T
@@ -34,6 +34,7 @@ test('plugins05',
test('plugins06',
[ extra_clean(['LinkerTicklingPlugin.hi', 'LinkerTicklingPlugin.o']),
+ unless(have_dynamic(),skip),
only_ways([config.ghc_plugin_way]) ],
- multimod_compile_and_run, ['plugins06', '-package ghc ' + config.ghc_th_way_flags ])
+ multimod_compile_and_run, ['plugins06', '-package ghc'])
More information about the ghc-commits
mailing list