gmp-5.0.0 fails to build on x86_64-apple-darwin10

Torbjorn Granlund tg at gmplib.org
Fri Jan 15 18:49:34 CET 2010


Jack Howarth <howarth at bromo.med.uc.edu> writes:

  Torbjörn,
      I saw the duplicate symbol error as well on darwin9 with it's default
  gcc-4.0 system compiler (but not when I used alternative gcc-4.2
  and g++-4.2 system compilers). As I mentioned in...
  
  http://gmplib.org/list-archives/gmp-bugs/2010-January/001779.html
  
  I wonder if this is a side-effect of gcc-4.0 not understanding the
  instances of __gnu_inline__? In any case, if gmp-5.0 required gcc-4.2,
  this wouldn't be a first. The ppl package required for graphite support
  in FSF gcc already requires gcc/g++-4.2.

Perhaps there is a way to define __GMP_EXTERN_INLINE that makes Apple
gcc-4.0 behave like we want, i.e., inline or leave undefined?

-- 
Torbjörn


More information about the gmp-bugs mailing list