RE: GHC-6.4.1 on FreeBSD-amd64 port progress

On 25 October 2005 10:01, Wilhelm B. Kloke wrote:
Simon Marlow
schrieb: 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.
Try with splitting off: set SplitObjs=NO in your mk/build.mk. Cheers, Simon

Simon Marlow
On 25 October 2005 10:01, Wilhelm B. Kloke wrote:
Try with splitting off: set SplitObjs=NO in your mk/build.mk.
Done with success. I just used the compiler to install darcs. I am able to make the unregisterised .hc-bundle available on the net for other users wanting to install ghc on freebsd-amd64. Or is ist better to generate a new registerised .hc-bundle? Of course, I would like to add the missing two things: object splitting and ghci interactive before releasing a FreeBSD package. -- Dipl.-Math. Wilhelm Bernhard Kloke Institut fuer Arbeitsphysiologie an der Universitaet Dortmund Ardeystrasse 67, D-44139 Dortmund, Tel. 0231-1084-257

On Wed, Oct 26, 2005 at 06:57:50PM +0000, Wilhelm B. Kloke wrote:
I am able to make the unregisterised .hc-bundle available on the net for other users wanting to install ghc on freebsd-amd64.
I would be very grateful if you could make it available.
Or is ist better to generate a new registerised .hc-bundle?
Right now I simply want to build darcs, so an unregisterised should suffice. Best regards Tomasz
participants (3)
-
Simon Marlow
-
Tomasz Zielonka
-
Wilhelm B. Kloke