#3756: Missing -lz option in testsuite
----------------------------------+-----------------------------------------
Reporter: daniel.is.fischer | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Test Suite | Version: 6.12.1
Resolution: | Keywords:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: Other
----------------------------------+-----------------------------------------
Comment (by daniel.is.fischer):
Further unexpected failures due to packages no longer included:
{{{
=====> 2317(normal)
cd ./concurrent/2317 && '/home/dafis/GHC121/ghc-6.12.1/inplace/bin/ghc-
stage2' -fforce-recomp
-dcore-lint -dcmm-lint -no-user-package-conf -optl-lz -dno-debug-output
--make -o 2317 2317
>2317.comp.stderr 2>&1
Compile failed (status 256) errors were:
2317.hs:4:7:
Could not find module `Control.Parallel':
Use -v to see a list of the files searched for.
*** unexpected failure for 2317(normal)
=====> pkg02(normal)
cd ./cabal/pkg02 && '/home/dafis/GHC121/ghc-6.12.1/inplace/bin/ghc-stage2'
-fforce-recomp
-dcore-lint -dcmm-lint -no-user-package-conf -optl-lz -dno-debug-output
--make -o pkg02 A -v0
>pkg02.comp.stderr 2>&1
Compile failed (status 256) errors were:
A.hs:3:7:
Could not find module `Network.Socket':
Use -v to see a list of the files searched for.
*** unexpected failure for pkg02(normal)
=====> qq005(normal)
cd ./quasiquotation/qq005 && '/home/dafis/GHC121/ghc-6.12.1/inplace/bin
/ghc-stage2'
-fforce-recomp -dcore-lint -dcmm-lint -no-user-package-conf -optl-lz -dno-
debug-output
--make -o qq005 Main >qq005.comp.stderr 2>&1
Compile failed (status 256) errors were:
Expr.hs:9:7:
Could not find module `Text.ParserCombinators.Parsec.Char':
Use -v to see a list of the files searched for.
*** unexpected failure for qq005(normal)
=====> qq006(normal)
cd ./quasiquotation/qq006 && '/home/dafis/GHC121/ghc-6.12.1/inplace/bin
/ghc-stage2'
-fforce-recomp -dcore-lint -dcmm-lint -no-user-package-conf -optl-lz -dno-
debug-output
--make -o qq006 Main -v0 >qq006.comp.stderr 2>&1
Actual stderr output differs from expected:
--- ./quasiquotation/qq006/qq006.stderr.normalised 2009-12-15
13:47:10.000000000 +0100
+++ ./quasiquotation/qq006/qq006.comp.stderr.normalised 2009-12-15
13:47:10.000000000 +0100
@@ -1,4 +1,4 @@
-Main.hs:8:20:
- Conflicting definitions for `x'
- In a case alternative
+Expr.hs:9:7:
+ Could not find module `Text.ParserCombinators.Parsec.Char':
+ Use -v to see a list of the files searched for.
*** unexpected failure for qq006(normal)
}}}
Expected (?) failures due to packages not present:
{{{
okeefe_neural: lang
galois_raytrace: parsec
cg025: regex-compat
SampleVar001, Chan001, MVar001, QSemN001, QSem001, ghci014,
maessen_hashtab: QuickCheck
regex001, regex002, regex003: regex-posix
dynamic002, packedstring001: packedstring
2185: parallel
}}}
Probably they should have failed for other reasons.
More interesting unexpected failures:
{{{
=====> T1969(normal)
cd ./perf/compiler && '/home/dafis/GHC121/ghc-6.12.1/inplace/bin/ghc-
stage2' -fforce-recomp
-dcore-lint -dcmm-lint -no-user-package-conf -optl-lz -dno-debug-output -c
T1969.hs
+RTS -V0 -tT1969.comp.stats --machine-readable -RTS >T1969.comp.stderr
2>&1
bytes allocated 209182332 is less than minimum allowed 210000000
If this is because you have improved GHC, please
update the test so that GHC doesn't regress again
*** unexpected failure for T1969(normal)
=====> annrun01(dyn)
cd ./annotations/should_run && '/home/dafis/GHC121/ghc-6.12.1/inplace/bin
/ghc-stage2'
-fforce-recomp -dcore-lint -dcmm-lint -no-user-package-conf -optl-lz -dno-
debug-output
--make -o annrun01 annrun01 -O -dynamic -package ghc
>annrun01.comp.stderr 2>&1
Compile failed (status 256) errors were:
[1 of 3] Compiling Annrun01_Help ( Annrun01_Help.hs, Annrun01_Help.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package array-0.3.0.0 ... linking ... done.
Loading package containers-0.3.0.0 ... linking ... done.
Loading package filepath-1.1.0.3 ... linking ... done.
Loading package old-locale-1.0.0.2 ... linking ... done.
Loading package old-time-1.0.0.3 ... linking ... done.
Loading package unix-2.4.0.0 ... linking ... done.
Loading package directory-1.0.1.0 ... linking ... done.
Loading package pretty-1.0.1.1 ... linking ... done.
Loading package process-1.0.1.2 ... linking ... done.
Loading package Cabal-1.8.0.2 ... linking ... done.
Loading package bytestring-0.9.1.5 ... linking ... done.
Loading package ghc-binary-0.5.0.2 ... linking ... done.
Loading package bin-package-db-0.0.0.0 ... linking ... done.
Loading package hpc-0.5.0.4 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package ghc-6.12.1 ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
Loading object (dynamic) z ... done
final link ... done
Annrun01_Help.hs:26:0:
Dynamic linking required, but this is a non-standard build (eg. prof).
You need to build the program twice: once the normal way, and then
in the desired way using -osuf to set the object file suffix.
*** unexpected failure for annrun01(dyn)
=====> barton-mangler-bug(profc)
cd ./programs/barton-mangler-bug &&
'/home/dafis/GHC121/ghc-6.12.1/inplace/bin/ghc-stage2'
-fforce-recomp -dcore-lint -dcmm-lint -no-user-package-conf -optl-lz -dno-
debug-output --make
-o barton-mangler-bug Main -O -prof -auto-all -fvia-C >barton-mangler-
bug.comp.stderr 2>&1
Compile failed (status 25344) errors were:
[1 of 7] Compiling Plot ( Plot.lhs, Plot.o )
[2 of 7] Compiling Expected ( Expected.hs, Expected.o )
*** unexpected failure for barton-mangler-bug(profc)
=====> break024(ghci)
cd ./ghci.debugger/scripts &&
HC='/home/dafis/GHC121/ghc-6.12.1/inplace/bin/ghc-stage2'
HC_OPTS='-dcore-lint -dcmm-lint -no-user-package-conf -optl-lz -dno-debug-
output '
'/home/dafis/GHC121/ghc-6.12.1/inplace/bin/ghc-stage2' --interactive -v0
-ignore-dot-ghci
-dcore-lint -dcmm-lint -no-user-package-conf -optl-lz -dno-debug-output
-ignore-dot-ghci
<break024.script >break024.run.stdout 2>break024.run.stderr
Actual stdout output differs from expected:
--- ./ghci.debugger/scripts/break024.stdout.normalised 2009-12-15
15:05:51.000000000 +0100
+++ ./ghci.debugger/scripts/break024.run.stdout.normalised 2009-12-15
15:05:51.000000000 +0100
@@ -1,20 +1,26 @@
Left user error (error)
Stopped at <exception thrown>
-_exception :: e = _
+_exception :: e = SomeException (GHC.Exception.D:Exception _
+
(GHC.Show.D:Show ...) ....)
+ (GHC.IO.Exception.IOError Nothing
GHC.IO.Exception.UserError ....)
_exception = SomeException (GHC.Exception.D:Exception _
(GHC.Show.D:Show _
_ _) _ _)
(GHC.IO.Exception.IOError Nothing
GHC.IO.Exception.UserError []
['e','r','r','o','r'] Nothing Nothing)
*** Exception: user error (error)
Stopped at <exception thrown>
-_exception :: e = _
+_exception :: e = SomeException (GHC.Exception.D:Exception _
+
(GHC.Show.D:Show ...) ....)
+ (GHC.IO.Exception.IOError Nothing
GHC.IO.Exception.UserError ....)
_exception = SomeException (GHC.Exception.D:Exception _
(GHC.Show.D:Show _
_ _) _ _)
(GHC.IO.Exception.IOError Nothing
GHC.IO.Exception.UserError []
['e','r','r','o','r'] Nothing Nothing)
*** Exception: user error (error)
Stopped at <exception thrown>
-_exception :: e = _
+_exception :: e = SomeException (GHC.Exception.D:Exception _
+
(GHC.Show.D:Show ...) ....)
+ (GHC.IO.Exception.IOError Nothing
GHC.IO.Exception.UserError ....)
_exception = SomeException (GHC.Exception.D:Exception _
(GHC.Show.D:Show _
_ _) _ _)
(GHC.IO.Exception.IOError Nothing
GHC.IO.Exception.UserError []
*** unexpected failure for break024(ghci)
=====> conc012(ghci)
cd ./concurrent/should_run && '/home/dafis/GHC121/ghc-6.12.1/inplace/bin
/ghc-stage2'
-fforce-recomp -dcore-lint -dcmm-lint -no-user-package-conf -optl-lz -dno-
debug-output
conc012.hs --interactive -v0 -ignore-dot-ghci +RTS -I0.1 -RTS
<conc012.genscript
1>conc012.interp.stdout 2>conc012.interp.stderr
Wrong exit code (expected 0 , actual 99 )
Stdout:
Stderr:
*** unexpected failure for conc012(ghci)
=====> rtsflags001(normal)
cd ./rts && '/home/dafis/GHC121/ghc-6.12.1/inplace/bin/ghc-stage2'
-fforce-recomp -dcore-lint
-dcmm-lint -no-user-package-conf -optl-lz -dno-debug-output -o rtsflags001
rtsflags001.hs
>rtsflags001.comp.stderr 2>&1
cd ./rts && ./rtsflags001 +RTS -H0m -RTS </dev/null
>rtsflags001.run.stdout 2>rtsflags001.run.stderr
Wrong exit code (expected 1 , actual 0 )
Stdout:
Stderr:
*** unexpected failure for rtsflags001(normal)
}}}
The overall result with -optl-lz is
{{{
OVERALL SUMMARY for test run started at Di 15. Dez 12:50:40 CET 2009
2352 total tests, which gave rise to
13034 test cases, of which
0 caused framework failures
2760 were skipped
9940 expected passes
296 expected failures
0 unexpected passes
38 unexpected failures
Unexpected failures:
2317(normal,optc,hpc,optasm,profc,profasm,ghci,threaded1,threaded2,dyn,profthreaded)
T1969(normal)
annrun01(dyn)
barton-mangler-bug(profc)
break024(ghci)
conc012(ghci)
galois_raytrace(normal,optc,profc,ghci,threaded1,dyn)
pkg02(normal,optc,hpc,optasm,profc,profasm)
qq005(normal,optc,hpc,optasm,ghci,threaded1,threaded2,dyn)
qq006(normal)
rtsflags001(normal)
}}}
Only six of the unexpected failures are not due to an absent package.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3756#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs