From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by sourceware.org (Postfix) with ESMTPS id D00AA385662A for ; Tue, 30 May 2023 09:55:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D00AA385662A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2af1822b710so44309231fa.1 for ; Tue, 30 May 2023 02:55:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685440541; x=1688032541; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=gNXt4CUiiPBGkyzaHVKO+VT3lK5XnjU2zZMc9Tmdd80=; b=LIAtN+1U6xlm4CD+CkL+4/k3cvibgJ3sN4ETpuTOH4zx5nt04FgIjAhs1WDHMv3W8t eY2Aeo6Ya3QA+xN7XB5ahMylGOiVRF0aKacMFR15UAe9SPXS9uJBwhizWNiHyopJvaq3 iDC1yUv/y7G7hq8gURWPDJSTZ5aLJvbRQE2bB3FK+URcffhnf9daa/9tHX0YiU2Ul0KI BIXXvWrgCpiVIZ5tGOXzvYDAvG287DBSTMXlEo/6wwOL72ZrP4wYWirSPeDJwLe3HSa4 A64RKdTTbuu2HdOq1eLr/D0d6GumHCOsOrNdrBPsIW9LtvluyyWCYFHuUo5o9w456K+1 Qphg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685440541; x=1688032541; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gNXt4CUiiPBGkyzaHVKO+VT3lK5XnjU2zZMc9Tmdd80=; b=dv2YtMG2aymRe/qPeZ41nT7n4cwFC/ZnGC0KcV6LakrUVWxAW8N+0Fx8vv7Qpft/US ljJccNfGYSjRXRJT4riOdah27uCtV2JVYZv2S+c0BQXxWDj6YSOsC9ebqNWagqt1DvvW 6mOXsiXOL76BFT4XvVp9jgWc09yZ/HE0iEn2EpRs1o8LHfBaDLiNm2l9nqof4j9ja65T F2SdTkA3OEyFm9fh/3tvHT/RDkbuuXpNZQXIPm9TJFqml0EgicyFsba0kObxoVNqGX7G O4GbkNudcKZl48A+NWDhXO7yXg2/q/N649VLKNcPwkce1mBcdeEuukTZL1EczzgRbLkB XAXA== X-Gm-Message-State: AC+VfDydL3Gosa8zLQtck1C0BA8IKDxvImt+r1ODfwJahSlZEfM7XnOV v7H9Hk9nu2JRz2JaycBKX1bt+IWVnd1SDpvRBKb3QkRa X-Google-Smtp-Source: ACHHUZ6aC2Eb5sWuqnT1s7QhBP3kx3vCfWKy/SsdgNzCCOQYin/SrXpwMMXbpO2ID/AacWdTdzaeri7dQqvwACxT3yE= X-Received: by 2002:a2e:9d0e:0:b0:2a6:18c0:2b35 with SMTP id t14-20020a2e9d0e000000b002a618c02b35mr464089lji.0.1685440540983; Tue, 30 May 2023 02:55:40 -0700 (PDT) MIME-Version: 1.0 References: <20221219160245.55745-1-sebastian.huber@embedded-brains.de> <9894ac2c-f3b8-fac7-197d-2042fb946240@embedded-brains.de> <1316c42f-a69d-ab56-296e-f617942d4759@embedded-brains.de> In-Reply-To: <1316c42f-a69d-ab56-296e-f617942d4759@embedded-brains.de> From: Richard Biener Date: Tue, 30 May 2023 11:53:28 +0200 Message-ID: Subject: Re: [PATCH] libatomic: Provide gthr.h default implementation To: Sebastian Huber Cc: gcc-patches@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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: On Tue, May 23, 2023 at 11:28=E2=80=AFAM Sebastian Huber wrote: > > On 10.01.23 16:38, Sebastian Huber wrote: > > On 19/12/2022 17:02, Sebastian Huber wrote: > >> Build libatomic for all targets. Use gthr.h to provide a default > >> implementation. If the thread model is "single", then this > >> implementation will > >> not work if for example atomic operations are used for thread/interrup= t > >> synchronization. > > > > Is this and the related -fprofile-update=3Datomic patch something for G= CC 14? > > Now that the GCC 14 development is in progress, what about this patch? Sorry, there doesn't seem to be a main maintainer for libatomic and your pa= tch touches targets which didn't have it before. Can you explain how this affects the ABI of targets not having (needing?!) libatomic? It might help if you can say this is still opt-in and targets n= ot building libatomic right now would not with your patch and targets already building libatomic have no changes with your patch. That said - what kind of ABI implications has providing libatomic support for a target that didn't do so before? Richard. > -- > embedded brains GmbH > Herr Sebastian HUBER > Dornierstr. 4 > 82178 Puchheim > Germany > email: sebastian.huber@embedded-brains.de > phone: +49-89-18 94 741 - 16 > fax: +49-89-18 94 741 - 08 > > Registergericht: Amtsgericht M=C3=BCnchen > Registernummer: HRB 157899 > Vertretungsberechtigte Gesch=C3=A4ftsf=C3=BChrer: Peter Rasmussen, Thomas= D=C3=B6rfler > Unsere Datenschutzerkl=C3=A4rung finden Sie hier: > https://embedded-brains.de/datenschutzerklaerung/