Re: Gcc 4.6.0 bootstrap fails with in-tree GMP/MPFR/MPC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ian Lance Taylor writes:
> Matt Fago <fago@xxxxxxxxxxxxx> writes:
>> I'm trying to build gcc 4.6.0 on OpenSuSE 11.2 x86_64 with latest MPC,
>> MPFR, GMP built in-tree (vers 0.9, 3.0.1, 5.0.1). I've always used
>> in-tree builds in the past as they are the least troublesome.
>>
>> Configuring with:
>>
>> ../gcc-4.6.0/configure --prefix=/usr/local \
>> --libdir=/usr/local/lib64 --program-suffix=-4.6 \
>> --with-arch=corei7 --enable-languages=c,c++,fortran --enable-gold \
>> --enable-checking=release --with-system-zlib --enable-linux-futex \
>> --without-system-libunwind --with-ppl-lib=/usr/lib64 \
>> --with-ppl-include=/usr/include --with-cloog-lib=/usr/lib64 \
>> --with-cloog-include=/usr/include --enable-lto
>>
>> I get several errors such as:
>>
>> [...]/gcc/gcc-build-4.6.0/./mpc/src/.libs/libmpc.a(pow.o): In function mpc_pow_exact':
>> [...]/gcc/gcc-build-4.6.0/mpc/src/../../../gcc-4.6.0/mpc/src/pow.c:123: undefined reference to `mpfr_get_z_2exp'
>>
>> Evidently this is caused by MPC picking up the older incompatible
>> system version of MPFR? Shouldn't this be taken care of by the
>> in-tree onfig somehow?
>
>Yes, it should. This sounds like a bug.

It may be caused by the --with-ppl-* and --with-cloog-* flags.
I'll open a bug.

Thanks,
Matt


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux