From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751723AbbHRABp (ORCPT ); Mon, 17 Aug 2015 20:01:45 -0400 Received: from terminus.zytor.com ([198.137.202.10]:56819 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751050AbbHRABn (ORCPT ); Mon, 17 Aug 2015 20:01:43 -0400 User-Agent: K-9 Mail for Android In-Reply-To: References: <20150814071500.GA2678@gmail.com> <20150817080143.GA16928@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [GIT PULL] x86 fixes From: "H. Peter Anvin" Date: Mon, 17 Aug 2015 17:01:13 -0700 To: Andy Lutomirski , Ingo Molnar CC: Linus Torvalds , Juergen Gross , Andy Lutomirski , Linux Kernel Mailing List , Thomas Gleixner , Peter Zijlstra , Brian Gerst , Denys Vlasenko , Andrew Morton Message-ID: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I ran a hacked Qemu with FPU off. On August 17, 2015 4:59:18 PM PDT, Andy Lutomirski wrote: >On Mon, Aug 17, 2015 at 1:01 AM, Ingo Molnar wrote: >> So when I re-introduced static allocations math-emu started working >again, to a >> limited degree: on a modern distro, trying to boot /bin/bash I got a >prompt, but >> various programs would segfault. I did not investigate it any deeper, >I suppose >> the FPU emulation does not go far enough for modern user-space, or >maybe it has >> more bugs. >> > >Were you testing with just no387 or did you run a VM with SSE2 and >such turned off? > >There's a *lot* of userspace that incorrectly checks for instructions >without checking for the state support. I've filed bugs against >libgcc for this and they're still not fixed IIRC. > >--Andy -- Sent from my Android device with K-9 Mail. Please excuse my brevity.