From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) by sourceware.org (Postfix) with ESMTPS id 240AB3851153 for ; Tue, 6 Sep 2022 10:29:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 240AB3851153 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cd-adapco.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cd-adapco.com Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-3454b0b1b6dso35301287b3.4 for ; Tue, 06 Sep 2022 03:29:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cd-adapco.com; s=google; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=iWoaKSZCR7G5OxCbYVv4HRLVrHwnY5SWZ0sU8NRSWco=; b=l0nmU0UBNC481wUtn7GKM7Ppbz14xlHfVfutdZpWLDSQDoDTXDmfhvehy0lKrf4gAl JNTg61eVSazlbHP2MYNNsSBvhMhqrNVSi/M4Ppeg5c8P8xWFpTf3UNoRUoiNrx1DQCKY rhHHf2JoCJ3ViAGXzuzA9bmEUuy1I4tCu5JcY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=iWoaKSZCR7G5OxCbYVv4HRLVrHwnY5SWZ0sU8NRSWco=; b=JyEyAzV2lHfPOFpqqft/hvr4eveCDtk0gQYMh/C1QC/jcBFp8N9Kee6XudXPiW7uVu HBXHcoc+QZebdGqMQcS5ss2Cex+l4XK25EkOn/Q8KFP5pVToHXYVZ6bIAcp32avT2Y/x aoSr2URPaxAJLd21aBjajEjTETdefJ0wXWceS1ceJHHwiDwVCHoBnuPuffH4W+BhPr+A mCvrnGq1y5oyJHy89ykkzaO0UJ+LYJv627CEKfYi0luHMG07bWQychzCxfNRo1RglfJ6 QTvxy0aDBOHI1VCPrASDX/pJE09r72Bj5aOz6rBfJJVWI0M2CuX1iiJiIoq62Sm99Vqc TcGA== X-Gm-Message-State: ACgBeo01SuRbwyWs0aZpbWy0M6V5B02mqqIRsYv+T3NFmEfBrYQhCM9B fII3/121vFDx/K9gKDxcO+CdSmD8L8QpTJQm6yjydxUSnAa7gfzImkw= X-Google-Smtp-Source: AA6agR6fZwvf0Zlv/eZ/8OW9tdCnLJOOV2o8X4FmWkL5lrn3AvE5tarvYox/ub8r12s9dhyQbpzU2J52VGaXuiZ+XYY= X-Received: by 2002:a81:118c:0:b0:346:f0d9:bf51 with SMTP id 134-20020a81118c000000b00346f0d9bf51mr22030ywr.288.1662460162401; Tue, 06 Sep 2022 03:29:22 -0700 (PDT) MIME-Version: 1.0 From: Tom James Date: Tue, 6 Sep 2022 11:29:11 +0100 Message-ID: Subject: GPL carve-out missing for barrier To: libstdc++@gcc.gnu.org Cc: Moritz Kreutzer , "Jones, Philip" Content-Type: multipart/alternative; boundary="0000000000006ef97505e7ffaba7" X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --0000000000006ef97505e7ffaba7 Content-Type: text/plain; charset="UTF-8" Hi, I'm working on a closed-source c++ project that compiles with gcc 11.2. We need to ship the GNU 11.2 run-time alongside our product, and it looks like the std::barrier header is missing the GPL3 carve-out for shipping run-times. For the purposes of comparison, let's look at algorithm: https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/std/algorithm Lines 16-18 read as follows: // 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. These lines are necessary to prevent the GPL infecting our closed-source code. The barrier header appears to be missing these lines: https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/std/barrier Would it be possible to please make the following changes? 1. Add these lines to the master branch, 2. Backport these lines to gnu 11.2 (which is the most recent version supported by our toolchain). Thanks, Tom -- Tom James Siemens Digital Industries Software Simulation and Test Solutions, Solution Domains Development, Server, Platform, Simulation Framework, High Performance Computing thomasjames@siemens.com sw.siemens.com --0000000000006ef97505e7ffaba7--