Skip to contentSkip to conversation

Adding --enable-checking=release to gcc

DISCUSSION Khem Raj 1 participant 1 message Apr 7, 2012

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I added the above option to gcc and did core-image-sato build to see if I would gain some compile time performance.

http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/gcc-4.7&id=2d7004457a23c6c952f81e55b8ab7e3cc69bd905

The results were not very astounding but I do see some improvement

original

real    102m50.131s
user    437m7.463s
sys     67m29.237s

with --enable-checking=release

real    102m19.762s
user    439m41.749s
sys     66m10.376s

This was using shared state for native packages but cross packages were all built too. overall gain in pecents will be more since we would then
subtract the time it took to compile the cross tools.

This patch is for gcc-4.7 recipes as of now.

Thanks
- -Khem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9/42cACgkQuwUzVZGdMxS41wCfZb8YPP12HeWY35FGZINTc/+z Ar0AniVM2osnwuPJFpgO2P/QrurW6HHl
=HzWp
-----END PGP SIGNATURE-----