From patchwork Thu Apr 24 08:15:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 342161 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B21461434F1 for ; Thu, 24 Apr 2014 18:17:45 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; q=dns; s=default; b=lNXsyD/OS+h0BFDFKeXa2oujXnS4KX+LECBbbKXFihNxVmYiFw 30BhH/Iukbac9alEErFojLFcurzQYvEMWucnTwntIFAgzbHgEfKnpgQv7soEdmZR 1huv3DItOsbH0NEjwovfG9SVrpUTvyh23DdGZMWXukcea9uuqc6/Xtuwg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; s= default; bh=nLrjZ0/s542SbvS3Vykr/DVDRug=; b=fsDwraTWstctdoGTAsJ2 q40sojwXcgVVW6Szo86jRUvlizyGpWUc0uxYYtaiMa1HcDNq4x2jPWgqwfBIjCWn L70Q+8+uaO2t7OJqkfzFPckgs4QY3wOw+k43buNDffuUMk50+29hMoVo61WfOxiw lUlyFx1sc/qaVQDne3kxWIs= Received: (qmail 8263 invoked by alias); 24 Apr 2014 08:17:25 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 8064 invoked by uid 89); 24 Apr 2014 08:17:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx2.suse.de Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Thu, 24 Apr 2014 08:17:20 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 96DF6AC36; Thu, 24 Apr 2014 08:17:17 +0000 (UTC) Date: Thu, 24 Apr 2014 10:15:31 +0200 (CEST) From: Richard Biener To: gcc-patches@gcc.gnu.org cc: Jakub Jelinek Subject: [PATCH] Fix web/60933 Message-ID: User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 The GMP people complained that we "advertise" outdated versions in our install instructions. I tried to address that by not explicitely listing a "good" version but only mention the version that is the minimum requirement. I also added a reference to contrib/download_prerequesites as the recommended way to do in-tree builds (so we don't get random bugreports for that with untested combinations of gmp/mpfr/mpc versions). We probably should try to bump the versions used by that script to something more recent though (should we do that for the 4.9 branch even?). Any idea what to choose here? I'd say mpc 1.0.2 is fine, so is mpfr 3.1.2, but should we avoid the 6.0.0 version of gmp? We shouldn't change those versions too often, otherwise we end up with a lot of garbage in gcc/infrastructure (we don't want to break old versions of the script). Meanwhile is does the patch look ok? Thanks, Richard. 2014-04-24 Richard Biener PR web/60933 * doc/install.texi: Mention download_prerequesites as the recommended way to setup in-tree builds of gmp, mpfr, mpc, cloog and isl. Do not advertise outdated versions of gmp, mpfr and mpc. Index: gcc/doc/install.texi =================================================================== --- gcc/doc/install.texi (revision 209677) +++ gcc/doc/install.texi (working copy) @@ -351,32 +351,41 @@ versions may work in some cases, but it' versions documented. We appreciate bug reports about problems with newer versions, though. If your OS vendor provides packages for the support libraries then using those packages may be the simplest way to -install the libraries. +install the libraries. If you choose to build the library dependencies +together with GCC you are encouraged to use the +@command{download_prerequesites} script that comes with the GCC +source tarball in the @file{contrib} directory. +This downloads versions that were tested to build and +work ok and prepares the source tree appropriately. @table @asis -@item GNU Multiple Precision Library (GMP) version 4.3.2 (or later) +@item GNU Multiple Precision Library (GMP) -Necessary to build GCC@. If a GMP source distribution is found in a +Necessary to build GCC@. It can be downloaded from @uref{https://gmplib.org/}. +Older versions than 4.2.3 will not work. +If a GMP source distribution is found in a subdirectory of your GCC sources named @file{gmp}, it will be built together with GCC. Alternatively, if GMP is already installed but it is not in your library search path, you will have to configure with the @option{--with-gmp} configure option. See also @option{--with-gmp-lib} and @option{--with-gmp-include}. -@item MPFR Library version 2.4.2 (or later) +@item MPFR Library Necessary to build GCC@. It can be downloaded from -@uref{http://www.mpfr.org/}. If an MPFR source distribution is found +@uref{http://www.mpfr.org/}. Older versions than 2.4.0 will not work. +If an MPFR source distribution is found in a subdirectory of your GCC sources named @file{mpfr}, it will be built together with GCC. Alternatively, if MPFR is already installed but it is not in your default library search path, the @option{--with-mpfr} configure option should be used. See also @option{--with-mpfr-lib} and @option{--with-mpfr-include}. -@item MPC Library version 0.8.1 (or later) +@item MPC Library Necessary to build GCC@. It can be downloaded from -@uref{http://www.multiprecision.org/}. If an MPC source distribution +@uref{http://www.multiprecision.org/}. Older versions than +0.8.0 will not work. If an MPC source distribution is found in a subdirectory of your GCC sources named @file{mpc}, it will be built together with GCC. Alternatively, if MPC is already installed but it is not in your default library search path, the