Universal binary t-get_d test failure

Torbjorn Granlund tg at swox.com
Tue Jun 10 11:57:04 CEST 2008


Ryan Schmidt <gmp-2008b at ryandesign.com> writes:

  A Mac OS X universal binary is one which contains code for both ppc  
  and i386 architectures (32-bit PowerPC and Intel). There can also be  
  4-way universal binaries (with ppc, i386, ppc64 and x86_64  
  architectures) to provide optimal performance on 32-bit and 64-bit  
  PowerPC and Intel processors, but I'm not looking into that for gmp  
  at this time.

OK, so this is simply as novel name for what traditionaly was called
fat binaries.

  
  
  >>   The way I'm building gmp universal is through the MacPorts gmp port
  >>   with the +universal variant, which does it by configuring this way
  >>   (on 10.4.11):
  >
  >
  > Aha, so you're using somebody else's variant of GMP.
  
  The MacPorts gmp "port" isn't so much a variant of gmp as it is a  
  simple script for installing gmp. MacPorts is just a package manager  
  for Mac OS X. When I said "+universal variant" above I was referring  
  to a feature of MacPorts; ports can have variants to install them  
  with different options. The +universal variant is one provided by  
  MacPorts to all ports to enable the building of a universal binary,  
  but it can be selectively disabled for ports where it doesn't work.
  
If they haven't made that work, then I suppose they should disable it.

At the very minimum, they need to install proper gmp.h variants, and
make sure compilers choose the right ones from ABI+API compiler
options.  And between builds, make sure to do a "make distclean".

Note that gmp.h is a generated file, at least for the non-hacked GMP.

-- 
Torbjörn


More information about the gmp-bugs mailing list