From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 96835] "gallium: Force blend color to 16-byte alignment" crash with "-march=native -O3" causes some 32bit games to crash Date: Fri, 08 Jul 2016 03:11:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0952554902==" 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 0C7426E85D for ; Fri, 8 Jul 2016 03:11:43 +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 --===============0952554902== Content-Type: multipart/alternative; boundary="14679475020.61DAFD.12920"; charset="UTF-8" --14679475020.61DAFD.12920 Date: Fri, 8 Jul 2016 03:11:42 +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=3D96835 --- Comment #7 from Roland Scheidegger --- On second look, I am actually wondering if that commit really is doing the right thing. Shouldn't we try to set the alignment on the struct itself instead? And regardless, if someone uses an ordinary malloc for it it's not going to be aligned anyway (meaning if it's passed to drivers somewhere and= the called functions are relying on this to be aligned they might be in for some surprise). (That said I have no idea if this is really related to this bug.) --=20 You are receiving this mail because: You are the assignee for the bug.= --14679475020.61DAFD.12920 Date: Fri, 8 Jul 2016 03:11:42 +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

Comment= # 7 on bug 96835<= /a> from Roland Scheidegger
On second look, I am actually wondering if that commit really =
is doing the
right thing. Shouldn't we try to set the alignment on the struct itself
instead? And regardless, if someone uses an ordinary malloc for it it's not
going to be aligned anyway (meaning if it's passed to drivers somewhere and=
 the
called functions are relying on this to be aligned they might be in for some
surprise).

(That said I have no idea if this is really related to this bug.)


You are receiving this mail because:
  • You are the assignee for the bug.
= --14679475020.61DAFD.12920-- --===============0952554902== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0952554902==--