Summary: | DRI libs relocation problems on hardened systems | ||
---|---|---|---|
Product: | DRI | Reporter: | Declan Moriarty <junk_mail> |
Component: | libGL | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | high | ||
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Declan Moriarty
2006-01-25 00:24:48 UTC
That error should be: "Cannot make segment writable for relocation. Permission denied" I have this refined somewhat. Reading the readme in the et_dyn.tar.gz file referenced in the kernel help (under CONFIG_PAX_NOELFRELOCS) indicates that it is the -pie option in gcc which is causing trouble. This position independent feature is nobbled by any text relocations, which, apparently fix a position. Inserting '-no-pie' where I thought it would help (in the many GL directories) got me a version of libGL.so.1.2 with no TEXTRELs. I have not to date got a version of any of the following without text relocations. glxinfo glsgears xdriinfo radeon_drv.so Compiler options are tricky on hardened systems, as the compiler throws a set of hardening options by default, some of which can be overridden by command line stuff On Xorg-6.9.0, this turns out to be an X problem and may advantageously be labelled as such by someone handling it. The full list of problem programs & libs are all linked against libGL.so.1, which (I must correct myself) contains a Textrel. http://www.linuxfromscratch.org/hlfs/view/unstable/glibc/chapter02/pie.html /wallows out of his depth, then gradually sinks. |
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.