From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751693AbbHRHzZ (ORCPT ); Tue, 18 Aug 2015 03:55:25 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:37964 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751153AbbHRHzY (ORCPT ); Tue, 18 Aug 2015 03:55:24 -0400 Date: Tue, 18 Aug 2015 09:55:20 +0200 From: Ingo Molnar To: Andy Lutomirski Cc: Linus Torvalds , Juergen Gross , Andy Lutomirski , Linux Kernel Mailing List , Thomas Gleixner , "H. Peter Anvin" , Peter Zijlstra , Brian Gerst , Denys Vlasenko , Andrew Morton Subject: Re: [GIT PULL] x86 fixes Message-ID: <20150818075520.GB32338@gmail.com> References: <20150814071500.GA2678@gmail.com> <20150817080143.GA16928@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * 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. I tested relatively ancient user-space, 2007 era Fedora Core 6 - but I didn't check whether it's truly SSE-less (it probably isn't). Thanks, Ingo