WP 34S New Build with older GCC



#2

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.


#3

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

#4

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.

#5

BTW, why revert to gcc 4.6.0? Just curious.


#6

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.


Possibly Related Threads...
Thread Author Replies Views Last Post
  [WP-34S] Unfortunate key damage with update to V3 :( svisvanatha 5 353 12-10-2013, 11:37 PM
Last Post: Les Bell
  WP-34S (Emulator Program Load/Save) Barry Mead 1 194 12-09-2013, 05:29 PM
Last Post: Marcus von Cube, Germany
  DIY HP 30b WP 34s serial flash/programming cable Richard Wahl 2 267 12-04-2013, 11:14 AM
Last Post: Barry Mead
  WP 34S/43 ?'s Richard Berler 3 290 11-10-2013, 02:27 AM
Last Post: Walter B
  My FrankenCulator (wp-34s) FORTIN Pascal 4 300 11-09-2013, 06:18 PM
Last Post: FORTIN Pascal
  WP 34S Owner's Handbook Walter B 5 442 11-09-2013, 05:34 PM
Last Post: Harald
  wp 34s overlay and programming. FORTIN Pascal 6 374 11-08-2013, 01:28 PM
Last Post: Nick_S
  m.dy in display of WP-34S Harold A Climer 3 212 11-05-2013, 11:28 AM
Last Post: Andrew Nikitin
  WP 34s : An old problem coming back Miguel Toro 2 215 11-05-2013, 03:00 AM
Last Post: Marcus von Cube, Germany
  [WP 34s] Pressure Conversion Factors Timothy Roche 8 439 11-04-2013, 07:17 PM
Last Post: Dave Shaffer (Arizona)

Forum Jump: