From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 71116] [any/all(?) cards below nv50(?)] libdrm built with gcc4.8 causes crashes/lockups during normal operation, and resume from disk/memory Date: Thu, 07 Nov 2013 10:31:40 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0058422481==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0058422481== Content-Type: multipart/alternative; boundary="1383820300.cC7a2.8672"; charset="us-ascii" --1383820300.cC7a2.8672 Date: Thu, 7 Nov 2013 10:31:40 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=71116 --- Comment #20 from Maarten Lankhorst --- Created attachment 88817 --> https://bugs.freedesktop.org/attachment.cgi?id=88817&action=edit hack to force defined behavior As I feared, recompiling only pushbuf.c with gcc-4.7 fixes this bug. So something in pushbuf.c is miscompiled. Unfortunately it's also the biggest abuser of post increment ops. A simple workaround seems to be this patch. -- You are receiving this mail because: You are the assignee for the bug. --1383820300.cC7a2.8672 Date: Thu, 7 Nov 2013 10:31:40 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 20 on bug 71116 from
Created attachment 88817 [details] [review]
hack to force defined behavior

As I feared, recompiling only pushbuf.c with gcc-4.7 fixes this bug. So
something in pushbuf.c is miscompiled. Unfortunately it's also the biggest
abuser of post increment ops.

A simple workaround seems to be this patch.


You are receiving this mail because:
  • You are the assignee for the bug.
--1383820300.cC7a2.8672-- --===============0058422481== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0058422481==--