ghci and other test failures on Windows.
Simon Marlow
simonmar at microsoft.com
Wed Sep 1 05:02:48 EDT 2004
On 28 August 2004 21:55, Mike Thomas wrote:
> Hi Simon.
>
>>> The other thing I was planning on looking into in the near future is
>>> the consistent failure of the GHCi versions of the tests on Windows.
>>
>> That would be good - we're in bug-fixing mode for 6.2.2 at the
>> moment, planning to put out a release candidate soon.
>
> As time may be running short I thought I had better keep you up to
> date on where this went - applies to CVS HEAD from last week, MinGW
> build hosted on Cygwin.
I've fixed up the GHCi tests on Windows, I'm doing a test run of the
HEAD on Windows right now. I'll merge that fix through to the stable
branch too.
The 6.4 release (from the HEAD) is probably going to be delayed until
after ICFP now (end of Sept). We want to get 6.2.2 out before ICFP,
though.
> 2. On a related note, ghci after make install looks in the wrong
> place for (I think) system.IO, which is imported from
> InteractiveUI.hs: import System.IO as IO, line 68)
>
>
-----------------------------------------------------------------------
> *** Parser:
>
> <interactive>:1:22:
> Failed to load interface for `IO':
> Could not find interface file for `IO'
> locations searched: c:/lang/ghc/imports/IO.hi
> *** Deleting temp files
> Deleting:
> ghc.exe: panic! (the `impossible' happened, GHC version 6.3):
> interactiveUI:setBuffering
>
> Please report it as a compiler bug to
> glasgow-haskell-bugs at haskell.org,
> or http://sourceforge.net/projects/ghc/.
>
-----------------------------------------------------------------------
>
> System/IO.hi seems to be correctly installed as shown below, so my
> guess is that the "import as" alias is going wrong by not remembering
> the actual hierarchical path to the true import file.
>
>
-----------------------------------------------------------------------
> $ find /c/lang/ghc -iname IO.hi
> /c/lang/ghc/imports/Data/Array/IO.hi
> /c/lang/ghc/imports/GHC/IO.hi
> /c/lang/ghc/imports/System/IO.hi
>
-----------------------------------------------------------------------
Ok, looks to be something wrong with 'make install' then. This isn't
going to be a high priority (we don't need it for the release), but feel
free to fix it if you have the time.
>
=======================================================================
> 3. The next step after fixing the test script issue for point 1 for
> the Windows regression tests will need to be the Windows compiler
> crashes and network hangs reported a while ago - no promises of
> course - the problems I expect are long standing.
These must have dropped off my radar - can you remind me?
Cheers,
Simon
More information about the Cvs-ghc
mailing list