From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by sourceware.org (Postfix) with ESMTPS id 8BE39387703A; Sat, 1 Jun 2024 08:18:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8BE39387703A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8BE39387703A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::52e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717229949; cv=none; b=bIqiBaWPAgMcdUgtZuQjRdpocvXs0SDjnOI9TqE2ZoBteJ4lNDjMwYgc7bl0h1Dgfar0BZ1S46gF74ZMqIJL+6/q6h2lFFhZ/f0Lucx/dpdpgIt9xoeW+IMz0wIUShD7NUQC65MJWjGm+RSK8rc2pA3qXTXPEt6espKjPZ0dBrc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717229949; c=relaxed/simple; bh=xc/urQFOQeck3m9TucSvlTKFzoYAr+fyfMJdrGxWxl4=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=uuHQFSz8ZBhooU0j+tooPk6hk+vNVi4L4WP9LbiZRm9IjuurTKThToYdf5aM4M1Hm0btuKZLlVAaY1bdwqXEEXBYd7GsNddijH7vag1N31CAm7thxUUKlcz1F5YBPLh8K38e9U0W775sYsCD5onAXhDQUzdxQ/nBJHA5WX9Wbcw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-57a44c2ce80so600759a12.0; Sat, 01 Jun 2024 01:18:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717229935; x=1717834735; darn=gcc.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BOLh19TK/3grDs5vCBfhvo0m+x83OoHqNMIh47K01/w=; b=MMkJL5qePe8JOiEYdfru6K2Mw2LUnSv2fDnC+GAWBMlpUdjdF17bNknKD+cKMX2heX 7a4rQKnGZ6UG5hIrVnlA1WfGw1a/V9ToBviN/AOUMvqTaIno3P2BZ18xPmUGfIWAExDa 1iyjjicBShay4mHXDqA2otwXtxQ5hHEwAq8kqPQh6idFeP7cOU6Fdtu3TsD2dK7y/S01 1pZcHq9iSpHJ5JmCCjZmI2gxD2O8rHHJIGZmqHfLruqKV3HZRY0gxeNC1+fgLmNXT2LO /pV8C3vMhyEhw1Ku8xi1e0DI6DZkOVn2ZQF9gHO10jNgDBimsZUiAX1ClHtNs2tdjozl qk1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717229935; x=1717834735; h=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=BOLh19TK/3grDs5vCBfhvo0m+x83OoHqNMIh47K01/w=; b=rydoq2qsjsIkemiyDyAF/YwixbUa84+7DZ3oy8/hWIakktd8+ik4FmGKE/Nvew3XXg kiIpDsZdP0WNNXm46lWyS5wZZ0dXFuX4I9n6TfsO5MvMA9YOsvrPTo+9hRcQUQCzKF6a Cbo0iOMfggoRkbajO6aKEClDb0Prsefmc+46SpT+mVf/ZCtS2a5djycqo6bZQjByauJd RYTOK7abhBbngGvveqGV4B4iloU02wZNsG++ntKwn9jzjFOGNTJihwlSFmyoAenMM5xX Yt2kZUSBsmCJOjHm87u7q6LbedSUAoqZSkl7WF2LV4bFtIYeLjJ2mEk7wJsQ/4ZS2643 q4Ww== X-Forwarded-Encrypted: i=1; AJvYcCVzVJ3bdNyAfc7wM1i0WQeXd3Q+qjwycaE8rrzEWGmx8SnI1/A6LUw+Zvjh6Dz2hvVMRRVb90/ilWZ1Hcc0eep7hqX5fPQoIrp73sslENo55OFJ5xzENX/juKS/3egk X-Gm-Message-State: AOJu0YxCukkHYqVybKvN50QCoB1YbJ+CoYy3En6IQvZW/8Dym/yRnQzq A4N3bH2WD5X+evOIFK2sJnmiCtE5kmhpCY1dzb5mEBHyY+e5kLC3ExwMX3Z/xgWFBdDc4WdSHZJ fC2nk03bBlZipbRCorzff4KStrU0= X-Google-Smtp-Source: AGHT+IFTDcDMLvXjMxyuZ68sEno93YFfRw3aNw+t9CI/l5Zeaj8agQxXxfS8bLvN0Dz5CemO3Moz3mOg9yqwaHaR/k4= X-Received: by 2002:a17:906:b289:b0:a68:c178:64de with SMTP id a640c23a62f3a-a68c1786536mr32046866b.73.1717229934656; Sat, 01 Jun 2024 01:18:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Sat, 1 Jun 2024 09:18:43 +0100 Message-ID: Subject: Re: [PATCH] [libstdc++] add _GLIBCXX_CLANG to workaround predefined __clang__ To: Olivier Hainque Cc: Alexandre Oliva , Jonathan Wakely , libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org, Matthias Kretz Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.6 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 Sat, 1 Jun 2024 at 08:35, Olivier Hainque wrote: > > > > > On 31 May 2024, at 17:52, Alexandre Oliva wrote: > > >> Does the vxworks toolchain need to support the PSTL headers? > > > > Maybe we can do without them. I really don't know. Olivier? > > I have no indication that we can not-support these. > > We are seeing many cases of C++/Ada combined codebases in a variety > of VxWorks contexts so actual uses seem likely. If Intel TBB isn't supported on vxworks then the PSTL algos are not very useful. You can use them, but you won't get any benefits. I'm unsure of the status of the openmp and simd backends in PSTL, I think only the TBB backend really works. > > >> If not, we could just ignore this file, so the local changes don't > >> need to be re-applied when we import a new version of the header from > >> upstream. > > > > That sounds desirable indeed. This change is supposed to spare us > > (AdaCore) from precisely this sort of trouble, so it wouldn't be fair if > > it made this very kind of trouble for our upstream. > > Of course, 100% agreed! > > Thanks a lot for help in looking into this! > > Olivier > >