Incompatibilities between RPM & .tar.gz versions of ghc-6.0.1
George Russell
ger at tzi.de
Mon Nov 10 06:16:42 EST 2003
It seems as if the RPM and .tar.gz versions of ghc-6.0.1 are binary
incompatible. That is, a library built for one will not necessarily
work on the other. For example, libHSbase.a defines the symbol
"GHCziRead_lvl18_closure" in the .tar.gz version, which can be
externally called; however in the RPM version it is not defined.
Many thanks for Walter Guttmann for discovering this. I hope he
won't mind if I quote from his original message:
> No, I have another version of that file, also from a binary release, which
> explains the problem. The download homepage of ghc 6.0.1
>
> http://www.haskell.org/ghc/download_ghc_601.html
>
> offers several binaries, even for x86/Linux. I found out that your
> libHSbase.a comes from "Binary tar for Linux/x86 with glibc 2.2" and mine
> comes from "base RPM" (even though I do not use RedHat Linux). Note that
> the RPM's name is ghc-6.0.1-1.i386.rpm where the "-1" might indicate
> something. The creation date of your libHSbase.a is 2003-07-29 and that of
> mine is 2003-07-30. I don't know if there have been some changes between
> the two builds, if they just forgot to update the other build or if the
> differences necessarily arise for the two builds (which would be very
> sad). Anyway, I installed the other build and was able to compile, link
> and run MainhsMines.hs. So I'm happy now, but you might want to contact
> the ghc-builders and ask them about the difference.
More information about the Glasgow-haskell-bugs
mailing list