HP Forums

Full Version: WP 34S New Build with older GCC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I've committed a new flash build with an older GCC (4.6.0). This results in a slightly reduced user flash area. Please test if any of the strange errors reported recently persist. I'm still on the sick side of life and therefore ask you for help in this respect.

Uploaded non-xtal version.

Version: 34s3.2 3418

FLASH? --> 3903 (i kind of liked previous number more)

statistics bug --> no error

fraction mode shutdown --> no shutdown

LINESQ shutdown still not good. There is no shutdown, but when I performed single step it asked me "Sure?". I am pretty sure that is not what should have happened, so I pressed 8. After that calculator went into strange mode, I almost thought it is not responding to input any more. But it recovered after a few seconds.

BTW, why revert to gcc 4.6.0? Just curious.

First of all, thanks for the tests.

To answer your question: We are using the most effective space optimization GCC offers. In an earlier phase of the project, I've had a try with the CodeSourcery GCC version that offers better optimizations. This compiler produced strange failures in parts of the code which made me revert to Yagarto GCC which proved to produce more stable code. Some GCC updates introduced by the CodeSourcery team may have been ported to the GCC main trunk (or any similar "improvements"), breaking the code generator in our special case. It's just a guess but when strange things happen in code that once used to work I think it's a good idea to check if a compiler release may have introduced the bug.

The handling of unallocated local registers in the LINEQ code may still cause strange effects due to coding errors from our side. I have to check my code. Debugging this on the hardware is almost impossible because I need to debug optimized code which is simply not designed for this.