Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41630 - prepstrip check for text relocations in shared objects (-fPIC)
Summary: prepstrip check for text relocations in shared objects (-fPIC)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-02-14 23:30 UTC by solar (RETIRED)
Modified: 2004-06-26 21:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description solar (RETIRED) gentoo-dev 2004-02-14 23:30:56 UTC
The results of the last Managers meeting is that the PIC policy seems to 
have been accepted (xml writing pending). So to prepare for this change   
I've put together a patch that checks shared objects for text
relocations.

If the shared object is found to contain any text relocations then the 
script will echo the name of where it will be installed to.

It strict is set in FEATURES it will print a more verbose message, ask    
for help if the user is a coder and then and exit with a value of 1

This recent --strip-uneeded update makes the isetdyn check obsolete thus 
why it's removed in this patch.

Note: 
I'm a rather hardcore PIC fan so none/very few of my shared objects should have this behavior so I've not actually gotten a warning displayed yet. 

Testing welcome.
Comment 1 solar (RETIRED) gentoo-dev 2004-03-10 10:30:39 UTC
Attachment get removed? Did I forget to actually attach the attachment or give a url. shrug.

http://dev.gentoo.org/~solar/portage_misc/prepstrip-1.17.diff

Anyway it works as expected.
Comment 2 solar (RETIRED) gentoo-dev 2004-06-26 21:32:28 UTC
This is in portage. Thanks closing bug.