Bug fixes for -Os issues in GCC 4.5.x in Linaro?
Hello, could you please provide some comments about the state of "-Os" (optimising for size) in the gcc 4.5.x versions of Linaro's tool chain? It appears there are a number of issues with recent versions of GCC that get triggered when optimising for size, for example http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45052 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44392 Some other projects like the Linux Foundation driven Poky (resp. Yocto project) capitulated and stopped using -Os, see for example here: http://thread.gmane.org/gmane.linux.embedded.poky/2311/focus=2565 On the other hand, I can see that Linaro even adds improvements for "-Os", see for example here: http://thread.gmane.org/gmane.linux.linaro.toolchain/367 So I wonder what the state of these problems with "-Os" is in the Linaro tool chain? Have these issues been solved, and is "-Os" reliably working with the Linaro tool chain? Thanks in advance. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de The optimum committee has no members. - Norman Augustine ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
Re: Bug fixes for -Os issues in GCC 4.5.x in Linaro?
On 2011/1/25 04:22, Wolfgang Denk wrote: > Hello, > > could you please provide some comments about the state of "-Os" > (optimising for size) in the gcc 4.5.x versions of Linaro's tool > chain? > > It appears there are a number of issues with recent versions of GCC > that get triggered when optimising for size, for example > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45052 > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44392 > > Some other projects like the Linux Foundation driven Poky (resp. > Yocto project) capitulated and stopped using -Os, see for example > here: > http://thread.gmane.org/gmane.linux.embedded.poky/2311/focus=2565 > > > On the other hand, I can see that Linaro even adds improvements for > "-Os", see for example here: > http://thread.gmane.org/gmane.linux.linaro.toolchain/367 > > > So I wonder what the state of these problems with "-Os" is in the > Linaro tool chain? Have these issues been solved, and is "-Os" > reliably working with the Linaro tool chain? Well, a check of the ChangeLogs show that PR45052 should be fixed on the upstream 4.5 branch, which Linaro 4.5 has updated past by now. PR44392 is fixed on trunk, though not backported to 4.5 yet. Ramana, I see this was fixed by you upstream, care to backport this? (maybe on upstream gcc-4_5-branch too) Do you have any more specific cases/PRs, or is this all that's on your current list? Thanks, Chung-Lin ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
Re: Bug fixes for -Os issues in GCC 4.5.x in Linaro?
> PR44392 is fixed on trunk, though not backported to 4.5 yet. Ramana, I > see this was fixed by you upstream, care to backport this? (maybe on > upstream gcc-4_5-branch too) Chung-Lin: Sorry, it seems to be one of those patches that has slipped out of the net. I noticed this last night and kicked off a backport and a test upstream and that seems to have finished alright . cheers Ramana > > Thanks, > Chung-Lin > ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain