CONFIG_PAX_NOELFRELOCS, DRI, etc.

Declan Moriarty junk_mail at iol.ie
Wed Jan 25 12:52:21 PST 2006


Recently, Somebody Somewhere wrote these words
> Make sure to use the xorg-6.8.2-libGL_PIC-1.patch patch; and the et_dyn.tar.gz 
> package is not needed with glibc's newer than 2.3.2.

The readme sure was informative, though. I didn't install
the et_dyn.tar.gz file - I wasn't in a hurry to attack glibc!
> 
> robert
> 
The xorg-6.8.2-libGL_PIC-1.patch fails to apply.

Here's the patch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff -ruN xc-old/extras/Mesa/src/mesa/x86/glapi_x86.S
xc/extras/Mesa/src/mesa/x86/glapi_x86.S
--- xc-old/extras/Mesa/src/mesa/x86/glapi_x86.S 2004-08-28
04:28:19.000000000 +0000
+++ xc/extras/Mesa/src/mesa/x86/glapi_x86.S     2004-10-25
09:21:26.420017064 +0000
@@ -106,6 +106,8 @@
 EXTERN GLNAME(_glapi_get_dispatch)
 #endif

+.section Gltext, "awx"
+
                ALIGNTEXT16 ; GLOBLGLNAME(gl_dispatch_functions_start):
GLNAME(gl_dispatch_functions_start):

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
But there seems to be extra code in there. Here's glapi_x86.S

Line 132----------------------------------------------------

EXTERN GLNAME(_glapi_get_dispatch)
#endif

#if defined( GLX_USE_TLS )
                .section        wtext, "awx", @progbits
#endif /* defined( GLX_USE_TLS ) */

                ALIGNTEXT16
                GLOBL GLNAME(gl_dispatch_functions_start)
                HIDDEN(GLNAME(gl_dispatch_functions_start))
GLNAME(gl_dispatch_functions_start):
---------------------------------------------------------------

Now it's all Greek to me, but they don't look like each other.
Of the Xorg-6.8.2 patches, only one hunk of the -nonow patch goes,
and that does little or nothing. I had to modify the gcc specs
file to get past -nonow in the X server.

Is the sky going to fall in because I have to compile with -nonow,
or -no-pie? Are these serious limitations?

-- 

	With best Regards,


	Declan Moriarty.



More information about the hlfs-dev mailing list