public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Support Library Requirements for GCC 10
@ 2020-01-05 20:28 Bruno Haible
  2020-01-07 12:38 ` Richard Biener
  0 siblings, 1 reply; 3+ messages in thread
From: Bruno Haible @ 2020-01-05 20:28 UTC (permalink / raw)
  To: gcc

Hi,

The minimum support library version of MPC for building GCC 10 is not
correct.

After downloading gcc-10-20191229.tar.xz and
  $ cd gcc-10-20191229/gcc/doc
  $ ./install.texi2html
  $ xdg-open HTML/prerequisites.html
I installed
  - gmp 4.3.2 - works,
  - mpfr 3.1.0 - works,
  - mpc 0.8.1 - fails!

The failure has been reported already in [1]. The fix is to use

  - mpc 1.0.3 - works.

This wastes some time for everyone who attempts to install GCC 10 from
scratch.

In [2] it was suggested to look in the contrib/download_prerequisites script.
This script indeed contains

  mpc='mpc-1.0.3.tar.gz'

Additionally, the mpc-0.8.1 release is so old that it is not (or no longer)
on ftp.gnu.org [3].

Therefore I would suggest
  1) to change the documentation (HTML/prerequisites.html) in the GCC 10
     snapshots to mention mpc-1.0.3 instead of mpc-0.8.1,
  2) likewise, change https://gcc.gnu.org/install/prerequisites.html
     to mention mpc-1.0.3 instead of mpc-0.8.1.
     
Bruno

[1] https://gcc.gnu.org/ml/gcc/2017-05/msg00022.html
[2] https://gcc.gnu.org/ml/gcc/2017-05/msg00024.html
[3] https://ftp.gnu.org/gnu/mpc/

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

* Re: Support Library Requirements for GCC 10
  2020-01-05 20:28 Support Library Requirements for GCC 10 Bruno Haible
@ 2020-01-07 12:38 ` Richard Biener
  2020-01-07 12:40   ` Richard Biener
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Biener @ 2020-01-07 12:38 UTC (permalink / raw)
  To: Bruno Haible; +Cc: GCC Development

[-- Attachment #1: Type: text/plain, Size: 1390 bytes --]

On Sun, Jan 5, 2020 at 9:28 PM Bruno Haible <bruno@clisp.org> wrote:
>
> Hi,
>
> The minimum support library version of MPC for building GCC 10 is not
> correct.
>
> After downloading gcc-10-20191229.tar.xz and
>   $ cd gcc-10-20191229/gcc/doc
>   $ ./install.texi2html
>   $ xdg-open HTML/prerequisites.html
> I installed
>   - gmp 4.3.2 - works,
>   - mpfr 3.1.0 - works,
>   - mpc 0.8.1 - fails!
>
> The failure has been reported already in [1]. The fix is to use
>
>   - mpc 1.0.3 - works.

Indeed.  I checked 0.8.2 and it doesn't work, I checked 1.0.1 and that does
so I adjusted it to 1.0.1 or later.

Richard.

> This wastes some time for everyone who attempts to install GCC 10 from
> scratch.
>
> In [2] it was suggested to look in the contrib/download_prerequisites script.
> This script indeed contains
>
>   mpc='mpc-1.0.3.tar.gz'
>
> Additionally, the mpc-0.8.1 release is so old that it is not (or no longer)
> on ftp.gnu.org [3].
>
> Therefore I would suggest
>   1) to change the documentation (HTML/prerequisites.html) in the GCC 10
>      snapshots to mention mpc-1.0.3 instead of mpc-0.8.1,
>   2) likewise, change https://gcc.gnu.org/install/prerequisites.html
>      to mention mpc-1.0.3 instead of mpc-0.8.1.
>
> Bruno
>
> [1] https://gcc.gnu.org/ml/gcc/2017-05/msg00022.html
> [2] https://gcc.gnu.org/ml/gcc/2017-05/msg00024.html
> [3] https://ftp.gnu.org/gnu/mpc/
>

[-- Attachment #2: p --]
[-- Type: application/octet-stream, Size: 665 bytes --]

2020-01-07  Richard Biener  <rguenther@suse.de>

	* doc/install.texi: Bump minimal supported MPC version.

Index: gcc/doc/install.texi
===================================================================
--- gcc/doc/install.texi	(revision 279954)
+++ gcc/doc/install.texi	(working copy)
@@ -396,7 +396,7 @@ but it is not in your default library se
 The in-tree build is only supported with the MPFR version that
 download_prerequisites installs.
 
-@item MPC Library version 0.8.1 (or later)
+@item MPC Library version 1.0.1 (or later)
 
 Necessary to build GCC@.  It can be downloaded from
 @uref{http://www.multiprecision.org/mpc/}.  If an MPC source distribution

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

* Re: Support Library Requirements for GCC 10
  2020-01-07 12:38 ` Richard Biener
@ 2020-01-07 12:40   ` Richard Biener
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Biener @ 2020-01-07 12:40 UTC (permalink / raw)
  To: Bruno Haible; +Cc: GCC Development

On Tue, Jan 7, 2020 at 1:38 PM Richard Biener
<richard.guenther@gmail.com> wrote:
>
> On Sun, Jan 5, 2020 at 9:28 PM Bruno Haible <bruno@clisp.org> wrote:
> >
> > Hi,
> >
> > The minimum support library version of MPC for building GCC 10 is not
> > correct.
> >
> > After downloading gcc-10-20191229.tar.xz and
> >   $ cd gcc-10-20191229/gcc/doc
> >   $ ./install.texi2html
> >   $ xdg-open HTML/prerequisites.html
> > I installed
> >   - gmp 4.3.2 - works,
> >   - mpfr 3.1.0 - works,
> >   - mpc 0.8.1 - fails!
> >
> > The failure has been reported already in [1]. The fix is to use
> >
> >   - mpc 1.0.3 - works.
>
> Indeed.  I checked 0.8.2 and it doesn't work, I checked 1.0.1 and that does
> so I adjusted it to 1.0.1 or later.

Note that in-tree builds are only supported for exactly the versions that
./download_prerequesites download but the minimal documented versions
are those that are known to work when the library is compiled and installed
separately.

Richard.

> Richard.
>
> > This wastes some time for everyone who attempts to install GCC 10 from
> > scratch.
> >
> > In [2] it was suggested to look in the contrib/download_prerequisites script.
> > This script indeed contains
> >
> >   mpc='mpc-1.0.3.tar.gz'
> >
> > Additionally, the mpc-0.8.1 release is so old that it is not (or no longer)
> > on ftp.gnu.org [3].
> >
> > Therefore I would suggest
> >   1) to change the documentation (HTML/prerequisites.html) in the GCC 10
> >      snapshots to mention mpc-1.0.3 instead of mpc-0.8.1,
> >   2) likewise, change https://gcc.gnu.org/install/prerequisites.html
> >      to mention mpc-1.0.3 instead of mpc-0.8.1.
> >
> > Bruno
> >
> > [1] https://gcc.gnu.org/ml/gcc/2017-05/msg00022.html
> > [2] https://gcc.gnu.org/ml/gcc/2017-05/msg00024.html
> > [3] https://ftp.gnu.org/gnu/mpc/
> >

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

end of thread, other threads:[~2020-01-07 12:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-05 20:28 Support Library Requirements for GCC 10 Bruno Haible
2020-01-07 12:38 ` Richard Biener
2020-01-07 12:40   ` Richard Biener

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).