Statically linking fortify functions

Mike Hearn mike@navi.cx
Sun Mar 6 15:55:00 GMT 2005


Hi,

When using FORTIFY_SOURCE I think some new symbols are required from very
recent glibcs. This makes sense when you are compiling binaries just for
your own system or distribution but it'd be nice to be able to statically
link this code (the *_chk functions etc) so fortified binaries can be run
on older systems. Is this possible? If so, how do you do it?

thanks -mike



More information about the Gcc mailing list