Two issues bulding ghc 6.4.1

I have encountered two issues trying to build ghc-6.4.1 from the source
tarball.
1. (fixed) GNU make v 3.79 does not work (was discussed on irc
yesterday: at least two people including myself got this issue), v 3.80
works. If not already in FAQ/wiki perhaps worth including.
2. Error while assembling (or mangling?) ForeignObj.lhs; fragments of
make output below (long lines wrapped/truncated, the whole file is too
long to post it here but I'll provide it if needed):
=======================================================================
------------------------------------------------------------------------
../../ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend -optdep-s
-optdepp -osuf o -H16m -O -ign
<

Dimitry Golubovsky wrote:
2. Error while assembling (or mangling?) ForeignObj.lhs; fragments of make output below (long lines wrapped/truncated, the whole file is too long to post it here but I'll provide it if needed):
This one has been fixed by installing gcc-2.95.2 and building using it. I am not very much familiar with the new GHC Wiki; does there exist a page on "tools compatibility" or similar? Dimitry

Dimitry Golubovsky wrote:
2. Error while assembling (or mangling?) ForeignObj.lhs; fragments of make output below (long lines wrapped/truncated, the whole file is too long to post it here but I'll provide it if needed):
Could it be that "sed" chops of some lines and "perl" should be used instead? Another problem (I've encountered some times) might be a final missing newline.
This one has been fixed by installing gcc-2.95.2 and building using it.
You seem to have an old system. Why do you not stay with ghc-6.2.2? Doesn't a binary ghc-6.4.1 installation work? Christian

Dimitry Golubovsky wrote:
I have encountered two issues trying to build ghc-6.4.1 from the source tarball.
1. (fixed) GNU make v 3.79 does not work (was discussed on irc yesterday: at least two people including myself got this issue), v 3.80 works. If not already in FAQ/wiki perhaps worth including.
Thanks, I've added this to the building guide and added a test to the build system to detect 3.79 and complain.
2. Error while assembling (or mangling?) ForeignObj.lhs; fragments of make output below (long lines wrapped/truncated, the whole file is too long to post it here but I'll provide it if needed):
This one looks like a bad interaction between your gcc version and the mangler. Probably not worth investigating in detail, since you already worked around it by installing an updated gcc.
I am not very much familiar with the new GHC Wiki; does there exist a page on "tools compatibility" or similar?
Not yet, there's a page in the building guide: http://www.haskell.org/ghc/docs/latest/html/building/sec-pre-supposed.html It would probably be a good idea to move all this material into the Wiki at some point. Cheers, Simon

Dimitry Golubovsky wrote:
I have encountered two issues trying to build ghc-6.4.1 from the source tarball.
1. (fixed) GNU make v 3.79 does not work (was discussed on irc yesterday: at least two people including myself got this issue), v 3.80 works. If not already in FAQ/wiki perhaps worth including.
Just to check: was it 3.79, or 3.79.1 that caused problems for you? We have been using 3.79.1 here without problems for quite some time. Cheers, Simon
participants (3)
-
Christian Maeder
-
Dimitry Golubovsky
-
Simon Marlow