hi cmsv,

2015-02-01 13:40 GMT+01:00 cmsv <[email protected]>:

> Hello
> I was wondering if you would be able to tell me how many bytes do the
> final binaries get to be with hardened options versus without it.
> Do they enlarge much more ?
>
> On 02/01/2015 07:34 AM, Etienne Champetier wrote:
> >> PKG_CC_STACKPROTECTOR_STRONG
> >> KERNEL_CC_STACKPROTECTOR_STRONG
> >> PKG_FORTIFY_SOURCE_2
> >> PKG_RELRO_FULL
>

I haven't check that all packages are compiled properly (some packages
might overwrite the compilation flags or ...),
but just activating these options (and using gcc 4.9 in both case),
my sysupgrade image go from 6356992 to 6422528

see http://pastebin.com/eirgSC3J for more numbers

Regards
Etienne
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to