public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/39739] Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors
  2009-04-11 15:37 [Bug bootstrap/39739] New: Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors ghazi at gcc dot gnu dot org
@ 2009-04-11 15:37 ` ghazi at gcc dot gnu dot org
  2009-04-11 15:39 ` ghazi at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2009-04-11 15:37 UTC (permalink / raw)
  To: gcc-bugs



-- 

ghazi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ghazi at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-04-11 15:37:37
               date|                            |


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


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

* [Bug bootstrap/39739]  New: Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors
@ 2009-04-11 15:37 ghazi at gcc dot gnu dot org
  2009-04-11 15:37 ` [Bug bootstrap/39739] " ghazi at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2009-04-11 15:37 UTC (permalink / raw)
  To: gcc-bugs

Bootstrapping with an in-tree copy of mpfr (version 2.4.1) and using an
installed gmp in a directory specified by --with-gmp=foo yields an error when
the bootstrap process gets to configuring the mpfr dir:

 > configure: error: Do not use --with-gmp-build and other --with-gmp options
simultaneously.
 > See `config.log' for more details.
 > make[1]: *** [configure-mpfr] Error 1

Older versions of mpfr built in-tree are more forgiving and mask the issue but
the bug is merely latent in those cases.

The problem is that the top-level configure process assumes that if one is
building mpfr in-tree then gmp is also being built in-tree and therefore the
second --with-gmp* flag is specified pointing to the a gmp build dir which does
not exist in this scenario.

More details are found here:
http://gcc.gnu.org/ml/gcc/2009-04/msg00342.html
http://gcc.gnu.org/ml/gcc/2009-04/msg00364.html

The solution is to only pass --with-gmp-build= when one is actually building
gmp in-tree regardless of what's going on with mpfr.


-- 
           Summary: Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=...
                    errors
           Product: gcc
           Version: 4.3.4
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ghazi at gcc dot gnu dot org


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


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

* [Bug bootstrap/39739] Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors
  2009-04-11 15:37 [Bug bootstrap/39739] New: Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors ghazi at gcc dot gnu dot org
  2009-04-11 15:37 ` [Bug bootstrap/39739] " ghazi at gcc dot gnu dot org
@ 2009-04-11 15:39 ` ghazi at gcc dot gnu dot org
  2009-04-25  3:24 ` ghazi at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2009-04-11 15:39 UTC (permalink / raw)
  To: gcc-bugs



-- 

ghazi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.4
            Version|4.3.4                       |4.3.3


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


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

* [Bug bootstrap/39739] Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors
  2009-04-11 15:37 [Bug bootstrap/39739] New: Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors ghazi at gcc dot gnu dot org
  2009-04-11 15:37 ` [Bug bootstrap/39739] " ghazi at gcc dot gnu dot org
  2009-04-11 15:39 ` ghazi at gcc dot gnu dot org
@ 2009-04-25  3:24 ` ghazi at gcc dot gnu dot org
  2009-04-25  4:10 ` ghazi at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2009-04-25  3:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ghazi at gcc dot gnu dot org  2009-04-25 03:24 -------
Subject: Bug 39739

Author: ghazi
Date: Sat Apr 25 03:24:17 2009
New Revision: 146754

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146754
Log:
        PR bootstrap/39739
        * configure.ac (extra_mpfr_configure_flags): Set and AC_SUBST.
        * Makefile.def (module=mpfr): Use extra_mpfr_configure_flags.

        * configure, Makefile.in: Regenerate.


Modified:
    trunk/ChangeLog
    trunk/Makefile.def
    trunk/Makefile.in
    trunk/configure
    trunk/configure.ac


-- 


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


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

* [Bug bootstrap/39739] Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors
  2009-04-11 15:37 [Bug bootstrap/39739] New: Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors ghazi at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-04-25  3:24 ` ghazi at gcc dot gnu dot org
@ 2009-04-25  4:10 ` ghazi at gcc dot gnu dot org
  2009-04-25  5:55 ` ghazi at gcc dot gnu dot org
  2009-04-30  3:23 ` ghazi at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2009-04-25  4:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ghazi at gcc dot gnu dot org  2009-04-25 04:10 -------
Subject: Bug 39739

Author: ghazi
Date: Sat Apr 25 04:10:29 2009
New Revision: 146755

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146755
Log:
        PR bootstrap/39739
        * configure.ac (extra_mpfr_configure_flags): Set and AC_SUBST.
        * Makefile.def (module=mpfr): Use extra_mpfr_configure_flags.

        * configure, Makefile.in: Regenerate.


Modified:
    branches/gcc-4_4-branch/ChangeLog
    branches/gcc-4_4-branch/Makefile.def
    branches/gcc-4_4-branch/Makefile.in
    branches/gcc-4_4-branch/configure
    branches/gcc-4_4-branch/configure.ac


-- 


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


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

* [Bug bootstrap/39739] Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors
  2009-04-11 15:37 [Bug bootstrap/39739] New: Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors ghazi at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-04-25  4:10 ` ghazi at gcc dot gnu dot org
@ 2009-04-25  5:55 ` ghazi at gcc dot gnu dot org
  2009-04-30  3:23 ` ghazi at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2009-04-25  5:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ghazi at gcc dot gnu dot org  2009-04-25 05:55 -------
Subject: Bug 39739

Author: ghazi
Date: Sat Apr 25 05:55:24 2009
New Revision: 146758

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146758
Log:
        PR bootstrap/39739
        * configure.ac (extra_mpfr_configure_flags): Set and AC_SUBST.
        * Makefile.def (module=mpfr): Use extra_mpfr_configure_flags.

        * configure, Makefile.in: Regenerate.


Modified:
    branches/gcc-4_3-branch/ChangeLog
    branches/gcc-4_3-branch/Makefile.def
    branches/gcc-4_3-branch/Makefile.in
    branches/gcc-4_3-branch/configure
    branches/gcc-4_3-branch/configure.ac


-- 


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


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

* [Bug bootstrap/39739] Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors
  2009-04-11 15:37 [Bug bootstrap/39739] New: Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors ghazi at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2009-04-25  5:55 ` ghazi at gcc dot gnu dot org
@ 2009-04-30  3:23 ` ghazi at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2009-04-30  3:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ghazi at gcc dot gnu dot org  2009-04-30 03:22 -------
Fixed.


-- 

ghazi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to fail|4.3.3 4.4.0 4.5.0           |4.3.3 4.4.0
      Known to work|                            |4.3.4 4.4.1 4.5.0
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2009-04-30  3:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-11 15:37 [Bug bootstrap/39739] New: Bootstrapping with in-tree mpfr-2.4.1 and --with-gmp=... errors ghazi at gcc dot gnu dot org
2009-04-11 15:37 ` [Bug bootstrap/39739] " ghazi at gcc dot gnu dot org
2009-04-11 15:39 ` ghazi at gcc dot gnu dot org
2009-04-25  3:24 ` ghazi at gcc dot gnu dot org
2009-04-25  4:10 ` ghazi at gcc dot gnu dot org
2009-04-25  5:55 ` ghazi at gcc dot gnu dot org
2009-04-30  3:23 ` ghazi at gcc dot gnu dot 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).