The value of recompiling system libs for a specific cpu???

JD Runyan jrunyan.lists at dms.nwcg.gov
Sun Oct 6 21:54:43 CDT 2002


On Sun, 2002-10-06 at 21:33, Steven Elling wrote:
> One advantage to recompiling all libs is that you can disable the build of 
> static libraries and enable the build of shared libraries.  Why?  Less space 
> to be taken up on your drive in most cases.  Some builds enable both static 
> and shared libs by default and other libs that depend on one of these libs 
> may default to using the static lib over the shared version.  Also, if you 
> don't already know, static libs get linked in at compile time not run time, 
> therefore, you end up with two copies of the lib and twice the amount of 
> drive space used.
One advantage would be to disable the building of shared libs for
security purposes.  As stated above shared libs are loaded at run time,
and thus if you get owned, a shared lib could be swapped, and your
seemingly innocent pograms could be doing the dirty deeds of the boxes
new owner.
-- 
Jason D. Runyan
USDA NITC KC
Mid-Range Systems




More information about the Kclug mailing list