From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-x931.google.com (mail-ua1-x931.google.com [IPv6:2607:f8b0:4864:20::931]) by sourceware.org (Postfix) with ESMTPS id 0170B3858D38 for ; Fri, 30 Sep 2022 13:46:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0170B3858D38 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ua1-x931.google.com with SMTP id a4so1743696uao.0 for ; Fri, 30 Sep 2022 06:46:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=SDICnywPRQMoZkvbMA01A+eytyegrfgNh10/AWVycHg=; b=l8IHiutDiDyegq8VN+RRnxEzWp7WgWA8ILvHKPSVsFcvJKz/mf1P+HNkdaDj23W4b1 VG5N5vi01fc4Io9fvqG7rU2Djh2nvQmxLo8VmNGad1EbvybQFlVqhiZt/9Ly1VdImPh9 ChecfQB+K9W4Eo4UacXeJ4CjudhOyxcvkiP7nSrydAMiecCNcmgIi90JgOgc/e1wNV9+ MZNiWf6QgGX1rRUWlF8eedidO9ibssSGYhYnJnJ+ftGNHY+NfjiRVfOnl54EmJthDmg3 JS0nJMZhVvVQ6+OYSqNuaRvYR12wTU0kRWC7KVuh2guP53pbBs7CebOgJCGgYBgwB6U8 OoEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=SDICnywPRQMoZkvbMA01A+eytyegrfgNh10/AWVycHg=; b=FruvdmBAqszwgPeUaNSc1MP7w531J1A6tloXLiqx2OE1KpJOr4ja6DK8DoMlkazM7+ GkOHa6orN4yRgrLf9yu+qDc0EOoh6yeFV+fKM/uy2JIAUsfZOEUhpPq0xjMR8MN2RHsb AoSqP6Wg4csnlXl0TX4OTNr2VZfRPk6N0p3P0RWRue3cXh0L6XWgmpm8jCayALdMjDRf 6reqh07loAHEx4EYKlx2WQmI5OK9KSF27pVC5f+O5WamCHNG1j1Gj9Gq7XsHErdZiVTk ctwZdljD9sKDOhaSgKw651S8cpjrBp8lCTxUUPeylY23BKJ+0QQ+kR8viEmE3tt7MXRK bQ3g== X-Gm-Message-State: ACrzQf1ldJ11oHrRIgJNpdhtr/h4wUIG1Au9XX+QOunOGuMC7+5zsDeS +idHXtigrepashW9WwpvoJSWIvAQVNZa/EDs X-Google-Smtp-Source: AMsMyM6LYA1G3hh3rGVAboLy3UTIk3hGhUizRNhfSEFmW7M02t30B/y2AwGt5MKhcLWoAq9fdXBZ/Q== X-Received: by 2002:ab0:16d0:0:b0:3d1:5f95:274e with SMTP id g16-20020ab016d0000000b003d15f95274emr4740183uaf.93.1664545573536; Fri, 30 Sep 2022 06:46:13 -0700 (PDT) Received: from ?IPV6:2804:1b3:a7c2:3736:5474:7f48:dc74:6616? ([2804:1b3:a7c2:3736:5474:7f48:dc74:6616]) by smtp.gmail.com with ESMTPSA id l10-20020ac5c34a000000b003a46d10e5cesm1774769vkk.13.2022.09.30.06.46.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Sep 2022 06:46:13 -0700 (PDT) Message-ID: Date: Fri, 30 Sep 2022 10:46:11 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH v5 2/3] linux: Fix ancillary 64-bit time timestamp conversion (BZ #28349, BZ#28350) Content-Language: en-US To: libc-alpha@sourceware.org References: <20220127201542.2306657-1-adhemerval.zanella@linaro.org> <20220127201542.2306657-3-adhemerval.zanella@linaro.org> <9a7585d4-45de-d957-f746-770bc2abf55e@linaro.org> From: Adhemerval Zanella Netto Organization: Linaro In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,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 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 > > Arnd But glibc does not use these definition internally or on tests.