gmp 4.2 fails tests on G5

Daniel Lord daniellord at mac.com
Wed Apr 26 15:48:04 CEST 2006


On Apr 26, 2006, at 6:14, Jack Howarth wrote:

>     Has GMP 4.2 actually been tested on a G5? In attempting to build
> fink packages for gmp 4.2, we discovered that while GMP 4.2 can be  
> built
> and passes its testsuite on a G4 there are many testsuite failures  
> when
> building and testing on a G5. Specifically the problem shows up  
> when the
> configure option --enable-cxx is used. Without that option, the  
> build passes
> its make check on a G5.
>               Jack
> ps This was with the current Xcode 2.2.1 development tools on a dual
> 2GHz G5 Powermac running MacOS X 10.4.6.
> _______________________________________________
> gmp-bugs mailing list
> gmp-bugs at swox.com
> https://gmplib.org/mailman/listinfo/gmp-bugs

There is a patch, but apparently, the maintainer has not checked it  
in although its been available for several weeks now. I don't know  
why the maintainer has not checked this in yet.
The GMP web site says its Apple assembler syntax which is incorrect.  
It has _nothing_ to do with that. It is a defect in the loader 'ld'.

Quoting someone who sent it to me:
> Apple's assembly syntax is totally irrelevant here.  The reason make
> check fails is Apple's creative *ld semantics*: an object file inside
> a library file is NOT brought in if the only symbols it satisfies are
> DATA ones.
> Make check makes an executable with unresolved symbols because of
> this strange "optimization" in Apple's ld (I dimly remember from the
> past other linkers with this kind of strangeness), that's all.
> Enrico Franchi posted to gmp-bugs, two weeks ago, a patch to gmp  4.2
> which I had sent him -- it's a TINY patch

http://gmplib.org/list-archives/gmp-bugs/attachments/20060407/f364005b/ 
patch-0001.obj


Daniel Lord
daniellord at mac.com
---
"You will never regret getting up too early,
and you'll always regret getting up too late,
but sometimes you may regret giving up too late."
                           -- Mountaineer's Adage






More information about the gmp-bugs mailing list