On 7/15/10 11:10 AM, Alexander Hansen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 7/15/10 11:57 AM, Robert Wyatt wrote:
>>   On 7/14/10 4:30 PM, Robert Wyatt wrote:
>>> Alexander Hansen wrote:
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>
>>>> On 7/14/10 2:33 PM, Jean-François Mertens wrote:
>>>>> The build of ghc fails on 10.5.8 Intel (both 32bit and 64bit)
>>>>>
>>>> <snip>
>>>>
>>>>> 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
>>>>>
>>>>>
>>>> I didn't reproduce the error on 10.5.8/i386/Xcode 3.1.4.  The build
>>>> succeeded for me.
>>>>
>>>> - -- Alexander Hansen
>>>> Fink User Liaison
>>> The build also succeeded for me on 10.6.4 x86_64 with Xcode 3.2.3.
>>> --Robert
>> However it fails for me on 10.5.8/PPC/Xcode 3.1.4:
>>
>> make -C compiler stage=2
>> /usr/bin/sed -e
>> "s...@ghc_path@/sw/src/fink.build/ghc-6.8.2-1/ghc-6.8.2/compiler/stage2/ghc-6....@g"
>> -e "s...@top_abs@/sw/src/fink.build/ghc-6.8.2-1/ghc-6....@g"<
>> ghc-inplace.c>  stage2/ghc-inplace.c
>> ../compiler/stage1/ghc-inplace -cpp  stage2/ghc-inplace.c -o
>> stage2/ghc-inplace
>> ld: library not found for -lgmp
>> collect2: ld returned 1 exit status
>> make[2]: *** [stage2/ghc-inplace] Error 1
>> make[1]: *** [stage2] Error 2
>> make: *** [bootstrap2] Error 2
>> ### execution of make failed, exit code 2
>>
>> Complete output is available here:
>> http://reg066.reg.utexas.edu/~bentones/fink/10.5.8/ghc-6.8.2-1.txt
>>
>> --Robert
> Verify that you have /sw/lib/libgmp.dylib, and that it's not a dangling
> symlink.
>
> If you're on a G4 and gmp came from a binary distribution, then it may
> be broken for you by virtue of being built on a G5.
>
> - -- 
> Alexander Hansen
> Fink User Liaison

Hi Alexander:

$ ls -l /sw/lib/libgmp.dylib
lrwxr-xr-x  1 root  admin  18 Jun 25 14:58 /sw/lib/libgmp.dylib -> 
libgmp.3.5.2.dylib
$ ls -l /sw/lib/libgmp.3.5.2.dylib
-rwxr-xr-x  1 root  admin  360508 Jun 25 14:57 /sw/lib/libgmp.3.5.2.dylib

This machine happens to be a dualG5....

Shall I rebuild something (like gmp)?

--Robert

------------------------------------------------------------------------------
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