From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id 060B03858D35 for ; Mon, 30 Aug 2021 10:59:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 060B03858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: 5SRnGhq7G8cEHkW3CNV4DTNTEgtxHQYpP31nXnQy7YjSTBsNclTJQDmp84TkTMS9sGHX6VjBhX BxWrElbGjG3TkCay9GWPheBJlwNG+9JJoMLGtLpbUkB+aCwSqP2aowfZkcILXq6EvKNe48DRv8 B0VwbKW67mhklWijRf4pu6WtOA13ILAUJWSKSI7/xUBpB8NSgTXlaHZojg9+frZP3tP9vIqlLQ ZRXyIjVQmWigr3nbIOOIZFkMB2T/nkeZGVnTDsmwAFHEzDGSenT0YNXCUwyOUhXgMga2VqEmsc cA6Ocs2LOaByMcxdU8d41MRe X-IronPort-AV: E=Sophos;i="5.84,363,1620720000"; d="scan'208,223";a="65250716" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 30 Aug 2021 02:59:10 -0800 IronPort-SDR: PnnWrcWFHjjY0Hq1Os4Gl94GxJ7VYPUSCFxgs5frFSmksIxfn8tZ0/1bw4r69zxevuzfsY+2K6 tC0PQZZjyJ50oRhdWAG/VLutdkBU3qxUNkhVxYgfVaMapASBlQvMFnHFd8ZJ1TZdk7wfwReqtg kh6//Wv2+FWCqcN6ydXizJlC81NBZEaLakVLN3Tce2CBIdB8oBUc6p4wczZSRc6ehX/+JJrH/f VeaHV1uzCSkZkV41LLTO+5EmDetoWfKMHT350+XP5qHj0WVVfmdQ5N8FisCPtWsqCbxmTCfg5T zns= From: Thomas Schwinge To: Richard Sandiford , David Edelsohn , CC: Ramana Radhakrishnan , "Joseph S. Myers" , Jeff Law Subject: Re: [RFA] Some libgcc headers are missing the runtime exception In-Reply-To: References: User-Agent: Notmuch/0.29.3+94~g74c3f1b (https://notmuchmail.org) Emacs/27.1 (x86_64-pc-linux-gnu) Date: Mon, 30 Aug 2021 12:58:59 +0200 Message-ID: <87k0k3yz9o.fsf@euler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-05.mgc.mentorg.com (139.181.222.5) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_ASCII_DIVIDERS, KAM_DMARC_STATUS, KAM_SHORT, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2021 10:59:21 -0000 --=-=-= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi! Ping. For easy reference I've again attached Richard Sandiford's "libgcc: Add missing runtime exception notices". On 2021-07-12T17:34:09+0100, Richard Sandiford via Gcc-patches wrote: > David Edelsohn writes: >> On Mon, Jul 12, 2021 at 11:58 AM Richard Sandiford >> wrote: >>> David Edelsohn writes: >>> > On Fri, Jul 9, 2021 at 1:31 PM Richard Sandiford >>> > wrote: >>> >> David Edelsohn writes: >>> >> > On Fri, Jul 9, 2021 at 12:53 PM Richard Sandiford via Gcc >>> >> > wrote: >>> >> >> It was pointed out to me off-list that config/aarch64/value-unwin= d.h >>> >> >> is missing the runtime exception. It looks like a few other file= s >>> >> >> are too; a fuller list is: >>> >> >> >>> >> >> libgcc/config/aarch64/value-unwind.h >>> >> >> libgcc/config/frv/frv-abi.h >>> >> >> libgcc/config/i386/value-unwind.h >>> >> >> libgcc/config/pa/pa64-hpux-lib.h >>> >> >> >>> >> >> Certainly for the aarch64 file this was simply a mistake; >>> >> >> it seems to have been copied from the i386 version, both of which >>> >> >> reference the runtime exception but don't actually include it. >>> >> >> >>> >> >> What's the procedure for fixing this? Can we treat it as a textu= al >>> >> >> error or do the files need to be formally relicensed? >>> >> > >>> >> > I'm unsure what you mean by "formally relicensed". >>> >> >>> >> It seemed like there were two possibilities: the licence of the file= s >>> >> is actually GPL + exception despite what the text says (the textual >>> >> error case), or the licence of the files is plain GPL because the te= xt >>> >> has said so since the introduction of the files. In the latter case >>> >> I'd have imagined that someone would need to relicense the code so >>> >> that it is GPL + exception. >>> >> >>> >> > It generally is considered a textual omission. The runtime librar= y >>> >> > components of GCC are intended to be licensed under the runtime >>> >> > exception, which was granted and approved at the time of introduct= ion. >>> >> >>> >> OK, thanks. So would a patch to fix at least the i386 and aarch64 h= eader >>> >> files be acceptable? (I'm happy to fix the other two as well if tha= t's >>> >> definitely the right thing to do. It's just that there's more histo= ry >>> >> involved there=E2=80=A6) >>> > >>> > Please correct the text in the files. The files in libgcc used in the >>> > GCC runtime are intended to be licensed with the runtime exception an= d >>> > GCC previously was granted approval for that licensing and purpose. >>> > >>> > As you are asking the question, I sincerely doubt that ARM and Cavium >>> > intended to apply a license without the exception to those files. An= d >>> > similarly for Intel and FRV. >>> >>> FTR, I think only Linaro (rather than Arm) touched the aarch64 file. >>> >>> > The runtime exception explicitly was intended for this purpose and >>> > usage at the time that GCC received approval to apply the exception. >>> >>> Ack. Is the patch below OK for trunk and branches? >> >> I'm not certain whom you are asking for approval, > > I was assuming it would need a global reviewer. > >> but it looks good to me. > > Thanks. So in addition to David, would a Global Reviewer please review this? Gr=C3=BC=C3=9Fe Thomas ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstra=C3=9Fe 201= , 80634 M=C3=BCnchen; Gesellschaft mit beschr=C3=A4nkter Haftung; Gesch=C3= =A4ftsf=C3=BChrer: Thomas Heurung, Frank Th=C3=BCrauf; Sitz der Gesellschaf= t: M=C3=BCnchen; Registergericht M=C3=BCnchen, HRB 106955 --=-=-= Content-Type: text/x-diff; charset="utf-8" Content-Disposition: inline; filename="0001-libgcc-Add-missing-runtime-exception-notices.patch" Content-Transfer-Encoding: quoted-printable >From a601ac8ea9be14a898215456c22cd826e8fd92d9 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 12 Jul 2021 13:04:56 +0100 Subject: [PATCH] libgcc: Add missing runtime exception notices MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit Quoting from https://gcc.gnu.org/pipermail/gcc/2021-July/236716.html: -------------------------------------------------------------------- It was pointed out to me off-list that config/aarch64/value-unwind.h is missing the runtime exception. It looks like a few other files are too; a fuller list is: libgcc/config/aarch64/value-unwind.h libgcc/config/frv/frv-abi.h libgcc/config/i386/value-unwind.h libgcc/config/pa/pa64-hpux-lib.h Certainly for the aarch64 file this was simply a mistake; it seems to have been copied from the i386 version, both of which reference the runtime exception but don't actually include it. -------------------------------------------------------------------- Similarly, frv-abi.h referenced the exception but didn't include it. pa64-hpux-lib.h was missing any reference to the exception. The decision was that this was simply a mistake [https://gcc.gnu.org/pipermail/gcc/2021-July/236717.html]: -------------------------------------------------------------------- [=E2=80=A6] It generally is considered a textual omission. The runtime library components of GCC are intended to be licensed under the runtime exception, which was granted and approved at the time of introduction. -------------------------------------------------------------------- and that we should simply change all of the files above [https://gcc.gnu.org/pipermail/gcc/2021-July/236719.html]: -------------------------------------------------------------------- Please correct the text in the files. The files in libgcc used in the GCC runtime are intended to be licensed with the runtime exception and GCC previously was granted approval for that licensing and purpose. [=E2=80=A6] The runtime exception explicitly was intended for this purpose and usage at the time that GCC received approval to apply the exception. -------------------------------------------------------------------- libgcc/ * config/aarch64/value-unwind.h: Add missing runtime exception paragraph. * config/frv/frv-abi.h: Likewise. * config/i386/value-unwind.h: Likewise. * config/pa/pa64-hpux-lib.h: Likewise. --- libgcc/config/aarch64/value-unwind.h | 4 ++++ libgcc/config/frv/frv-abi.h | 4 ++++ libgcc/config/i386/value-unwind.h | 4 ++++ libgcc/config/pa/pa64-hpux-lib.h | 9 +++++++-- 4 files changed, 19 insertions(+), 2 deletions(-) diff --git a/libgcc/config/aarch64/value-unwind.h b/libgcc/config/aarch64/v= alue-unwind.h index 1f50a47203c..041ca13e9b0 100644 --- a/libgcc/config/aarch64/value-unwind.h +++ b/libgcc/config/aarch64/value-unwind.h @@ -13,6 +13,10 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. =20 + Under Section 7 of GPL version 3, you are granted additional + permissions described in the GCC Runtime Library Exception, version + 3.1, as published by the Free Software Foundation. + You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see diff --git a/libgcc/config/frv/frv-abi.h b/libgcc/config/frv/frv-abi.h index 9af4ea4441d..0f7ed83df72 100644 --- a/libgcc/config/frv/frv-abi.h +++ b/libgcc/config/frv/frv-abi.h @@ -14,6 +14,10 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. =20 + Under Section 7 of GPL version 3, you are granted additional + permissions described in the GCC Runtime Library Exception, version + 3.1, as published by the Free Software Foundation. + You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see diff --git a/libgcc/config/i386/value-unwind.h b/libgcc/config/i386/value-u= nwind.h index 66f76bbe1f3..80267eee79d 100644 --- a/libgcc/config/i386/value-unwind.h +++ b/libgcc/config/i386/value-unwind.h @@ -13,6 +13,10 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. =20 + Under Section 7 of GPL version 3, you are granted additional + permissions described in the GCC Runtime Library Exception, version + 3.1, as published by the Free Software Foundation. + You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see diff --git a/libgcc/config/pa/pa64-hpux-lib.h b/libgcc/config/pa/pa64-hpux-= lib.h index 85d5826a173..eeab98f1340 100644 --- a/libgcc/config/pa/pa64-hpux-lib.h +++ b/libgcc/config/pa/pa64-hpux-lib.h @@ -14,8 +14,13 @@ but WITHOUT ANY WARRANTY; without even the implied warra= nty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. =20 -You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING3. If not see +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see . */ =20 /* We use DTOR_LIST_BEGIN to carry a bunch of hacks to allow us to use --=20 2.17.1 --=-=-=--