[Bug 107655] X segfaults on startup in r300_dri.so, making system unusable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 27 14:47:48 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107655

Sergey Kondakov <virtuousfox at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://bugzilla.opensuse.o
                   |                            |rg/show_bug.cgi?id=1105608

--- Comment #4 from Sergey Kondakov <virtuousfox at gmail.com> ---
(In reply to Michel Dänzer from comment #3)
> GCC's libstdc++ code crashes trying to use an instruction not supported by
> your CPU. You need to report this to your distro.

So, I've bothered my distro's bugzilla, and gcc's, then figured out why it was
crashing: Mesa doesn't like being built with clang/gold and ThinLTO (Mesa
doesn't build via gcc with LTO and openSUSE's OBS can't handle gcc's LTO
implementation even if it would). I don't know the actual reason of the crash
but the guys there figured out that the crash was coming from AVX instruction
in Mesa's SWR code. The affected machine does not support any kind of AVX, so
it threw out the error. But it's unclear why SWR even been trying to initialize
during the load of r300_dri. If built without any {C,LD}FLAGS and with gcc,
nothing crashes even with SWR built and installed. And there is no trace of SWR
doing things at boot on AVX-capable amdgpu/radeonsi machine even with clang's
build.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180827/8110922e/attachment.html>


More information about the dri-devel mailing list