From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107655] X segfaults on startup in r300_dri.so, making system unusable Date: Mon, 27 Aug 2018 14:47:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1966279412==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 0497D6E05D for ; Mon, 27 Aug 2018 14:47:48 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1966279412== Content-Type: multipart/alternative; boundary="15353812670.074EC.13976" Content-Transfer-Encoding: 7bit --15353812670.074EC.13976 Date: Mon, 27 Aug 2018 14:47:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D107655 Sergey Kondakov changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://bugzilla.opensuse.o | |rg/show_bug.cgi?id=3D11056= 08 --- Comment #4 from Sergey Kondakov --- (In reply to Michel D=C3=A4nzer 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 cra= sh but the guys there figured out that the crash was coming from AVX instructi= on 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 initia= lize 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --15353812670.074EC.13976 Date: Mon, 27 Aug 2018 14:47:47 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Sergey Kondakov changed bug 10765= 5
What Removed Added
URL   https://bugzilla.opensuse.org/show_bug.cgi?id=3D1105608

Commen= t # 4 on bug 10765= 5 from Sergey Kondakov
(In reply to Michel D=C3=A4nzer from comment #3)
> GCC's libstdc++ code crashes trying to use an in=
struction 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 cra=
sh
but the guys there figured out that the crash was coming from AVX instructi=
on
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 initia=
lize
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.
= --15353812670.074EC.13976-- --===============1966279412== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1966279412==--