From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 84A721F4B4 for ; Mon, 19 Oct 2020 09:18:38 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5EEA5386100F; Mon, 19 Oct 2020 09:18:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5EEA5386100F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1603099117; bh=UYwiyd2vy6YtBBxMfYpM/POih0bEa/ZmzCtgMg8LG94=; h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=KJP9sSICHJn8j6yx+pyFeOkwauKPh32L9lDq6/QudvAIDYyRpUv23cLctCbpVgpcE y1KSF74g0wiEUejJtvU2V/f0AJI/fBhfCepF7q5rkG9Ou1mN8WoqIuxtURXoe8r8Nf x0bR3Mr1q6GqRZ+K8EQvVQ6GfwEgSTJnQ/kvpMyg= Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150053.outbound.protection.outlook.com [40.107.15.53]) by sourceware.org (Postfix) with ESMTPS id EFBE23861001 for ; Mon, 19 Oct 2020 09:18:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EFBE23861001 Received: from AM5PR04CA0006.eurprd04.prod.outlook.com (2603:10a6:206:1::19) by VE1PR08MB4928.eurprd08.prod.outlook.com (2603:10a6:802:aa::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.25; Mon, 19 Oct 2020 09:18:27 +0000 Received: from VE1EUR03FT026.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:1:cafe::5c) by AM5PR04CA0006.outlook.office365.com (2603:10a6:206:1::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.22 via Frontend Transport; Mon, 19 Oct 2020 09:18:27 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; sourceware.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;sourceware.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT026.mail.protection.outlook.com (10.152.18.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21 via Frontend Transport; Mon, 19 Oct 2020 09:18:27 +0000 Received: ("Tessian outbound e6c55a0b9ba9:v64"); Mon, 19 Oct 2020 09:18:26 +0000 X-CR-MTA-TID: 64aa7808 Received: from da995bc465ff.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 6E3EBBAE-6C7C-4A53-9241-0E572977EF46.1; Mon, 19 Oct 2020 09:18:21 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id da995bc465ff.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 19 Oct 2020 09:18:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GTHD9vHVXOPLRCCCHNrF20o2LE83TnSryqL2qaMoG/qx2rWSNUe+Tpppx7YEyOUQQ696HULX+VFeJImjbWKwz38l7S11yViZv0tiouQpk9BECu57RwNqxJXJqOatuYcnIe9u7aoKo5/W2FW1KQ13o3auncH61Exzkxd3irjFIEC7h/HFXSHQrucIuykSqDdw9XeSkgHvxOJ75191CJN9mry33b+yXPXnaVnmcNlRGhaWl2a8/Ep+pwlR5DYDTtgvGsOl4pcghK5flNYIFWk8ip6B6t0C5ki9CSXMgxqQBH99OD+JQSiG14+pWaG1FB4Ku6Z6EP9HozrUHMOz2ruQgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UYwiyd2vy6YtBBxMfYpM/POih0bEa/ZmzCtgMg8LG94=; b=eKFTWITdhqfzlFKxkWj+SazKZoLowGYtPYtwGIz0O1RcPY0wwPhFUgoWI6nZ7w+RhNuu0dui3Ul1jQ7YdUlh/GMjQdrWBqZpUsIiPWzjp7D6o14XgTe/rCelUJaQXrk7R6GNCAoSxCNg3MLTi6Iuyz2EVk1jzIBZ2Udmr9JWIh/yCqWdUMAO2+hQ+jnYTkX+7b09EYJayCgGX147fymXeMnFv47r4cDv10LkhwP3evztv6HxWIWl2FOTVsoCAWpYy/DaNe0zxy0lWM9N49/K4vux+WdEV5UsOoWzhieyR93dnk47hwpmkMMOaxovKRQCzmqV/D9mds1uxDl1dZA36A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) by VI1PR08MB3437.eurprd08.prod.outlook.com (2603:10a6:803:7e::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.26; Mon, 19 Oct 2020 09:18:20 +0000 Received: from VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::d0e7:49cd:4dae:a2a2]) by VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::d0e7:49cd:4dae:a2a2%6]) with mapi id 15.20.3455.037; Mon, 19 Oct 2020 09:18:20 +0000 To: Florian Weimer Subject: RE: [PATCH 2/3] Move ftime to a compatibility symbol Thread-Topic: [PATCH 2/3] Move ftime to a compatibility symbol Thread-Index: AQHWovQzqwGMDmVAhUOLU+1ZuEIN8KmelHiAgAAKIlSAAAsTcA== Date: Mon, 19 Oct 2020 09:18:20 +0000 Message-ID: References: <20201015130632.90961-1-adhemerval.zanella@linaro.org> <20201015130632.90961-2-adhemerval.zanella@linaro.org> <20201019075518.GJ3819@arm.com> <874kmqd3dc.fsf@oldenburg2.str.redhat.com> In-Reply-To: <874kmqd3dc.fsf@oldenburg2.str.redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 017FFC393FA579439507D17D5AE8D1E0.0 x-checkrecipientchecked: true Authentication-Results-Original: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [82.24.248.186] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: e17b3f8a-b4c5-483e-00b5-08d8740ff00a x-ms-traffictypediagnostic: VI1PR08MB3437:|VE1PR08MB4928: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:8882;OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 3PR5DJKU6HNmbS7uGOFNBKhQ2MBrPdaDHlti+QE3xl6HcwesJG/Qy3BwWHsf1fPNWG72ZaNzAGmzKuu5qqjs2yatLqd23OnW2/Yn05Ao0sO17OuqYzNG1eksmmDeP6NlUzk0BA/azQOk7UX/l2wbaQ+b5WKEeyJaygP7QVEMvi2AuapjQn3Rtj+RMR2OLFvnolF2J92w0ljy575DDCujqrnmbDtmZ/NTxWQaJpSnl7X7x56m+lP9S/At5jChXaD1wvu1jrEPdGYtmKVSVL0XqbmvcV5J3gnN1FhPAQTYZARVJGABGPXsGiza0Ww26PrGkSUP/a8ObykvejCcnsTobVKOfoG/ygxq4G4v2i6dxEBV8Lusg04vAc0cOXyDTkZDYs//Ms0qrTtWC0sIbf74OA== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB5325.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(376002)(346002)(366004)(396003)(76116006)(66476007)(66446008)(66946007)(64756008)(66556008)(4326008)(26005)(186003)(7696005)(8676002)(6506007)(53546011)(8936002)(52536014)(9686003)(55016002)(966005)(5660300002)(83380400001)(6916009)(2906002)(71200400001)(33656002)(478600001)(86362001)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: z6XFXGh/2OReoc5Md6cgOvPIDpnt58XDOkuNDUqBEk9irdwVhxojMcRZGvhzY5UXIjA/lIhLJuMdYX2fFI01RJoIbZ34/vRixAE1AJFpK8rZ7S0+OSy3fR/sgdD+jYfjgm+462QHzgcZXpx4uk90JvOzne9uX+LQOdwRCe5/MUAHHhCJ9KiM+nNwphd6nokilmPkUR5LZZRw8q0ys3zb11WwVn/4NXbnnqqfBOEb6uzga29TvbddZQoOCTMxRHzgCoL+vvR/szCZfZMKqe6P3NIjAXykMGcyoxbIWOjPbBNkj1cu3QCjyRmmU7T9AI4VEb6RfWNAUe4QUgATY9sdqrN5QghhgDndDOX8xMVtt8C7ZLMX/6fpNn7sn41XHbtHOHpYABkElgetu8wrpXZmCj5v00Z/xsEfNX+HSrG+YPww29hgCyI+9Low5dp/lwn1a2i3+dS92Vt87JajoKalwz5/HY6KTYCiSnv6kMd1h3qTrBopjBT7bWDqJP/aj3BC0C9S0TikjprVw9bGLBOfS21a9iyB6K5erBJ2Jl+y0v1ad+wlyA0/WWcOxS69tBDDwHrKYAPuyu0BeLueN1xwUb/wHyN9HMEROKH1PFRdEPswvr3pYcClKeLOjdgzxU3IcKMgf53cK2PWtKFhwPrnfw== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3437 Original-Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT026.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ba7275fb-2b94-4ea0-ce61-08d8740febdd X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7hqxYMMc4PdMx7uFzc1TYihcdFUlTn9AwWp2ZOgZaHIaL4AOkvvBjlvLox9v+nP1dsIhWkFISBp7Xkonxf6L5cEczEfINJS0TkDkCWXaasJ8QgiADyt3cbflAg6yzDf60D/StR6LJa4oPnF7is8T/I1SoJSQe+5EWT4xb4DyiM7N1au49iwi5j/JNal+/lMBVF7T+YVu2QlDorwxL0yjOeDdk1VCd6aFZrzYebk6tGk6c7o2rbeWCm/VVZw1JATCDbRyNgsBAZManSITyaaolfXFIPI+kQk7JsAYURptwWW3LGq0WRqKM8+W/2tUrCu/q5ZJIjAflUtuRspFtF4UKN1WethHw6E0EwjLQ6dEjZLoEW4b33DUyZ3U8INQ3R4RxDKCsLSS6x3ClQftMP71z8FQ2+3ZRyRqxNp+FcNlAUNEkIKf1ENRyMMsD9hFUqWJhKgZlAF3j5mChPjf8Fzj1KqZAMqWo6pIYOCsW0QLV2g= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(396003)(136003)(39860400002)(376002)(346002)(46966005)(186003)(36906005)(316002)(6862004)(966005)(336012)(4326008)(82310400003)(83380400001)(81166007)(86362001)(356005)(52536014)(5660300002)(2906002)(47076004)(55016002)(82740400003)(9686003)(7696005)(6506007)(478600001)(8676002)(26005)(70206006)(8936002)(33656002)(70586007)(53546011); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2020 09:18:27.2324 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e17b3f8a-b4c5-483e-00b5-08d8740ff00a X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT026.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4928 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tamar Christina via Libc-alpha Reply-To: Tamar Christina Cc: "libc-alpha@sourceware.org" Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" > -----Original Message----- > From: Libc-alpha On Behalf Of Florian > Weimer via Libc-alpha > Sent: Monday, October 19, 2020 9:31 AM > To: Szabolcs Nagy via Libc-alpha > Subject: Re: [PATCH 2/3] Move ftime to a compatibility symbol >=20 > * Szabolcs Nagy via Libc-alpha: >=20 > > The 10/15/2020 10:06, Adhemerval Zanella via Libc-alpha wrote: > >> It was made deprecated on 2.31, so it moves to compat symbol after > >> two releases. It was also removed from exported symbol for riscv32 > >> (since ABI will be supported on for 2.33). > >> > >> Checked on x86_64-linux-gnu and i686-linux-gnu. > >> --- > >> include/sys/timeb.h | 1 - > >> .../unix/sysv/linux/riscv/rv32/libc.abilist | 1 - > >> time/Makefile | 5 +- > >> time/ftime.c | 19 +++++- > >> time/sys/timeb.h | 44 -------------- > >> time/tst-ftime.c | 59 ++++++++++--------= - > >> 6 files changed, 50 insertions(+), 79 deletions(-) delete mode > >> 100644 include/sys/timeb.h delete mode 100644 time/sys/timeb.h > > > > removing sys/timeb.h and ftime breaks several > > spec2006 and spec2017 benchmarks. > > > > which means this header is used in practice, sometimes without > > configure checks. > > > > is there a reason it cannot be supported? >=20 > I think we should minimize the number of time-related symbols, in case we > ever want to provide a dual ABI (with multiple time_t sizes). >=20 > SPEC isn't going to change, so I don't think it makes sense to wait for i= t getting > fixed. That's a pretty hard line to draw.. Yes released version of spec are unlike= ly to change but doesn't mean future versions won't. Has anyone ever pointed this out to the= committee? Regardless the issue now exists that we can't use glibc for benchmark anymo= re and I don't really see a workaround. Yes we can use older glibc versions but then what= 's the point, we'll never see any of the improvements we make anymore. Is there a viable workaround for this? Or do I have to now carry my own ext= ra headers. Regards, Tamar >=20 > Thanks, > Florian > -- > Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn, > Commercial register: Amtsgericht Muenchen, HRB 153243, Managing > Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill