From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dedi548.your-server.de (dedi548.your-server.de [85.10.215.148]) by sourceware.org (Postfix) with ESMTPS id A036538A814A for ; Mon, 21 Nov 2022 07:26:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A036538A814A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embedded-brains.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embedded-brains.de Received: from sslproxy06.your-server.de ([78.46.172.3]) by dedi548.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ox1Ca-000KZj-HV; Mon, 21 Nov 2022 08:26:48 +0100 Received: from [82.100.198.138] (helo=mail.embedded-brains.de) by sslproxy06.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ox1Ca-0004jV-Ej; Mon, 21 Nov 2022 08:26:48 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 219E84800B4; Mon, 21 Nov 2022 08:26:48 +0100 (CET) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id AGv3cf8bkNua; Mon, 21 Nov 2022 08:26:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id BBDC54800B5; Mon, 21 Nov 2022 08:26:47 +0100 (CET) X-Virus-Scanned: amavisd-new at zimbra.eb.localhost Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id bbu6v4QAuqo1; Mon, 21 Nov 2022 08:26:47 +0100 (CET) Received: from [10.10.171.6] (unknown [10.10.171.6]) by mail.embedded-brains.de (Postfix) with ESMTPSA id 7D2A34800B4; Mon, 21 Nov 2022 08:26:47 +0100 (CET) Message-ID: Date: Mon, 21 Nov 2022 08:26:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH 1/2] Allow subtarget customization of CC1_SPEC To: Jeff Law , gcc-patches@gcc.gnu.org References: <20220722130250.59766-1-sebastian.huber@embedded-brains.de> <543ce4e6-42d5-71ca-e48b-212796713f2e@embedded-brains.de> <1d880015-d502-a393-6278-4281cf64504b@gmail.com> Content-Language: en-US From: Sebastian Huber In-Reply-To: <1d880015-d502-a393-6278-4281cf64504b@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: smtp-embedded@poldinet.de X-Virus-Scanned: Clear (ClamAV 0.103.7/26726/Sun Nov 20 09:50:39 2022) X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,BODY_8BITS,KAM_DMARC_STATUS,KAM_SHORT,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,TXREP 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 20/11/2022 17:57, Jeff Law wrote: >=20 > On 10/26/22 03:34, Sebastian Huber wrote: >> On 04/10/2022 11:47, Sebastian Huber wrote: >>> On 08/09/2022 07:33, Sebastian Huber wrote: >>>> On 04/08/2022 15:02, Sebastian Huber wrote: >>>>> On 22/07/2022 15:02, Sebastian Huber wrote: >>>>>> gcc/ChangeLog: >>>>>> >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* gcc.cc (SUBTARGET_CC1_SPEC): Define if n= ot defined. >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0(CC1_SPEC): Define to SUBTARGET_CC1_SPEC. >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* config/arm/arm.h (CC1_SPEC): Remove. >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* config/arc/arc.h (CC1_SPEC): Append SUBT= ARGET_CC1_SPEC. >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* config/cris/cris.h (CC1_SPEC): Likewise. >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* config/frv/frv.h (CC1_SPEC): Likewise. >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* config/i386/i386.h (CC1_SPEC): Likewise. >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* config/ia64/ia64.h (CC1_SPEC): Likewise. >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* config/lm32/lm32.h (CC1_SPEC): Likewise. >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* config/m32r/m32r.h (CC1_SPEC): Likewise. >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* config/mcore/mcore.h (CC1_SPEC): Likewis= e. >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* config/microblaze/microblaze.h: Likewise= . >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* config/nds32/nds32.h (CC1_SPEC): Likewis= e. >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* config/nios2/nios2.h (CC1_SPEC): Likewis= e. >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* config/pa/pa.h (CC1_SPEC): Likewise. >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* config/rs6000/sysv4.h (CC1_SPEC): Likewi= se. >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* config/rx/rx.h (CC1_SPEC): Likewise. >>>>>> =C2=A0=C2=A0=C2=A0=C2=A0* config/sparc/sparc.h (CC1_SPEC): Likewis= e. >>>>> >>>>> Could someone please have a look at this patch set? >>>> >>>> Ping >>> >>> Would someone mind having a look at this patch set? If there is a=20 >>> better approach to customize the default TLS model, then please let=20 >>> me know. >> >> It would be nice if someone could review the patch before the Stage 1=20 >> ends at November 13th. >=20 > Just a reminder.=C2=A0 The guidelines are a patch needs to be posted be= fore=20 > the end of stage1 to make the deadline.=C2=A0 Review & integration can = happen=20 > after the deadline. >=20 > I realize the idea here is to allow RTEMS to change the default TLS=20 > model.=C2=A0 But does it also happen to make it possible to solve Keith= =20 > Packard's issues with picolibc?=C2=A0 See the Aug/Sep gcc-patches archi= ves. >=20 > It looks sensible.=C2=A0 I assume you did a "find" to identify all the=20 > CC1_SPECs to change. >=20 >=20 > OK for the trunk, Thanks for having a look at the patch. After looking at the patch again,=20 I think it can be simplified to: https://gcc.gnu.org/pipermail/gcc-patches/2022-November/606841.html >=20 > Jeff >=20 >=20 > Anyway, does this also solve some of the issue Keith Packard was try to= =20 > nail down for picolibc? I had a look at this, however, I think this is a slightly different=20 problem since LIB_SPEC needs to be replaced and not extended. --=20 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/