Re: Likely gcc-linaro-4.5-2011.05 misoptimization in libgui (Android)

2011-06-12 Thread Michael Hope
On Mon, Jun 13, 2011 at 9:20 AM, Zach Pfeffer wrote: > What's the root problem? Is there anyone else who can sort it out? Ah, there's the rub :) It could be in the Android specific prelinker, GCC, or in the code itself. The Android toolchain time I have set aside is for helping the Android grou

Re: Likely gcc-linaro-4.5-2011.05 misoptimization in libgui (Android)

2011-06-12 Thread Zach Pfeffer
What's the root problem? Is there anyone else who can sort it out? On 12 June 2011 16:11, Michael Hope wrote: > On Mon, Jun 13, 2011 at 8:48 AM, Zach Pfeffer wrote: >> Ken, >> >> Would you get a patch together for Google? This looks like a good >> small fix for when they upgrade to 4.5. Before p

Re: Likely gcc-linaro-4.5-2011.05 misoptimization in libgui (Android)

2011-06-12 Thread Michael Hope
On Mon, Jun 13, 2011 at 8:48 AM, Zach Pfeffer wrote: > Ken, > > Would you get a patch together for Google? This looks like a good > small fix for when they upgrade to 4.5. Before pushing would you make > sure that the fix doesn't break the current Android build. This should > generate some good di

Re: Likely gcc-linaro-4.5-2011.05 misoptimization in libgui (Android)

2011-06-12 Thread Zach Pfeffer
Ken, Would you get a patch together for Google? This looks like a good small fix for when they upgrade to 4.5. Before pushing would you make sure that the fix doesn't break the current Android build. This should generate some good discussion about the underlying prelink issue. -Zach On 9 June 20

Re: Likely gcc-linaro-4.5-2011.05 misoptimization in libgui (Android)

2011-06-09 Thread Jim Huang
On 10 June 2011 00:08, Ken Werner wrote: > Hi there, > > I've got an android build system up and running and had a quick look into > this. When using the gcc-linaro-4.5-2011.05-0 the bootanimation runs forever > when compiling the libgui.so using -O[s|1|2]. For me it only works when > disabling al

Re: Likely gcc-linaro-4.5-2011.05 misoptimization in libgui (Android)

2011-06-09 Thread Zach Pfeffer
Ken, Awesome results. Would you mind if I assign the BP to you for this? Also, it sounds like we have something that we could put into the build system. As far as prelink, would you mind posting these issues to android-build...@googlegroups.com? -Zach On 9 June 2011 11:08, Ken Werner wrote: >

Re: Likely gcc-linaro-4.5-2011.05 misoptimization in libgui (Android)

2011-06-09 Thread Ken Werner
On 05/27/2011 01:20 PM, Alexander Sack wrote: Hi Jim, On Fri, May 27, 2011 at 1:06 PM, Jim Huang wrote: Hello list, If you build Android using gcc-linaro-4.5-2011.05 [1], you will encounter a problem that bootanimation shows endless. It results from the mis-optimization in libgui, which hand

Re: Likely gcc-linaro-4.5-2011.05 misoptimization in libgui (Android)

2011-05-29 Thread Zach Pfeffer
Cool. Thanks for the clarification. On 29 May 2011 20:32, Michael Hope wrote: > On Mon, May 30, 2011 at 12:51 PM, Zach Pfeffer > wrote: >> Jim, >> >> Would you share your toolchain improvements with Michael and also file >> the bug you ran into? Michael, do you think it makes sense to create a

Re: Likely gcc-linaro-4.5-2011.05 misoptimization in libgui (Android)

2011-05-29 Thread Michael Hope
On Mon, May 30, 2011 at 12:51 PM, Zach Pfeffer wrote: > Jim, > > Would you share your toolchain improvements with Michael and also file > the bug you ran into? Michael, do you think it makes sense to create a > new bp like: > > linaro-android-gcc-linaro-4.5-2011.05 We have the blueprint: https:/

Re: Likely gcc-linaro-4.5-2011.05 misoptimization in libgui (Android)

2011-05-29 Thread Zach Pfeffer
Jim, Would you share your toolchain improvements with Michael and also file the bug you ran into? Michael, do you think it makes sense to create a new bp like: linaro-android-gcc-linaro-4.5-2011.05 that we can file bugs against? On 29 May 2011 17:44, Michael Hope wrote: > On Fri, May 27, 2011

Re: Likely gcc-linaro-4.5-2011.05 misoptimization in libgui (Android)

2011-05-29 Thread Anca Emanuel
On Mon, May 30, 2011 at 1:44 AM, Michael Hope wrote: > On Fri, May 27, 2011 at 11:20 PM, Alexander Sack wrote: >> Hi Jim, >> >> On Fri, May 27, 2011 at 1:06 PM, Jim Huang wrote: >>> Hello list, >>> >>> If you build Android using gcc-linaro-4.5-2011.05 [1], you will >>> encounter a problem that b

Re: Likely gcc-linaro-4.5-2011.05 misoptimization in libgui (Android)

2011-05-29 Thread Michael Hope
On Fri, May 27, 2011 at 11:20 PM, Alexander Sack wrote: > Hi Jim, > > On Fri, May 27, 2011 at 1:06 PM, Jim Huang wrote: >> Hello list, >> >> If you build Android using gcc-linaro-4.5-2011.05 [1], you will >> encounter a problem that bootanimation shows endless.  It results from >> the mis-optimiz

Re: Likely gcc-linaro-4.5-2011.05 misoptimization in libgui (Android)

2011-05-27 Thread Alexander Sack
Hi Jim, On Fri, May 27, 2011 at 1:06 PM, Jim Huang wrote: > Hello list, > > If you build Android using gcc-linaro-4.5-2011.05 [1], you will > encounter a problem that bootanimation shows endless.  It results from > the mis-optimization in libgui, which handles the operations in > Android SensorMa

Likely gcc-linaro-4.5-2011.05 misoptimization in libgui (Android)

2011-05-27 Thread Jim Huang
Hello list, If you build Android using gcc-linaro-4.5-2011.05 [1], you will encounter a problem that bootanimation shows endless. It results from the mis-optimization in libgui, which handles the operations in Android SensorManager. To work around this problem, you can apply the following patch: