http://bugs.freedesktop.org/show_bug.cgi?id=7459


Hugo Mildenberger <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]
                   |                            |online.de




--- Comment #18 from Hugo Mildenberger <[EMAIL PROTECTED]>  2008-11-18 03:35:43 
PST ---
(In reply to comment #17)
> Just do `make -C src/mesa/glapi' before you start the rest of the build
> (assuming you have the xserver code and python available). But, it's probably
> easier to just do it once and roll that into your patch.

Perhaps it is too early for a combined patch-set. I went along here because I
was after the original issue which lead to this particular bug report, and
somehow resurfaced on Gentoo hardened, if programs linked against libGL run
under a PAX enabled kernel. All these will be aborted, within each and every
GL_STUB() entry in glapi_x86.S, if paxctl -m is not run on that program, taking
down protection against text segment writes.

So, looking closely at glapi_x86.S and it's commit history, I found that Brian
Paul already added the  GLX_X86_READONLY_TEXT preprocessor symbol in order to
deal with exactly that situation, but until today there are no provisions made
to activate it during package build. 

But activating it seems to expose a bug elsewhere in mesa. I already described
the problem in depth at http://bugs.gentoo.org/show_bug.cgi?id=240956 (scroll
down) and did also attach there a patch against configure.ac, which does add a
configure option named "--enable-glx-rts", defining the above mentioned symbol
upon request.







-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to