gcc 4.6.1 compile fails in linking stage - libgmp.so in wrong format

Jonathan Wakely jwakely.gcc@gmail.com
Wed Oct 26 17:29:00 GMT 2011


On 26 October 2011 16:57, Marc Glisse wrote:
> On Wed, 26 Oct 2011, steve kirby wrote:
>
>> I put the src trees of gmp, mpfr, and mpc under the gcc tree, linked
>> "gmp", "mpfr", "mpc" directories to each of these src trees. Then called
>> configure, in a separate tree, as recommended.
>>
>> But I'm getting:
>>
>> checking for recent MPFR... no
>> configure: error: MPFR version >= 2.3.1 required
>>
>> The MPFR version in the GCC tree is 3.1.0.
>>
>> What do you recommend I do?
>
> Take an older mpfr version (like the contrib script does). Newer mpfr
> versions hide their configure script in src, and gcc hasn't been updated for
> that yet (or at least it hadn't been for 4.6.1).

Yup.  MPFR 3.0.1 works ok.



More information about the Gcc-help mailing list