* [Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used
2010-06-07 20:42 [Bug bootstrap/44455] New: GCC fails to build if MPFR 3.0.0 (Release Candidate) is used Denis dot Excoffier at airbus dot com
@ 2010-06-11 8:05 ` Denis dot Excoffier at airbus dot com
2010-06-14 17:35 ` nightstrike at gmail dot com
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: Denis dot Excoffier at airbus dot com @ 2010-06-11 8:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from Denis dot Excoffier at airbus dot com 2010-06-11 08:05 -------
The same applies to mpfr-3.0.0 (now official). The MPFR people have however
added the following note in ./INSTALL:
> As gmp-impl.h and longlong.h are only in the GMP source directory,
> you first need to copy these files to the build directory if it is
> different (there may be other workarounds, such as setting $CPPFLAGS
> to search the GMP source directory).
This may be a better workaround than the one i proposed first.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used
2010-06-07 20:42 [Bug bootstrap/44455] New: GCC fails to build if MPFR 3.0.0 (Release Candidate) is used Denis dot Excoffier at airbus dot com
2010-06-11 8:05 ` [Bug bootstrap/44455] " Denis dot Excoffier at airbus dot com
@ 2010-06-14 17:35 ` nightstrike at gmail dot com
2010-06-14 17:51 ` froydnj at gcc dot gnu dot org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: nightstrike at gmail dot com @ 2010-06-14 17:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from nightstrike at gmail dot com 2010-06-14 17:35 -------
I can confirm this as a valid bug, but I don't have the bugzilla permissions to
do so. Can someone update this to New?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used
2010-06-07 20:42 [Bug bootstrap/44455] New: GCC fails to build if MPFR 3.0.0 (Release Candidate) is used Denis dot Excoffier at airbus dot com
2010-06-11 8:05 ` [Bug bootstrap/44455] " Denis dot Excoffier at airbus dot com
2010-06-14 17:35 ` nightstrike at gmail dot com
@ 2010-06-14 17:51 ` froydnj at gcc dot gnu dot org
2010-07-07 7:45 ` marc dot glisse at normalesup dot org
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: froydnj at gcc dot gnu dot org @ 2010-06-14 17:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from froydnj at gcc dot gnu dot org 2010-06-14 17:51 -------
Switched to NEW for NightStrike.
--
froydnj at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-06-14 17:51:22
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used
2010-06-07 20:42 [Bug bootstrap/44455] New: GCC fails to build if MPFR 3.0.0 (Release Candidate) is used Denis dot Excoffier at airbus dot com
` (2 preceding siblings ...)
2010-06-14 17:51 ` froydnj at gcc dot gnu dot org
@ 2010-07-07 7:45 ` marc dot glisse at normalesup dot org
2010-07-08 16:24 ` bonzini at gnu dot org
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: marc dot glisse at normalesup dot org @ 2010-07-07 7:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from marc dot glisse at normalesup dot org 2010-07-07 07:44 -------
Created an attachment (id=21121)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21121&action=view)
Trivial patch
There doesn't seem to be much point using --with-gmp-build (it is mostly useful
to improve performance a bit, but gcc explicitly tells GMP to be slow), so
let's just use the same options as MPC. It works with mpfr 2.3.1 and 3.0.0. Any
particular trap I am missing?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used
2010-06-07 20:42 [Bug bootstrap/44455] New: GCC fails to build if MPFR 3.0.0 (Release Candidate) is used Denis dot Excoffier at airbus dot com
` (3 preceding siblings ...)
2010-07-07 7:45 ` marc dot glisse at normalesup dot org
@ 2010-07-08 16:24 ` bonzini at gnu dot org
2010-07-11 11:18 ` a dot heider at gmail dot com
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: bonzini at gnu dot org @ 2010-07-08 16:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from bonzini at gnu dot org 2010-07-08 16:24 -------
The patch is okay, but it should be tested with bootstrap, `make install' and a
smoke test after install with:
- in-tree GMP, in-tree MPFR 2.3
- in-tree GMP, in-tree MPFR 3.0
- out-of-tree GMP, in-tree MPFR 2.3
- out-of-tree GMP, in-tree MPFR 3.0
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used
2010-06-07 20:42 [Bug bootstrap/44455] New: GCC fails to build if MPFR 3.0.0 (Release Candidate) is used Denis dot Excoffier at airbus dot com
` (4 preceding siblings ...)
2010-07-08 16:24 ` bonzini at gnu dot org
@ 2010-07-11 11:18 ` a dot heider at gmail dot com
2010-07-12 20:34 ` marc dot glisse at normalesup dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: a dot heider at gmail dot com @ 2010-07-11 11:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from a dot heider at gmail dot com 2010-07-11 11:17 -------
4.4.4 is affected as well
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used
2010-06-07 20:42 [Bug bootstrap/44455] New: GCC fails to build if MPFR 3.0.0 (Release Candidate) is used Denis dot Excoffier at airbus dot com
` (5 preceding siblings ...)
2010-07-11 11:18 ` a dot heider at gmail dot com
@ 2010-07-12 20:34 ` marc dot glisse at normalesup dot org
2010-07-13 9:33 ` bonzini at gnu dot org
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: marc dot glisse at normalesup dot org @ 2010-07-12 20:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from marc dot glisse at normalesup dot org 2010-07-12 20:34 -------
(In reply to comment #5)
> The patch is okay, but it should be tested with bootstrap, `make install' and a
> smoke test after install with:
>
> - in-tree GMP, in-tree MPFR 2.3
> - in-tree GMP, in-tree MPFR 3.0
> - out-of-tree GMP, in-tree MPFR 2.3
> - out-of-tree GMP, in-tree MPFR 3.0
Is it enough to test with --enable-languages=c? What is a smoke test, gcc -v?
Does it matter if the system has gmp and mpfr installed, even when doing the
in-tree tests (I hope not, because I won't remove them)?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used
2010-06-07 20:42 [Bug bootstrap/44455] New: GCC fails to build if MPFR 3.0.0 (Release Candidate) is used Denis dot Excoffier at airbus dot com
` (6 preceding siblings ...)
2010-07-12 20:34 ` marc dot glisse at normalesup dot org
@ 2010-07-13 9:33 ` bonzini at gnu dot org
2010-07-13 14:26 ` marc dot glisse at normalesup dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: bonzini at gnu dot org @ 2010-07-13 9:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from bonzini at gnu dot org 2010-07-13 09:32 -------
Yes, C-only bootstrap is enough.
Regarding the removal of an installed GMP, in theory yes, it would be
preferable. In practice removing it would force you to use an old bootstrap
GCC that does not use MPC/MPFR/GMP, and there is an easy way to check that the
right library is used for the build, so it is not necessary. Since in-tree
GMP/MPFR are statically linked, just do "ldd *gcc/cc1" in the build directory,
and check that it doesn't include any relevant GMP/MPFR/MPC shared library.
For smoke testing, just compile a simple "int main() {}" file.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used
2010-06-07 20:42 [Bug bootstrap/44455] New: GCC fails to build if MPFR 3.0.0 (Release Candidate) is used Denis dot Excoffier at airbus dot com
` (7 preceding siblings ...)
2010-07-13 9:33 ` bonzini at gnu dot org
@ 2010-07-13 14:26 ` marc dot glisse at normalesup dot org
2010-07-13 14:43 ` bonzini at gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: marc dot glisse at normalesup dot org @ 2010-07-13 14:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from marc dot glisse at normalesup dot org 2010-07-13 14:26 -------
Ok, the 4 tests worked fine. I tested with gcc-4.5.0 because the snapshots
complained about the number of arguments to ggc_alloc_cleared_lang_type
(without any patch). I used --without-ppl (otherwise you get gmp through it).
MPC was in-tree for all tests for the same reason.
ldd on cc1 never showed mpfr, and only showed libgmp.so.3 when it was out of
tree. strings on cc1 also confirmed that the right one was used (the system
versions of gmp and mpfr are different from the one I tested in-tree).
The versions of mpfr I tested are the latest (3.0.0) and the oldest on which
configure only warns and doesn't fail (2.3.1).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used
2010-06-07 20:42 [Bug bootstrap/44455] New: GCC fails to build if MPFR 3.0.0 (Release Candidate) is used Denis dot Excoffier at airbus dot com
` (8 preceding siblings ...)
2010-07-13 14:26 ` marc dot glisse at normalesup dot org
@ 2010-07-13 14:43 ` bonzini at gnu dot org
2010-07-13 15:01 ` marc dot glisse at normalesup dot org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: bonzini at gnu dot org @ 2010-07-13 14:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from bonzini at gnu dot org 2010-07-13 14:43 -------
Great! Do you have commit rights? Patch is ok for all 4.5 and 4.6.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used
2010-06-07 20:42 [Bug bootstrap/44455] New: GCC fails to build if MPFR 3.0.0 (Release Candidate) is used Denis dot Excoffier at airbus dot com
` (9 preceding siblings ...)
2010-07-13 14:43 ` bonzini at gnu dot org
@ 2010-07-13 15:01 ` marc dot glisse at normalesup dot org
2010-07-13 15:31 ` bonzini at gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: marc dot glisse at normalesup dot org @ 2010-07-13 15:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from marc dot glisse at normalesup dot org 2010-07-13 15:01 -------
Sorry, no commit rights. I wrote the patch because it was a one-liner, but I
still don't even have a copyright assignment on file.
Can you handle the rest?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used
2010-06-07 20:42 [Bug bootstrap/44455] New: GCC fails to build if MPFR 3.0.0 (Release Candidate) is used Denis dot Excoffier at airbus dot com
` (10 preceding siblings ...)
2010-07-13 15:01 ` marc dot glisse at normalesup dot org
@ 2010-07-13 15:31 ` bonzini at gnu dot org
2010-07-23 19:35 ` rguenth at gcc dot gnu dot org
2010-07-23 19:35 ` rguenth at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: bonzini at gnu dot org @ 2010-07-13 15:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from bonzini at gnu dot org 2010-07-13 15:31 -------
Subject: Re: GCC fails to build if MPFR 3.0.0 (Release
Candidate) is used
On 07/13/2010 05:01 PM, marc dot glisse at normalesup dot org wrote:
> ------- Comment #11 from marc dot glisse at normalesup dot org 2010-07-13 15:01 -------
> Sorry, no commit rights. I wrote the patch because it was a one-liner, but I
> still don't even have a copyright assignment on file.
>
> Can you handle the rest?
Yep, but I'm on holiday so no hurry. :)
Paolo
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used
2010-06-07 20:42 [Bug bootstrap/44455] New: GCC fails to build if MPFR 3.0.0 (Release Candidate) is used Denis dot Excoffier at airbus dot com
` (11 preceding siblings ...)
2010-07-13 15:31 ` bonzini at gnu dot org
@ 2010-07-23 19:35 ` rguenth at gcc dot gnu dot org
2010-07-23 19:35 ` rguenth at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-23 19:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from rguenth at gcc dot gnu dot org 2010-07-23 19:35 -------
Committed to trunk.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used
2010-06-07 20:42 [Bug bootstrap/44455] New: GCC fails to build if MPFR 3.0.0 (Release Candidate) is used Denis dot Excoffier at airbus dot com
` (12 preceding siblings ...)
2010-07-23 19:35 ` rguenth at gcc dot gnu dot org
@ 2010-07-23 19:35 ` rguenth at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-23 19:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from rguenth at gcc dot gnu dot org 2010-07-23 19:35 -------
Subject: Bug 44455
Author: rguenth
Date: Fri Jul 23 19:35:24 2010
New Revision: 162482
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162482
Log:
2010-07-23 Marc Glisse <marc.glisse@normalesup.org>
PR bootstrap/44455
* configure.ac (extra_mpfr_configure_flags): Copy from
extra_mpc_gmp_configure_flags.
* configure: Re-generated.
Modified:
trunk/ChangeLog
trunk/configure
trunk/configure.ac
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
^ permalink raw reply [flat|nested] 15+ messages in thread