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-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 645FE1F463 for ; Tue, 7 Jan 2020 19:40:56 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-type; q=dns; s=default; b=mbgx jHCHuhQW6IhvPyY/Qh1K4CPODIo3jLiPSRq28wg/GEbtADmybWqnO0cGHZPvQVgj T3RiyHTqXDlg3elPCYFU7bDeL4vXPrHuw1qp1vdo58GlFjIoMBEh15iggozc4pnh g662wDq8Wt///mXRh87DCBX3lrwz5rT5ej7EbNI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-type; s=default; bh=+oCxvnCG8X 2XbAJ3Qo0NhcwIFoY=; b=uNVjKw27oQztW8kVvHTa/16UaHR022yLokOok8QjQi vfgJjRwd8kCpQA7FXuMhwoZTr2EU+KgPG4VhGnrlxfWK955xcYVZc78CZ9gf/abQ EP4o8y6Cp0EJ2ppyjQc7e5q1CyToqiNIdzOAiXFICLWb6/F59YIyXzxLq1bJmNUW 4= Received: (qmail 91726 invoked by alias); 7 Jan 2020 19:40:54 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 91717 invoked by uid 89); 7 Jan 2020 19:40:54 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mail-qv1-f66.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to; bh=XTvOCk4t3WurzReYofAuW03QwhUPkvHgPJvLYcY6iZE=; b=QNPj22fxqguPJW4jDfdPtHkqkFvxDhvy80+U8mG5kDQghGoeIL4lld2HrY2ZqooXUu g9QwdK2KiPnU7+m/lW5mDb8yJsDE3Vw5fJ1YdbYuNbxoy3doHqzGxaizwk/dywXwLuTE n7TadMXctsdfSUrgvxg6E0CIth3Jem+Fd/37aTH8nYWI71nP9ulR1hXxSfYzDwZlW8WU rbqqv2Z8+xZ/LDL7eqKYnYyHfo7k8azWPYRo20U6h9CoVggJk+e2U3kEpZ0quMvvoyME yweTfCQ7dvtJ6hg6x1q2aEURmhY348PLGOhSx7ZQ+63n3KV5jScnmnRTs1zwCJbREzH5 SU0Q== Subject: Re: [PATCH v3 09/16] elf: Move vDSO setup to rtld (BZ#24967) - regression found To: Lukasz Majewski Cc: Siddhesh Poyarekar , libc-alpha@sourceware.org, Szabolcs Nagy , Florian Weimer References: <20191217214728.2886-1-adhemerval.zanella@linaro.org> <20191217214728.2886-9-adhemerval.zanella@linaro.org> <24cb9107-0d17-54c8-f169-fbfdebd0099a@linaro.org> <20200107171308.10b95c37@jawa> From: Adhemerval Zanella Message-ID: <02547f55-2fb3-fa40-96bd-855a4cdec273@linaro.org> Date: Tue, 7 Jan 2020 16:40:46 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20200107171308.10b95c37@jawa> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tGzwOGPa1me4IP7mT4n8oaumEaccujSbR" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tGzwOGPa1me4IP7mT4n8oaumEaccujSbR Content-Type: multipart/mixed; boundary="Eend7jlCPnYUxHN2gl4cbnvOrV0QvmSzf"; protected-headers="v1" From: Adhemerval Zanella To: Lukasz Majewski Cc: Siddhesh Poyarekar , libc-alpha@sourceware.org, Szabolcs Nagy , Florian Weimer Message-ID: <02547f55-2fb3-fa40-96bd-855a4cdec273@linaro.org> Subject: Re: [PATCH v3 09/16] elf: Move vDSO setup to rtld (BZ#24967) - regression found References: <20191217214728.2886-1-adhemerval.zanella@linaro.org> <20191217214728.2886-9-adhemerval.zanella@linaro.org> <24cb9107-0d17-54c8-f169-fbfdebd0099a@linaro.org> <20200107171308.10b95c37@jawa> In-Reply-To: <20200107171308.10b95c37@jawa> --Eend7jlCPnYUxHN2gl4cbnvOrV0QvmSzf Content-Type: text/plain; charset=windows-1252 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 07/01/2020 13:13, Lukasz Majewski wrote: >=20 > Unfortunately this patch caused regression on my ARMv7 32 bit setup. > Please find filled in bugzilla entry: >=20 > https://sourceware.org/bugzilla/show_bug.cgi?id=3D25352 Are you sure you are testing it properly? As indicated by Andreas, it seems a mismatch between ld.so and libc.so. I just setup a debian 9=20 VM with both a 4.9 and 5.4 kernel and a simple test: -- #include int main () { clock_gettime (CLOCK_REALTIME, &(struct timespec) {}); clock_gettime (CLOCK_MONOTONIC, &(struct timespec) {}); clock_gettime (CLOCK_BOOTTIME, &(struct timespec) {}); return 0; } -- does show the expected results. On 4.9 kernel I am seeing: 15:36:06 syscall_0x193(0, 0xbed9a3d8, 0xc8, 0, 0xbed9a3d8, 0) =3D -1 ENOS= YS (Function not implemented) 15:36:06 clock_gettime(CLOCK_BOOTTIME, {tv_sec=3D1303, tv_nsec=3D57079579= 9}) =3D 0 15:36:06 exit_group(0) =3D ? 15:36:06 +++ exited with 0 +++ While on a 5.4 kernel: syscall_0x193(0, 0xbedfb3e8, 0xc8, 0, 0xbedfb3e8, 0) =3D 0 syscall_0x193(0x1, 0xbedfb3e8, 0xc8, 0, 0xbedfb3e8, 0x1) =3D 0 syscall_0x193(0x7, 0xbedfb3e8, 0xc8, 0, 0xbedfb3e8, 0x7) =3D 0 (arm clock_gettime64 vDSO was added on 5.5). --Eend7jlCPnYUxHN2gl4cbnvOrV0QvmSzf-- --tGzwOGPa1me4IP7mT4n8oaumEaccujSbR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEUMEGt8/rO2QSpplaqrHsFKeUiO8FAl4U3r4ACgkQqrHsFKeU iO/5lBAA2U7TRqsAYSLES8u/w9N/6FdTMosci4snxIiz4WrhYh1Lag5pG9/e8xRo 5nohffgUVxE9R+mFHOxpyWIm2J6ue1t7W1eOyHlebEYSyKrInzmIcngKeyAOdE8/ JNQyPM/fTSXUge9myUg/QoXionMDaghnLkPt1mWinL2+WiPBN7GR/sme8JmeRlTG wfD5lbZK7+Cqy4dULSgHJl59PMZrF0KSpYdAxMLB+A/iQDo0kiL5yTI6fawe4Tx3 +YPDbQsED2S3G2d6tOQDER9YA7p7Mz7JTFft7W6kamaRzDRia/sbMXG3ykQrAQYO GnNOvQRqmZerwqL3zZcnHJy8dem6m8Xb/2y9Zy2rVD2m5NVrj9j8CHEw6dyoB0pK oVv3gSLDIcwaaN3ji+z2CTcogUqkg0qx0Y2SdQFfDdx3pcO3DaCDnvrhVKeQdw2Z O0PcL0xgPwwhuFbAUnNjrIhdZGu7Yh8t7umpeUwI7pWc3N2ViQULApAcpaLS8c7U m9RAWFXi2pJ1kBT5WnpHdmxJHOriESVXovmeIK1dqQ8NeHka5aW7jnoK+3cGQeKY 0mrdpx4ceZGn2wuQL8wCTB0A+Xhrv+Pmll9N1u25YT8JAEilDC85JmynjiOHXaP7 sRpkiYHfCZogEsSKyz8Ut8HTjF2vR/kKgbrzVzn8l7//qv5SbVE= =xqN5 -----END PGP SIGNATURE----- --tGzwOGPa1me4IP7mT4n8oaumEaccujSbR--