From owner-freebsd-toolchain@freebsd.org Sat Oct 13 17:12:29 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6330E10D03B6 for ; Sat, 13 Oct 2018 17:12:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-20.consmr.mail.gq1.yahoo.com (sonic313-20.consmr.mail.gq1.yahoo.com [98.137.65.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E65B082A00 for ; Sat, 13 Oct 2018 17:12:28 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: V1.Pk.QVM1ljzfn0oAHwx6UMxa1_xnMmXHx2GeKbZLZnq5aZGhCY2NKuLtr9gmk GOTZtfDZ_MsgIJkKfRVp3Av5ALsu5CnUBpMDgIMdLFGU7QDDupmXU8kvbgPRcZOYi4tsXfldh2eH Troumi5UPWEaaYAOQ_eaqoIugJ49tv4.xTA_sWL8MFxqxIZo.YaDj826nHeUtLW_Xx_jfSrwYgaY 2hnP8QMto3LefA1w6V51E7WJ6bxIexeEJjeB89brUkY5_2qZdq4UF7rnaybD2jkK1nEDg5c.Vin. u4OOtgcLQyBWE735AhN3RNDqaT8VC9rOMy9iBhFTrJNptos.sQPsX_aoKWNFOfrdooYKf0yZnV.m yUrI_d5B20btBJf8yeBykoYXyCUbez2yhtrqNUvisiY.3cnU.iqPQJP3gJ5ZhAhUIb8JHGjWETB9 s9glmTS1vC7ryQzmE.12wJWMay56.jm59m.o92x_sdNBwCJ1Ml0jxEROQTwZCVnFvIBgJHaXo.vT ygqGQDqcYkGX7wVmyqDA95T4M0x9a3l30P9Lz9DtBvgZhNyDixQ3sBcnSNUbGpRe5OgHHRxtQo63 37CRgIDWXyhY_1h41wrmjlqo7flsHXZj1SjqiGKwS6yVbEtSxdnWh3cgorW3St5WcBdL1HvJuFgO sZYC4IzMXqa5x6bjciNhD_pNx8zKceiM4Em5ZA70KLGJLmMISFoEhvkEdkv2a2V2X7461OG2tQoe 8_J7H9tX0ESSu9n87n4d81h4dPzYHkfoOLldc7cstqd8nQTU2BP3MzW7sHJnywzadBBS3ws0ikad ucLR_B3yE0U1GTvrm0s0O1QDnmE9mbSJ.diRVeTVQMpHvEx_C8bSxBMhvsLeeb_P3cuMVXFMVmuJ vlza_9dOdoNt4rx6bKXwI69j83_MIvh8et9XXXSTY.lxyzI_SS_Sepm45HYs7FP7gJljtLsL4R8h mih6SNHBYPJw4QK7zsBSJFke_BOI3jKsx9M9t.JnBtwIm.xp44d6kk3dkYukcCx28IdDvDA49ifr jMuaFq.MDFckgyaTDn_moS4VvoVNTvmpbb.1AYH3EDbflCifBn08mxjQVt7p__b1xAA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.gq1.yahoo.com with HTTP; Sat, 13 Oct 2018 17:12:21 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp408.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 5be009593758ec2d2a97f3b3b40971cf for ; Sat, 13 Oct 2018 17:12:18 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: GPL requirements vs. "some of which are compiled with GCC" terms in special exceptions? Message-Id: <5449BAA6-E022-4DE4-870A-8AE132A6F9FA@yahoo.com> Date: Sat, 13 Oct 2018 10:12:17 -0700 To: FreeBSD Toolchain X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Oct 2018 17:12:29 -0000 While investigating powerpc64 C++ exception handling for builds under devel/powerpc64-gcc I ran into the following in /usr/src/contrib/gcc/unwind-dw2-fde-glibc.c : /* As a special exception, if you link this library with other files, some of which are compiled with GCC, to produce an executable, this library does not by itself cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public = License. */ So in contexts were clang/llvm is used to exclusion . . . are any such files in use? (I happen to be using devel/powerpc64-gcc at the moment.) For me this has no real implications: I do not distribute my experiments. But I was surprised by what I read. Looking I find: # grep -r "some of which are compiled with GCC" /usr/src/* | more /usr/src/contrib/gcc/config/i386/gthr-win32.c: some of which are = compiled with GCC, to produce an executable, /usr/src/contrib/gcc/config/ia64/crtend.asm: some of which are = compiled with GCC, to produce an executable, /usr/src/contrib/gcc/config/ia64/fde-glibc.c: some of which are = compiled with GCC, to produce an executable, /usr/src/contrib/gcc/config/ia64/crtbegin.asm: some of which are = compiled with GCC, to produce an executable, /usr/src/contrib/gcc/config/ia64/lib1funcs.asm: some of which are = compiled with GCC, to produce an executable, /usr/src/contrib/gcc/config/ia64/crtfastmath.c: some of which are = compiled with GCC, to produce an executable, /usr/src/contrib/gcc/config/ia64/unwind-ia64.c: some of which are = compiled with GCC, to produce an executable, /usr/src/contrib/gcc/config/mips/mips16.S: some of which are compiled = with GCC, to produce an executable, /usr/src/contrib/gcc/config/vxlib.c: some of which are compiled with = GCC, to produce an executable, /usr/src/contrib/gcc/libgcc2.h: some of which are compiled with GCC, = to produce an executable, /usr/src/contrib/gcc/gthr-posix95.h: some of which are compiled with = GCC, to produce an executable, /usr/src/contrib/gcc/gthr-posix.h: some of which are compiled with = GCC, to produce an executable, /usr/src/contrib/gcc/gthr-posix.c: some of which are compiled with = GCC, to produce an executable, /usr/src/contrib/gcc/gbl-ctors.h: some of which are compiled with GCC, = to produce an executable, /usr/src/contrib/gcc/gthr-gnat.c: some of which are compiled with GCC, = to produce an executable, /usr/src/contrib/gcc/gthr-rtems.h: some of which are compiled with = GCC, to produce an executable, /usr/src/contrib/gcc/gthr-vxworks.h: some of which are compiled with = GCC, to produce an executable, /usr/src/contrib/gcc/gthr-dce.h: some of which are compiled with GCC, = to produce an executable, /usr/src/contrib/gcc/gthr-nks.h: some of which are compiled with GCC, = to produce an executable, /usr/src/contrib/gcc/gthr-tpf.h: some of which are compiled with GCC, = to produce an executable, /usr/src/contrib/gcc/gthr-aix.h: some of which are compiled with GCC, = to produce an executable, /usr/src/contrib/gcc/gthr-lynx.h: some of which are compiled with GCC, = to produce an executable, /usr/src/contrib/gcc/gthr-solaris.h: some of which are compiled with = GCC, to produce an executable, /usr/src/contrib/gcc/gthr.h: some of which are compiled with GCC, to = produce an executable, /usr/src/contrib/gcc/gcov-io.h: some of which are compiled with GCC, = to produce an executable, /usr/src/contrib/gcc/gthr-gnat.h: some of which are compiled with GCC, = to produce an executable, /usr/src/contrib/gcc/gthr-single.h: some of which are compiled with = GCC, to produce an executable, /usr/src/contrib/gcc/gthr-win32.h: some of which are compiled with = GCC, to produce an executable, /usr/src/contrib/gcc/tsystem.h: some of which are compiled with GCC, = to produce an executable, /usr/src/contrib/gcc/typeclass.h: some of which are compiled with GCC, = to produce an executable, /usr/src/contrib/gcc/unwind-dw2-fde-glibc.c: some of which are = compiled with GCC, to produce an executable, /usr/src/contrib/gcc/unwind-dw2-fde-darwin.c: some of which are = compiled with GCC, to produce an executable, =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)