public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/48556] New: Gcc 4.6.0 bootstrap fails with in-tree GMP/MPFR/MPC
@ 2011-04-11 16:19 fago at earthlink dot net
  2011-04-12 10:27 ` [Bug bootstrap/48556] " rguenth at gcc dot gnu.org
  2012-01-28  5:44 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: fago at earthlink dot net @ 2011-04-11 16:19 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48556

           Summary: Gcc 4.6.0 bootstrap fails with in-tree GMP/MPFR/MPC
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: fago@earthlink.net


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 config somehow?


I tried to get around this by installing the latest versions of 
mpc/mpfr/gmp/ppl/cloog that are available from the SuSE gcc-devel
repository. I believe these are 0.8.2, 3.0.0, 5.0.1, 0.11-15, 0.15.10.

However, this did not appear to solve the issue.

Further removing the --with-ppl-* and --with-cloog-* configure flags
resulted in a successful bootstrap. Perhaps these flags are making their
way into the in-tree builds of mpc/mpfr/gmp somehow?


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-28  5:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-11 16:19 [Bug bootstrap/48556] New: Gcc 4.6.0 bootstrap fails with in-tree GMP/MPFR/MPC fago at earthlink dot net
2011-04-12 10:27 ` [Bug bootstrap/48556] " rguenth at gcc dot gnu.org
2012-01-28  5:44 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).