From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19718 invoked from network); 12 Jun 2020 05:13:35 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 12 Jun 2020 05:13:35 -0000 Received: (qmail 21688 invoked by uid 550); 12 Jun 2020 05:13:28 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 21658 invoked from network); 12 Jun 2020 05:13:28 -0000 X-Virus-Scanned: Debian amavisd-new at c-s.fr X-Virus-Scanned: amavisd-new at c-s.fr 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> <8be94d2e-8e20-52b6-22e6-152b79a94139@csgroup.eu> <2498690.q0ZmV6gNhb@sheen> <1787237.g5d078U9FE@sheen> From: Christophe Leroy Message-ID: Date: Fri, 12 Jun 2020 07:13:08 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <1787237.g5d078U9FE@sheen> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Subject: [musl] Re: ppc64le and 32-bit LE userland compatibility Le 06/06/2020 à 01:54, Will Springer a écrit : > On Saturday, May 30, 2020 3:17:24 PM PDT Will Springer wrote: >> On Saturday, May 30, 2020 8:37:43 AM PDT Christophe Leroy wrote: >>> 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 >> >> Sure thing, I spotted that after making the initial post. Will report >> back with results. >> >> Will [she/her] > > Sorry for the wait, I just sat down to work on this again yesterday. > > Tested this series on top of stable/linux-5.7.y (5.7.0 at the time of > writing), plus the one-line signal handler patch. Had to rewind to the > state of powerpc/merge at the time of the mail before the patch would > apply, then cherry-picked to 5.6 until I realized the patchset used some > functionality that didn't land until 5.7, so I moved it there. > > Good news is that `date` now works correctly with the vdso call in 32-bit > LE. Bad news is it seems to have broken things on the 64-bit side—in my > testing, Void kicks off runit but hangs after starting eudev, and in a > Debian Stretch system, systemd doesn't get to the point of printing > anything whatsoever. (I had to `init=/bin/sh` to confirm the date worked > in ppcle, although in ppc64le running `date` also hung the system when it > made the vdso call...) Not sure how to approach debugging that, so I'd > appreciate any pointers. > Does it breaks only ppc64le vdso or also ppc64 (be) vdso ? I never had a chance to run any test on ppc64 as I only have a kernel cross compiler. Would you have a chance to build and run vdsotest from https://github.com/nathanlynch/vdsotest ? Thanks Christophe