Re: [GIT PULL] x86 fixes

From: Ingo Molnar
Date: Tue Aug 18 2015 - 03:55:28 EST



* Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:

> On Mon, Aug 17, 2015 at 1:01 AM, Ingo Molnar <mingo@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/