Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 79775

Summary: xlockmore is suid root yet uses lazy bindings when linking
Product: Gentoo Linux Reporter: Stefan Sperling <stsp>
Component: Current packagesAssignee: Jonathan Smith (RETIRED) <smithj>
Status: RESOLVED FIXED    
Severity: normal CC: desktop-misc, iyosifov
Priority: Highest    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to make the xlockmore ebuild append the flags by default

Description Stefan Sperling 2005-01-27 13:34:07 UTC
while compiling xlockmore, I saw the following message scroll by:

QA Notice: /usr/bin/xlock is setXid, dynamically linked and using lazy bindings.
This combination is generally discouraged. Try: CFLAGS='-Wl,-z,now' emerge xlockmore

Why not append-flags '-Wl,-z,now' by default?
Comment 1 Stefan Sperling 2005-01-27 13:36:42 UTC
Created attachment 49687 [details, diff]
patch to make the xlockmore ebuild append the flags by default
Comment 2 Jonathan Smith (RETIRED) gentoo-dev 2005-06-22 15:23:32 UTC
your patch didn't apply cleanly to the most recent version, but i fixed the
problem in 5.17-r1

thanks for the info