Bug 8392

Summary: __GLX_ALIGN64 must be re-enabled on some architectures
Product: xorg Reporter: Jurij Smakov <jurij>
Component: Server/Ext/GLXAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: high CC: fmccor
Version: 7.1 (2006.05)   
Hardware: SPARC   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Proposed patch none

Description Jurij Smakov 2006-09-21 23:49:53 UTC
Hi,

During the transition to the modular xorg, the logic setting the variable
__GLX_ALIGN64 on some arches was lost. As pointed out in
http://lists.freedesktop.org/archives/xorg/2006-September/018288.html it was
probably not intentional, as setting this variable activates the code taking
care of alignment issues. Without it the binaries might crash on the
architectures with strict alignment requirements. I have discovered this bug
while investigating the SIGBUS in xvfb on Debian sparc
(http://bugs.debian.org/388125).

Best regards,

Jurij Smakov
Comment 1 Jurij Smakov 2006-09-21 23:52:49 UTC
Created attachment 7116 [details] [review]
Proposed patch

This is a candidate patch for the problem. It re-enables __GLX_ALIGN64 on
arches where it was enabled in monolithic builds (according to imake/xmkmf's
xorg.cf). I've tested the xvfb built with this patch included, and it no longer
fails with SIGBUS. That was pretty much the only thing I tested, and did so on
sparc only.

Jurij.
Comment 2 Daniel Stone 2007-02-27 01:33:39 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 3 Michel Dänzer 2008-07-07 04:11:51 UTC
*** Bug 5622 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.