From patchwork Fri Oct 27 11:54:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 831262 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-465325-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="I19Yt3ao"; dkim-atps=neutral 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 3yNj4J4F52z9t2W for ; Fri, 27 Oct 2017 22:55:16 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=bytURfaK9IWOI1keXftqWWp7fhU+KC3zXM+Z1NaD3WndHVjW3J5Oj dvJV/4AT1TBExZx1UNXwa9EXvMD9deCnZisvfuVog5Oy6LMYpCVjTFGdlru6KK8e fkVTrV3OhxsW572hr4TUFX3EH8g1Ax7JZ2lDrJdb5ZXl5Z5VpLe0/8= 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:from :to:subject:date:message-id:mime-version:content-type; s= default; bh=eee46N1iMiY021x5RH6enP1Zs1U=; b=I19Yt3aoBKd+xlXEnJ5C LrnMnB4CkdjrEq/ef8DZOl0PbLiErtjVYyFz1miOobXcTkPqmyvacxDz7RydiSt8 XWa2BebQua84KOoMdJfOldSd6Q4UjJ2Uiqlkg08bTxFNl34jzfMHJ987oFsD0SOn QHNC6JbOB4NWQfZZHD9Ap9I= Received: (qmail 88271 invoked by alias); 27 Oct 2017 11:55:08 -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 88247 invoked by uid 89); 27 Oct 2017 11:55:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-19.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=mileage, lacks, sfw, visually X-HELO: smtp.CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE (HELO smtp.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 27 Oct 2017 11:55:04 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id EDBF3F40 for ; Fri, 27 Oct 2017 13:54:55 +0200 (CEST) Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PN6pKI6-YMmA for ; Fri, 27 Oct 2017 13:54:53 +0200 (CEST) Received: from lokon.CeBiTec.Uni-Bielefeld.DE (lokon.CeBiTec.Uni-Bielefeld.DE [129.70.161.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id B9112F3E for ; Fri, 27 Oct 2017 13:54:52 +0200 (CEST) Received: (from ro@localhost) by lokon.CeBiTec.Uni-Bielefeld.DE (8.15.2+Sun/8.15.2/Submit) id v9RBsn9H028480; Fri, 27 Oct 2017 13:54:49 +0200 (MEST) From: Rainer Orth To: gcc-patches@gcc.gnu.org Subject: [doc] Update install.texi for Solaris 12 rename Date: Fri, 27 Oct 2017 13:54:49 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes There's one Solaris 12 reference in install.texi that also needs adapting for the Solaris 12 -> 11.4 change. However, instead of simply updating it I chose to update the relevant sections for current binutils versions. Tested with make doc/gccinstall.info doc/gccinstall.pdf and visually inspecting the pdf. Will install on mainline shortly. I've no intentions of backporting to the gcc-7 and gcc-6 branches, though: unless something critical comes up, I usually keep branches as is. Rainer # HG changeset patch # Parent 944ee8a0ae454d5689607ef4f4abc535f866c766 Update install.texi for Solaris 12 rename diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -3806,12 +3806,10 @@ It is recommended that you configure GCC versions included in Solaris 10, from GNU binutils 2.15 (in @file{/usr/sfw/bin/gas}), and Solaris 11, from GNU binutils 2.19 or newer (also available as @file{/usr/bin/gas} and -@file{/usr/gnu/bin/as}), work fine. Please note that the current -version, from GNU binutils 2.26, only works on Solaris 12 when using the -Solaris linker. On Solaris 10 and 11, you either have to wait for GNU -binutils 2.26.1 or newer, or stay with GNU binutils 2.25.1. Recent -versions of the Solaris assembler in @file{/usr/ccs/bin/as} work almost -as well, though. +@file{/usr/gnu/bin/as}), work fine. The current version, from GNU +binutils 2.29, is known to work, but the version from GNU binutils 2.26 +must be avoided. Recent versions of the Solaris assembler in +@file{/usr/ccs/bin/as} work almost as well, though. @c FIXME: as patch requirements? For linking, the Solaris linker, is preferred. If you want to use the GNU @@ -3819,7 +3817,7 @@ linker instead, note that due to a packa 10, from GNU binutils 2.15 (in @file{/usr/sfw/bin/gld}), cannot be used, while the version in Solaris 11, from GNU binutils 2.19 or newer (also in @file{/usr/gnu/bin/ld} and @file{/usr/bin/gld}), works, as does the -latest version, from GNU binutils 2.26. +latest version, from GNU binutils 2.29. To use GNU @command{as}, configure with the options @option{--with-gnu-as --with-as=@//usr/@/sfw/@/bin/@/gas}. It may be necessary @@ -4456,9 +4454,8 @@ versions included in Solaris 10, from GN @file{/usr/sfw/bin/gas}), and Solaris 11, from GNU binutils 2.19 or newer (also in @file{/usr/bin/gas} and @file{/usr/gnu/bin/as}), are known to work. -Current versions of GNU binutils (2.26) -are known to work as well, with the caveat mentioned in -@uref{#ix86-x-solaris210,,i?86-*-solaris2.10} . Note that your mileage may vary +The current version, from GNU binutils 2.29, +is known to work as well. Note that your mileage may vary if you use a combination of the GNU tools and the Solaris tools: while the combination GNU @command{as} + Sun @command{ld} should reasonably work, the reverse combination Sun @command{as} + GNU @command{ld} may fail to @@ -4466,7 +4463,7 @@ build or cause memory corruption at runt @c FIXME: still? GNU @command{ld} usually works as well, although the version included in Solaris 10 cannot be used due to several bugs. Again, the current -version (2.26) is known to work, but generally lacks platform specific +version (2.29) is known to work, but generally lacks platform specific features, so better stay with Solaris @command{ld}. To use the LTO linker plugin (@option{-fuse-linker-plugin}) with GNU @command{ld}, GNU binutils @emph{must} be configured with @option{--enable-largefile}.