Timothy Robin BARBOUR writes:
> Regarding my complaints about seg-v's with multi-dimensional arrays
> (not reproducible at Glasgow), I think I have been suffering from
> version-mismatches. I had several version of ghc installed, some in
> their own tree, some in /usr/local, with and without version
> suffixes/symlinks. Since I cleaned up the mess, the problem has gone.
> I was definitely importing ghc-2.05 imports when compiling with
> ghc-3.01 !
> 
> It is disturbingly easy to do.
> 
> But I would have thought ghc could do some version checking on imports
> and libraries (I know about -link-chk). Is it possible to check that the
> interface and library have the same version ?
> 

Yes, by checking version consistency of the interface files being
slurped in. The 1.2 compiler does this, but the 2.xx & 3.xx ones
don't. Adding it easy enough, maybe we should start doing it again.

>
> green-card-2.0 compiled fine (I think) with ghc-3.01, but there are
> still a couple of problems:
> 

Thanks for the feedback. We'll hopefully release GCII soon that's
in a more buildable state than the pre-release you downloaded.

--Sigbjorn

Reply via email to