- To: gcc-help@xxxxxxxxxxx
- Subject: Trouble compiling gcc 4.5 and gcc 4.6
- From: Jens Bauer <jens@xxxxxxxxxxxxxx>
- Date: Mon, 12 Mar 2012 21:47:34 +0100
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1332190077; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Date:From:To:Message-ID:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=ToO7xxVuTWNGk4X+A54srg9iMiQ=; b=CSnq8cag4lSArQF GRNjnebmbBFaaV+cgxgk2L8v0tXKlS+RfMfZcZkeD4etC4DDwpBjISk0O75cZOfs U8jhM9bA2mgs+iIZeg3B9JIYK0T9PKKd8BwU9Ax7rB82L3NBSG4kMOHpHfRMcklM 0Bh4qfbcapUIoiLp0ThQex27URTk=
Hi all,
Just to let you know, in case you run into the same problems.
I just tried compiling gcc with gmp-5.0.4, mpfr-3.1.0 and mpc-0.9 (because why not use the newest libraries, when we're doing a new compile anyway ?)
I kept getting this error...
configure: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/time.h: proceeding with the compiler's result
configure: error: libmpfr not found or uses a different ABI.
make[2]: *** [configure-stage1-mpc] Error 1
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
-After much messing around and many retries, I decided to change version numbers back to gmp-5.0.1 and mpfr-3.0.1, and now it seems both gcc 4.5 and 4.6 compiles.
I believe it's mpfr-3.1.0 (I could be wrong, but that's my best guess, as the minor-version is updated, while only gmp's bugfix version updated, furthermore, the 'libmpfr' points at mpfr, not gmp).
-I hope this will help someone to skip a few hours or days of work.
Love,
Jens
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]