Created attachment 357104 [details] patch from the GCC SVN that fixes the bug Description of problem: Programs using the PROGMEM macro -- which provides the essential functionality of storing constant data in the program segment -- don't compile when using optimization other than -O0 because of a bug in avr-gcc. Version-Release number of selected component (if applicable): avg-gcc-4.3.3-2.fc11.i586 How reproducible: Always. Steps to Reproduce: 1. Download http://www.tvbgone.com/mfaire/rgbwaveskit/rgb.c and http://www.tvbgone.com/mfaire/rgbwaveskit/Makefile 2. Run "make program-rgb" Actual results: <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31644> occurs. Expected results: No compiler errors. Additional info: The chnages made in <http://gcc.gnu.org/viewcvs?view=rev&revision=140360> fix the problem. I have attached the patch that I added to the spec file to get a working version of the compiler.
avr-gcc-4.3.3-3.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/avr-gcc-4.3.3-3.fc11
Benedikt, I just discovered this bug and didn't remember to read it. Now it is fixed, thanks for your patch. Anyway, avr-gcc was updated to 4.4 for F-12 and you certainly already use it. Thank you very much, Thibault
avr-gcc-4.3.3-3.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.