I should have said: this was with 'make' in testsuite (not validate)

And the GHCi failure is this.  (Ian, you were the one working on quotRem)

simonpj@cam-05-unx:~/5builds/HEAD/testsuite/tests/numeric/should_run$ 
'/5playpen/simonpj/HEAD/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint 
-dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts  -fno-ghci-history 
quotRem2.hs --interactive  -ignore-dot-ghci +RTS -I0.1 -RTS   
<quotRem2.genscript 
GHCi, version 7.5: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
[1 of 1] Compiling Main             ( quotRem2.hs, interpreted )
Error: bytecode compiler can't handle unboxed tuples.
  Possibly due to foreign import/export decls in source.
  Workaround: use -fobject-code, or compile this module to .o separately.
> > > ===== program output begins here
> ===== program output begins here
> > 
quotRem2:7:30:
    attempting to use module `Main' (quotRem2.hs) which is not loaded
> Leaving GHCi.


| -----Original Message-----
| From: Simon Marlow [mailto:[email protected]]
| Sent: 26 April 2012 11:42
| To: Simon Peyton-Jones
| Cc: [email protected]
| Subject: Re: Test failures
| 
| On 25/04/2012 15:32, Simon Peyton-Jones wrote:
| > A dozen tests on Linux are failing thus. Any ideas what 'openpty' is?
| >
| > Simon
| >
| > =====> hTell002(dyn) 3178 of 3291 [0, 49, 49]
| >
| > cd ../../libraries/base/tests &&
| > '/5playpen/simonpj/HEAD/inplace/bin/ghc-stage2' -fforce-recomp
| > -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf
| > -rtsopts -fno-ghci-history -o hTell002 hTell002.hs -O -dynamic
| > >hTell002.comp.stderr 2>&1
| >
| > Compile failed (status 256) errors were:
| >
| > [1 of 1] Compiling Main ( hTell002.hs, hTell002.o )
| >
| > Linking hTell002 ...
| >
| > /5playpen/simonpj/HEAD/libraries/unix/dist-install/build/libHSunix-
| 2.5.1.0-ghc7.5.so:
| > undefined reference to `openpty'
| 
| I did a validate yesterday and didn't see these.  I'll try again.
| 
| > collect2: ld returned 1 exit status
| >
| > ---------------------- And several more are failing thus
| >
| > =====> quotRem2(ghci) 831 of 3291 [0, 25, 0]
| >
| > cd ./numeric/should_run &&
| > '/5playpen/simonpj/HEAD/inplace/bin/ghc-stage2' -fforce-recomp
| > -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf
| > -rtsopts -fno-ghci-history quotRem2.hs --interactive -v0
| > -ignore-dot-ghci +RTS
| > -I0.1 -RTS <quotRem2.genscript 1>quotRem2.interp.stdout
| > 2>quotRem2.interp.stderr
| >
| > Actual stderr output differs from expected:
| >
| > --- /dev/null 2012-02-29 09:41:37.880741075 +0000
| >
| > +++ ./numeric/should_run/quotRem2.run.stderr 2012-04-25
| > 13:22:15.675148176 +0100
| >
| > @@ -0,0 +1,3 @@
| >
| > +
| >
| > +quotRem2:7:30:
| >
| > + attempting to use module `Main' (quotRem2.hs) which is not loaded
| >
| > *** unexpected failure for quotRem2(ghci)
| 
| The error message isn't telling you anything - run the test by hand in
| GHCi to see what's going wrong.  This is an unfortunate infelicity in
| the test framework, I've just got used to working around it.
| 
| Cheers,
|       Simon



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to