The build of ghc fails on 10.5.8 Intel (both 32bit and 64bit)

A) With 64bit (thus ghc-6.10.4-1), already during the PatchScript:
> install_name_tool -change $OLDROOT/lib/libgmp.3.dylib /sw64/lib/ 
> libgmp.3.dylib $BSLIB/ghc
> install_name_tool: object: ../ghc-bootstrap/lib/ghc-6.10.4/ghc  
> malformed object (unknown load command 4)

and otool -L shows indeed:

Load command 4
       cmd ?(0x80000022) Unknown load command
   cmdsize 48
00000000 00000000 0158d000 00000088 00000000 00000000 0158d088 00000ff8
0158e080 001810d8

Don't know how to fix that..
(the bootstrap file is named ghc-6.10.4-darwin-x86_64-snowleopard- 
bootstrap,
and apparently there may new load commands in snowleopard..)

B) With 32bit (thus ghc-6.8.3-2),

> ../compiler/ghc-inplace -H16m -O -I/sw/include -L/sw/lib -optc-O2 - 
> package-name rts -static -I../gmp/gmpbuild -I. -#include  
> HCIncludes.h -dcmm-lint  -hisuf p_hi -hcsuf p_hc -osuf p_o -prof   - 
> c Updates.cmm -o Updates.p_o
> /tmp/ghc29322_0/ghc29322_0.s:unknown:Undefined local symbol  
> LDV_recordDead_FILL_SLOP_DYNAMIC


... ?

If at least I could build this one, I could try bootstrapping the  
other with it..

JF Mertens


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to