Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

LLVM ARM6 release build optimizer bug... #768

Merged
merged 1 commit into from Feb 3, 2012

Conversation

Projects
None yet
3 participants
Contributor

troppoli commented Feb 3, 2012

We have bumped into an issue that apparently a lot of other people have.... some three20 users, some not. Basically LLVM+ARM6 and thumb optimizations don't mix. It would seem that the best thing to do is to turn off thumb support for the time being to avoid the trouble. In our case, text was all over the place due to
TTTextStyle's (CGRect)rectForText:(NSString_)text forSize:(CGSize)size withFont:(UIFont_)font returning bogus values.

See....

http://www.idevgames.com/forums/thread-9606.html

http://stackoverflow.com/questions/9009883/weird-three20-graphics-bug-in-thumb-viewer-when-running-in-release-mode

Contributor

aporat commented Feb 3, 2012

I just found out this nasty bug happens on my a few of my published apps as well, as I heavily use TTButton + TTStyleSheets. I guess this bug was introduced since the recent move to LLVM in #742.

Contributor

diederich commented Feb 3, 2012

Thanks of looking into this and finding the right place to put it in ;)
I have this enabled in my apps which still need to support armv6, too.

diederich added a commit that referenced this pull request Feb 3, 2012

Merge pull request #768 from troppoli/development
LLVM ARM6 release build optimizer bug...

@diederich diederich merged commit 42bcda2 into facebookarchive:development Feb 3, 2012

Contributor

troppoli commented Feb 3, 2012

I pulled to the head of dev and verified it yesterday before applying the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment