public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously
@ 2011-09-20  9:01 gcc@Denis-Excoffier.org
  2011-09-22  6:42 ` [Bug bootstrap/50461] " gcc@Denis-Excoffier.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: gcc@Denis-Excoffier.org @ 2011-09-20  9:01 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50461
           Summary: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/.
                    as previously
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gcc@Denis-Excoffier.org


Hi,

I bootstrap gcc-4.6.1 by installing the gmp/, mpfr/ and mpc/ folders directly
in the GCC source tree as suggested in the installation notes.

Yesterday, they created a new mpfr-3.1.0-rc1 as a replacement for mpfc-3.0.1 we
used to have before. Now, with this new mpfr, the bootstrap fails at the step:
"Configuring mpc at stage 1".

Solution:
Compared to mpfr-3.0.1, the new mpfr-3.1.0-rc1 has an additional src folder.
Therefore, the ./configure of GCC has to be modified, eg by replacing (sed
syntax):

s|$$s/mpfr|&/src|g         (1 occurrence)
and
s|$$r/$(HOST_SUBDIR)/mpfr|&/src|g      (2 occurrences)

With this modification, everything works fine. I don't think that the MPFR
people will remove the src folder in the next future. I suppose this is for all
platforms, in any case at least Linux Ubuntu and Darwin Leopard.

Regards,

Denis Excoffier.


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

* [Bug bootstrap/50461] mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously
  2011-09-20  9:01 [Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously gcc@Denis-Excoffier.org
@ 2011-09-22  6:42 ` gcc@Denis-Excoffier.org
  2011-10-04  7:07 ` gcc@Denis-Excoffier.org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: gcc@Denis-Excoffier.org @ 2011-09-22  6:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Denis Excoffier <gcc@Denis-Excoffier.org> 2011-09-22 05:22:47 UTC ---
Also with mpfr-3.1.0-rc2.


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

* [Bug bootstrap/50461] mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously
  2011-09-20  9:01 [Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously gcc@Denis-Excoffier.org
  2011-09-22  6:42 ` [Bug bootstrap/50461] " gcc@Denis-Excoffier.org
@ 2011-10-04  7:07 ` gcc@Denis-Excoffier.org
  2011-10-04  9:01 ` redi at gcc dot gnu.org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: gcc@Denis-Excoffier.org @ 2011-10-04  7:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Denis Excoffier <gcc@Denis-Excoffier.org> 2011-10-04 07:07:20 UTC ---
Also with mpfr-3.1.0 and also on Cygwin.


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

* [Bug bootstrap/50461] mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously
  2011-09-20  9:01 [Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously gcc@Denis-Excoffier.org
  2011-09-22  6:42 ` [Bug bootstrap/50461] " gcc@Denis-Excoffier.org
  2011-10-04  7:07 ` gcc@Denis-Excoffier.org
@ 2011-10-04  9:01 ` redi at gcc dot gnu.org
  2012-01-21 18:21 ` psmith at gnu dot org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: redi at gcc dot gnu.org @ 2011-10-04  9:01 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-10-04
     Ever Confirmed|0                           |1

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-04 09:00:45 UTC ---
confirmed with the most recent 4.6 and 4.7 snapshots

checking for MPFR... yes
checking for recent GMP... yes
checking for recent MPFR... no
configure: error: MPFR version >= 2.3.1 required
make[2]: *** [configure-stage1-mpc] Error 1


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

* [Bug bootstrap/50461] mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously
  2011-09-20  9:01 [Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously gcc@Denis-Excoffier.org
                   ` (2 preceding siblings ...)
  2011-10-04  9:01 ` redi at gcc dot gnu.org
@ 2012-01-21 18:21 ` psmith at gnu dot org
  2012-01-21 18:29 ` pinskia at gcc dot gnu.org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: psmith at gnu dot org @ 2012-01-21 18:21 UTC (permalink / raw)
  To: gcc-bugs

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

psmith at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |psmith at gnu dot org

--- Comment #4 from psmith at gnu dot org 2012-01-21 18:14:00 UTC ---
Oops I filed a duplicate bug #51935

That bug includes a patch to fix the problem.


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

* [Bug bootstrap/50461] mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously
  2011-09-20  9:01 [Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously gcc@Denis-Excoffier.org
                   ` (3 preceding siblings ...)
  2012-01-21 18:21 ` psmith at gnu dot org
@ 2012-01-21 18:29 ` pinskia at gcc dot gnu.org
  2012-05-09 16:23 ` nickc at gcc dot gnu.org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-21 18:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-21 18:23:20 UTC ---
*** Bug 51935 has been marked as a duplicate of this bug. ***


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

* [Bug bootstrap/50461] mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously
  2011-09-20  9:01 [Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously gcc@Denis-Excoffier.org
                   ` (4 preceding siblings ...)
  2012-01-21 18:29 ` pinskia at gcc dot gnu.org
@ 2012-05-09 16:23 ` nickc at gcc dot gnu.org
  2012-07-25 19:41 ` nightstrike at gmail dot com
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: nickc at gcc dot gnu.org @ 2012-05-09 16:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Nick Clifton <nickc at gcc dot gnu.org> 2012-05-09 16:20:33 UTC ---
Author: nickc
Date: Wed May  9 16:20:17 2012
New Revision: 187341

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187341
Log:
    PR bootstrap/50461
    * configure.ac (mpfr-dir): When using in-tree MPFR sources
    allow for the fact that from release v3.1.0 of MPFR the source
    files were moved into a src sub-directory.
    * configure: Regenerate.

Modified:
    trunk/ChangeLog
    trunk/configure
    trunk/configure.ac


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

* [Bug bootstrap/50461] mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously
  2011-09-20  9:01 [Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously gcc@Denis-Excoffier.org
                   ` (5 preceding siblings ...)
  2012-05-09 16:23 ` nickc at gcc dot gnu.org
@ 2012-07-25 19:41 ` nightstrike at gmail dot com
  2012-08-23 15:26 ` redi at gcc dot gnu.org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: nightstrike at gmail dot com @ 2012-07-25 19:41 UTC (permalink / raw)
  To: gcc-bugs

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

nightstrike <nightstrike at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nightstrike at gmail dot
                   |                            |com

--- Comment #7 from nightstrike <nightstrike at gmail dot com> 2012-07-25 19:40:46 UTC ---
This is fixed on trunk and 4.7.1


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

* [Bug bootstrap/50461] mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously
  2011-09-20  9:01 [Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously gcc@Denis-Excoffier.org
                   ` (6 preceding siblings ...)
  2012-07-25 19:41 ` nightstrike at gmail dot com
@ 2012-08-23 15:26 ` redi at gcc dot gnu.org
  2012-08-23 15:44 ` redi at gcc dot gnu.org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: redi at gcc dot gnu.org @ 2012-08-23 15:26 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-08-23 15:26:07 UTC ---
(In reply to comment #7)
> This is fixed on trunk and 4.7.1

Where's the patch that fixed it on the 4.7 branch?


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

* [Bug bootstrap/50461] mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously
  2011-09-20  9:01 [Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously gcc@Denis-Excoffier.org
                   ` (7 preceding siblings ...)
  2012-08-23 15:26 ` redi at gcc dot gnu.org
@ 2012-08-23 15:44 ` redi at gcc dot gnu.org
  2012-09-21 17:17 ` karl at freefriends dot org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: redi at gcc dot gnu.org @ 2012-08-23 15:44 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.8.0
      Known to fail|                            |4.7.1

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-08-23 15:43:48 UTC ---
For the record this is not fixed for 4.7.1, and from looking at the sources
doesn't appear to be fixed in the 4.7 branch at all.

http://gcc.gnu.org/viewcvs/trunk/configure?r1=187341&r2=187340&pathrev=187341
applies cleanly to the 4.7.1 release and fixes the problem.


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

* [Bug bootstrap/50461] mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously
  2011-09-20  9:01 [Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously gcc@Denis-Excoffier.org
                   ` (8 preceding siblings ...)
  2012-08-23 15:44 ` redi at gcc dot gnu.org
@ 2012-09-21 17:17 ` karl at freefriends dot org
  2012-10-07 21:28 ` eyurtese at abo dot fi
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: karl at freefriends dot org @ 2012-09-21 17:17 UTC (permalink / raw)
  To: gcc-bugs


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

karl at freefriends dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |karl at freefriends dot org

--- Comment #10 from karl at freefriends dot org 2012-09-21 17:17:27 UTC ---
Also for the record, it remains unfixed in 4.7.2, and the same patch still
fixes it ... (mpc 1.0.1, mpfr 3.1.1, gmp 5.0.5).


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

* [Bug bootstrap/50461] mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously
  2011-09-20  9:01 [Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously gcc@Denis-Excoffier.org
                   ` (9 preceding siblings ...)
  2012-09-21 17:17 ` karl at freefriends dot org
@ 2012-10-07 21:28 ` eyurtese at abo dot fi
  2012-10-08  9:51 ` redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: eyurtese at abo dot fi @ 2012-10-07 21:28 UTC (permalink / raw)
  To: gcc-bugs


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

Evren yurtesen <eyurtese at abo dot fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eyurtese at abo dot fi

--- Comment #11 from Evren yurtesen <eyurtese at abo dot fi> 2012-10-07 21:27:44 UTC ---
I seem to be having this problem in GCC 4.5.4 , 4.6.3 and 4.7.2 :(
There is already MPFR 3.1.1 version out, why GCC is not using it by default?


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

* [Bug bootstrap/50461] mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously
  2011-09-20  9:01 [Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously gcc@Denis-Excoffier.org
                   ` (10 preceding siblings ...)
  2012-10-07 21:28 ` eyurtese at abo dot fi
@ 2012-10-08  9:51 ` redi at gcc dot gnu.org
  2012-10-08 12:17 ` eyurtese at abo dot fi
  2012-10-08 12:22 ` redi at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: redi at gcc dot gnu.org @ 2012-10-08  9:51 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-10-08 09:50:52 UTC ---
(In reply to comment #11)
> I seem to be having this problem in GCC 4.5.4 , 4.6.3 and 4.7.2 :(

Ys, as already stated in the comments above, this is only fixed on the trunk.

> There is already MPFR 3.1.1 version out, why GCC is not using it by default?

GCC doesn't use any version of MPFR by default, it uses whichever version you
supply.  There is no advantage to GCC from using 3.1.x, so if it's a problem
then just use an older version.


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

* [Bug bootstrap/50461] mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously
  2011-09-20  9:01 [Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously gcc@Denis-Excoffier.org
                   ` (11 preceding siblings ...)
  2012-10-08  9:51 ` redi at gcc dot gnu.org
@ 2012-10-08 12:17 ` eyurtese at abo dot fi
  2012-10-08 12:22 ` redi at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: eyurtese at abo dot fi @ 2012-10-08 12:17 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #13 from Evren yurtesen <eyurtese at abo dot fi> 2012-10-08 12:16:48 UTC ---
(In reply to comment #12)
> (In reply to comment #11)
> > I seem to be having this problem in GCC 4.5.4 , 4.6.3 and 4.7.2 :(
> 
> Ys, as already stated in the comments above, this is only fixed on the trunk.

Considering that the fix is rather simple, why isnt it applied to 4.7.x and
other supported versions?

> > There is already MPFR 3.1.1 version out, why GCC is not using it by default?
> 
> GCC doesn't use any version of MPFR by default, it uses whichever version you
> supply.  There is no advantage to GCC from using 3.1.x, so if it's a problem
> then just use an older version.

Perhaps I should have been clearer. The instructions at :
http://gcc.gnu.org/wiki/InstallingGCC 
mention using ./contrib/download_prerequisites which downloads old versions
from:
ftp://gcc.gnu.org/pub/gcc/infrastructure/ 
such as MPFR 2.4.2 etc.

What I meant was, why this "download_prerequisites" script, which is provided
by GCC is not updated to use the latest MPFR etc.?


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

* [Bug bootstrap/50461] mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously
  2011-09-20  9:01 [Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously gcc@Denis-Excoffier.org
                   ` (12 preceding siblings ...)
  2012-10-08 12:17 ` eyurtese at abo dot fi
@ 2012-10-08 12:22 ` redi at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: redi at gcc dot gnu.org @ 2012-10-08 12:22 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-10-08 12:21:53 UTC ---
Because 2.4.2 has received the most testing and is known to work and to be
sufficient for GCC's needs.


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

end of thread, other threads:[~2012-10-08 12:22 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-20  9:01 [Bug bootstrap/50461] New: mpfr.h found in mpfr-3.1.0/src instead of mpfr-3.0.1/. as previously gcc@Denis-Excoffier.org
2011-09-22  6:42 ` [Bug bootstrap/50461] " gcc@Denis-Excoffier.org
2011-10-04  7:07 ` gcc@Denis-Excoffier.org
2011-10-04  9:01 ` redi at gcc dot gnu.org
2012-01-21 18:21 ` psmith at gnu dot org
2012-01-21 18:29 ` pinskia at gcc dot gnu.org
2012-05-09 16:23 ` nickc at gcc dot gnu.org
2012-07-25 19:41 ` nightstrike at gmail dot com
2012-08-23 15:26 ` redi at gcc dot gnu.org
2012-08-23 15:44 ` redi at gcc dot gnu.org
2012-09-21 17:17 ` karl at freefriends dot org
2012-10-07 21:28 ` eyurtese at abo dot fi
2012-10-08  9:51 ` redi at gcc dot gnu.org
2012-10-08 12:17 ` eyurtese at abo dot fi
2012-10-08 12:22 ` redi 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).