RE: GHC-6.4.1 on FreeBSD-amd64 port progress

On 24 October 2005 19:04, Wilhelm B. Kloke wrote:
Wilhelm B. Kloke
schrieb: Simon Marlow
schrieb: Are you building GHC in a fresh tree now? I'd recommend doing that.
Now I am using a *really* fresh tree. Formerly the compilation of Apply.cmm did not render an instructive error message, just failed for some sort of memory access exception. Now I have:
I have enabled freebsd in the mangler now. After installing with make install stage=1 the compiler compiles an .o and .hi file, but it does not find the libraries to link with for test.hs.
Is it that it does not find the libraries, or does it find the libraries but still gets a bunch of undefined references? If the latter, then there could be an issue with the mangler. Try an 'nm' on libHSbase.a to see if the missing symbols are actually defined. Cheers, Simon

Simon Marlow
On 24 October 2005 19:04, Wilhelm B. Kloke wrote:
Is it that it does not find the libraries, or does it find the libraries but still gets a bunch of undefined references? If the latter, then there could be an issue with the mangler. Try an 'nm' on libHSbase.a to see if the missing symbols are actually defined.
Nm shows that the problem may come from splitting. The missing symbols are marked as locals (small d); being in different .o modules they are not resolved. -- Dipl.-Math. Wilhelm Bernhard Kloke Institut fuer Arbeitsphysiologie an der Universitaet Dortmund Ardeystrasse 67, D-44139 Dortmund, Tel. 0231-1084-257
participants (2)
-
Simon Marlow
-
Wilhelm B. Kloke