the cross compiler battle -- how to force host-triplet and target-triplet?

Segher Boessenkool segher@kernel.crashing.org
Tue Feb 19 13:41:00 GMT 2019


On Tue, Feb 19, 2019 at 02:22:13AM -0500, Dennis Clarke wrote:
> So the real question then is why the mpfr stage fails with a complaint
> about the ABI or "machine type" of libgmp?  The actual archive has been
> completed in the gmp stage and now mpfr will need that as a dependency
> but the process breaks down and fails with :
> 
> checking for gmp.h... yes
> checking whether gcc __attribute__ ((mode (XX))) works... yes
> checking for recent GMP... yes
> checking usable gmp.h at link time... yes
> checking for GMP_NUMB_BITS and sizeof(mp_limb_t) consistency... cannot test
> checking for __gmpz_init in -lgmp... no
> configure: error: libgmp not found or uses a different ABI (including
> static vs shared).
> Please read the INSTALL file -- see "In case of problem".
> gmake[1]: *** [Makefile:5139: configure-mpfr] Error 1
> gmake[1]: Leaving directory
> '/usr/home/dclarke/rv64g_local/build/gcc-8.2.0_rv64imafdc.007'
> gmake: *** [Makefile:906: all] Error 2
> vesta_$

Read config.log .  It tells you what happened.


Segher



More information about the Gcc-help mailing list