hardening breaks X.org

Baoquan He bhe at redhat.com
Wed Apr 15 09:08:48 UTC 2015


On 03/01/15 at 08:16pm, David Airlie wrote:
> So the rebuild to use hardened builds by default in rawhide, broke X.org.
> 
> Thanks guys, my system is more secure, but I can't run any apps.
> 
> Anyways enough snark from me, the problem seems to be that hardening
> makes bind now override RTLD_LAZY options, and the X server relies
> on the RTLD_LAZY on its drivers being lazy.
> 

Hi,

I got this problem too on kexec-tools package building. Linker
asked me to add "-fPIC" and recompile.

So what is suggested to do?

Turn it off or just make change as compiler/linker suggested?

Thanks
Baoquan

> So should I
> 
> a) turn off hardened builds for all Xorg server/driver packages?
> 
> b) or is there a way to get partial relro back?
> 
> Dave.
> -- 
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct


More information about the devel mailing list