From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from pegase1.c-s.fr (pegase1.c-s.fr [93.17.236.30]) by sourceware.org (Postfix) with ESMTPS id 29D2A383F852; Sat, 30 May 2020 15:37:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 29D2A383F852 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=csgroup.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=christophe.leroy@csgroup.eu Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 49Z5DF40wJz9v6b0; Sat, 30 May 2020 17:37:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id GgYPmaTC_Rmm; Sat, 30 May 2020 17:37:49 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 49Z5DF2w3Bz9v6Zy; Sat, 30 May 2020 17:37:49 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 7A1768B7B1; Sat, 30 May 2020 17:37:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id n52eMljr_spt; Sat, 30 May 2020 17:37:51 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id EC6238B75E; Sat, 30 May 2020 17:37:50 +0200 (CEST) Subject: Re: ppc64le and 32-bit LE userland compatibility To: Will Springer , linuxppc-dev@lists.ozlabs.org Cc: libc-alpha@sourceware.org, eery@paperfox.es, daniel@octaforge.org, musl@lists.openwall.com, binutils@sourceware.org, libc-dev@lists.llvm.org References: <2047231.C4sosBPzcN@sheen> From: Christophe Leroy Message-ID: <8be94d2e-8e20-52b6-22e6-152b79a94139@csgroup.eu> Date: Sat, 30 May 2020 17:37:43 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <2047231.C4sosBPzcN@sheen> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 May 2020 15:37:55 -0000 Le 29/05/2020 à 21:03, Will Springer a écrit : [...] > > Also worth noting is the one other outstanding bug, where the time-related > syscalls in the 32-bit vDSO seem to return garbage. It doesn't look like an > endian bug to me, and it doesn't affect standard syscalls (which is why if you > run `date` on musl it prints the correct time, unlike on glibc). The vDSO time > functions are implemented in ppc asm (arch/powerpc/kernel/vdso32/ > gettimeofday.S), and I've never touched the stuff, so if anyone has a clue I'm > all ears. > There is a series at https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=173231 to switch powerpc to the Generic C VDSO. Can you try and see whether it fixes your issue ? Christophe