From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by sourceware.org (Postfix) with ESMTPS id 24B96385DC1B for ; Sun, 24 May 2020 01:09:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 24B96385DC1B Received: by mail-yb1-xb29.google.com with SMTP id n10so6648822ybn.8 for ; Sat, 23 May 2020 18:09:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=S6yRht+lRbmj8lR1vHQnhg0p5lENd+8OMog0hDzG8yo=; b=S5Zo4q9M+eq/OmuCr0+oMU5NVrPpq1A84q3Q0PNRN6IrCuRUstDSnB3067xlMbl1kC ej+/OfFYCRqn408AAH5dySW7xc53v7S3L9mS6K3OP+ObyZiLr7D7cHK3BJx5FmuqeVAi iNA55JM24oZLfSs2fgkK28cP/hn6ykfuPNHKiuN1rjm9iEJEnZ7g7n9AqpD3OndcRfu+ tfmR63k2z0RmrCAgD9hHdGAwM8/Vo9plzC1L2qVj7/kcZBHGWfiTXciNR5ayeS6gbmA4 qKEWK84gyoLrxRCcxq11Y1AJTUR+UY8gA4Mo6SzRIPpU4uMhjh5Pf6I7Qcu07zmEUJCd H2Iw== X-Gm-Message-State: AOAM532U7tO6Y1U4giX1rXOJtJsqw+dLWscRk+46y5omxRe9srYck+/6 /BGJ3KGR1ghFoDN/3bMQgBqgW3dNvLF8kCSn/hQ= X-Google-Smtp-Source: ABdhPJz2VEebeyz6gkiFmfy49aaQ80wWMZQxtskjhvbgP+YgoZkvV/uV3Z0R5F6gm+DRO/KJ4iRy5BoTuY9Nn3EKQb4= X-Received: by 2002:a25:a508:: with SMTP id h8mr15148729ybi.219.1590282541632; Sat, 23 May 2020 18:09:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "P. -" Date: Sun, 24 May 2020 05:08:50 +0400 Message-ID: Subject: Re: libstdc++ still has license conditions of SGI STL on top of GNU GPLv3+GCC Runtime Exception, right? To: Jonathan Wakely Cc: "libstdc++" X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 May 2020 01:09:08 -0000 =D0=B2=D1=81, 24 =D0=BC=D0=B0=D1=8F 2020 =D0=B3. =D0=B2 02:14, Jonathan Wak= ely : > You should talk to a lawyer if you're concerned, but the notices say > they apply to "this software and its documentation" not to your > software. > The mentioned header files are full of templates, which will be included in the object files if used. So, a partial copy of "this software" (if it actually covers any templates) is very likely to end up in my binaries. In fact, I'm 99% sure that I'm bound by those license agreements and can't use libstdc++ without including a copy of those copyright notices and licenses in documentation - and that would be fine, I'm OK with that - but everywhere I go I can't find anyone who would mention it. It is as if usage of libstdc++ is ONLY bound by GPLv3 + GCC Runtime Exception, and those additional terms around it-is-going-to-end-up-in-the-binary-code do not exist - even on stackexchange I got "GPLv3 + Exception only" answer. There are a few ways where ignoring those licenses is possible: 1) Hewlett-Packard and Silicon Graphics Computer Systems, Inc. has voluntarily contributed their code to be distributed under GCC's license and the notices are there for historical reason - can't find anything about that; 2) FSF/libstdc++ maintainers has obtained special permissions from Hewlett-Packard and Silicon Graphics Computer Systems, Inc. to distribute their code under GCC's license - again, can't find anything; 3) The license actually covers only notes and comments that exist only in header files - the libstdc++'s FAQ contradicts that (see the link in the original email); 4) The code that is covered by those licenses exists only in compile time and is thrown away when compiled. The lawyer can't answer those 4 questions - only the libstdc++ maintainers/authors can. To reiterate, I'm completely fine with those additional conditions (albeit it's not very convenient to extract them with regular expressions and gcc -E -C), but I just can't find any mention of "the libstdc++ is licensed under GPLv3 + GCC Runtime Exception, but some of its components have 3rd-party licenses that have additional terms" everywhere else apart from the headers. I even saw an opinion that GCC Runtime Exception exempts me from complying with those licenses, but such an exemption simply can't apply to an included 3rd-party code! Best regards, thanks for replying.