GMP 4.3.2 fails to compile with --enable-fat

Torbjorn Granlund tg at gmplib.org
Tue Aug 30 13:48:47 CEST 2011


Zimmermann Paul <Paul.Zimmermann at loria.fr> writes:

  I did not pass any cpu/host option to configure:
  
  tarte% ./configure --disable-static --enable-fat # GMP 4.3.2
  checking build system type... core2-unknown-linux-gnu
  checking host system type... core2-unknown-linux-gnu
  ...
  using ABI="64"
        CC="gcc -std=gnu99"
        CFLAGS="-O2 -pedantic -m64"
        CPPFLAGS=""
        MPN_PATH=" x86_64/core2 x86_64 generic"
  
  
  tarte% ./configure --disable-static --enable-fat # GMP 5.0.0
  checking build system type... core2-unknown-linux-gnu
  checking host system type... core2-unknown-linux-gnu
  ...
  using ABI="64"
        CC="gcc -std=gnu99"
        CFLAGS="-O2 -pedantic -m64"
        CPPFLAGS=""
        MPN_PATH=" x86_64/fat x86_64 generic"
  
It seems fat builds are broken in both these (historical) releases.  The
fix for 5.0.0 is to use a later 5.0.x release.  There is no fix for
4.3.2.

-- 
Torbjörn


More information about the gmp-bugs mailing list