From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wnew3-smtp.messagingengine.com (wnew3-smtp.messagingengine.com [64.147.123.17]) by sourceware.org (Postfix) with ESMTPS id 2EB1C3858D1E for ; Fri, 30 Sep 2022 14:56:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2EB1C3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arndb.de Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.west.internal (Postfix) with ESMTP id C1E9E2B06A52; Fri, 30 Sep 2022 10:56:54 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Fri, 30 Sep 2022 10:56:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1664549814; x=1664553414; bh=M3cXPN1Uq5 dTtYHhNvgnjMoyzg3HeKZoqpf/VyOyg4g=; b=LhPHR2jLGAoyh37URnNEScyNe4 RobVzvzkFRV3QFVmyWJEgsLAqX+7/mQbVOuGTHqU3GOE19nbrkLMn5FAaPsImxqC ipYXxvcCwfoKlmEyuH0W7ASWBSNGOLUqarknUF8e1sevZOIw7EL8V1/gWoPvCcYO WTEaNuIcYshC5W8Sb9QmjWODI4x4GaSPXJ94+JLtEwHAzTe5deP6NQX+BmWJCxMH zbUgFfBsYaclnuxpNJ6P4ukVw0zk3wANJXfmY0qIvQhMy9nBQWcanwIB3bivatlB brywfmRQfKW3zIkdhX/1FHwVBrIOWieLhm2Z5tWen/BoHM2aRAODtgNuN1Jw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1664549814; x=1664553414; bh=M3cXPN1Uq5dTtYHhNvgnjMoyzg3H eKZoqpf/VyOyg4g=; b=oJt6Wd0cJAHx7aashFieD9Qqw8wKaqStJSKsWDpiQ/hD xqPOvOAvjTwb6q7ONoCSHCowjS9SZsPK7z331Yw++8mYQPxM4ihwS7r9fgepPKZ0 rEtgtjCPWV2whpyo6Ah5ui1rBgxc/H3BauBPSpFlB2d8McTVM5uNxhLuHd7WmgYS 1AG6l6skaFYyXpbYgu979BHKl6yTOELljKIaaNunGz5lRT3ZvMpgZKAd0vcK6nUh /ase/Zj5i9AbxTsbjnpwudaVb8ohRPwIiJp+lQx2MdGOsKlgsbKI0DKYvjwT21fp bsOJetRAR1F7ZlS+H4GBpMoF7QCZq5nwhml7BzCKTw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeehvddgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeegvdeuffelvdfhuddvgeehgffgheevuddtieegjeettdeiiefgtddvgfevfeei tdenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheprghrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 1B843B60086; Fri, 30 Sep 2022 10:56:53 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-968-g04df58079d-fm-20220921.001-g04df5807 Mime-Version: 1.0 Message-Id: <2eb53654-6374-41e2-b84d-908cd5b8f9ee@app.fastmail.com> In-Reply-To: References: <20220127201542.2306657-1-adhemerval.zanella@linaro.org> <20220127201542.2306657-3-adhemerval.zanella@linaro.org> <9a7585d4-45de-d957-f746-770bc2abf55e@linaro.org> Date: Fri, 30 Sep 2022 16:56:33 +0200 From: "Arnd Bergmann" To: "Adhemerval Zanella Netto" , "Xi Ruoyao" Subject: Re: [PATCH v5 2/3] linux: Fix ancillary 64-bit time timestamp conversion (BZ #28349, BZ#28350) Content-Type: text/plain X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,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 Fri, Sep 30, 2022, at 3:46 PM, Adhemerval Zanella Netto via Libc-alpha wrote: > On 30/09/22 10:09, Arnd Bergmann wrote: >> On Fri, Sep 30, 2022, at 2:51 PM, Adhemerval Zanella Netto via Libc-alpha wrote: >>> On 30/09/22 09:31, Szabolcs Nagy wrote: >>>>> >>>>> I used gcc 12.1.1, maybe it is a compiler issue? >>>> >>>> sorry it was my fault: old kernel headers. >>> >>> Right, but I am puzzled since it should not matter (at least glibc >>> should handle it). >>> What was miscompiled due wrong kernel header? >> >> Using SIOCGSTAMP/SIOCGSTAMPNS wtih 64-bit time_t requires kernel >> headers after this 2019 commit: >> >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0768e17073dc52 > > But glibc does not use these definition internally or on tests. My mistake. SO_TIMESTAMPNS was a different commit, this is the one you need then: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=887feae36a Arnd