gentoo-hardened April 2008 archive
Main Archive Page > Month Archives  > gentoo-hardened archives
gentoo-hardened: Re: [gentoo-hardened] Error setting up Xorg 7.3

Re: [gentoo-hardened] Error setting up Xorg 7.3 on Gentoo Hardened (PaX + grsecurity)

From: <pageexec_at_nospam>
Date: Thu Apr 17 2008 - 13:15:28 GMT
To: gentoo-hardened@lists.gentoo.org


On 17 Apr 2008 at 5:35, Gordon Malm wrote:

> I suspect you are having the same problem I just ran into last night on x86.
>
> scanelf -a /usr/lib64/xorg/modules/drivers/i810_drv.so will show that
> i810_drv.so is linked bind NOW rather than LAZY.
>
> I think an eclass or the ebuild itself should be taking care of this, but I
> haven't looked into it/filed a bug yet. Will soon. For now you can work
> around it like this:
>
> LDFLAGS="-Wl,-z,lazy" emerge xf86-video-i810

BIND_NOW behaviour has always been an issue with the module loader of X and i have faint memories of discussions with ajax that the eventual goal would be to fix the ELF loader (or add explicit LoadSubModule calls where needed). so you may want to ask the X guys about this issue before jumping to the workaround. -- gentoo-hardened@lists.gentoo.org mailing list