Description of problem: avr-gcc 4.5.1-2.fc14.1 stops with an error message: avr-gcc -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -g -Os -std=gnu99 -fdata-sections -ffunction-sections -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -mcall-prologues -fshort-enums -fno-strict-aliasing -Iprotocols/usb/usbdrv -Iprotocols/usb -DAVR_BUILD -DF_CPU=20000000UL -mmcu=atmega644 -I. -c -o protocols/uip/uip.o protocols/uip/uip.c protocols/uip/uip.c: In function 'uip_udp_new': protocols/uip/uip.c:570:1: error: could not split insn (insn 106 105 107 protocols/uip/uip.c:554 (parallel [ (set (reg:HI 24 r24 [106]) (rotate:HI (reg:HI 24 r24 [orig:105 lastport ] [105]) (const_int 8 [0x8]))) (clobber (mem/c:QI (plus:HI (reg/f:HI 28 r28) (const_int 1 [0x1])) [0 %sfp+1 S1 A8])) ]) 64 {*rotbhi} (expr_list:REG_EQUIV (mem/s/j:HI (plus:HI (reg/f:HI 26 r26 [103]) (const_int 4 [0x4])) [0 uip_udp_conns[D.4587_20].lport+0 S2 A8]) (nil))) protocols/uip/uip.c:570:1: internal compiler error: in final_scan_insn, at final.c:2650 Please submit a full bug report, with preprocessed source if appropriate. See <https://bugzilla.redhat.com/> for instructions. make: *** [protocols/uip/uip.o] Error 1 It compiles fine with 4.4.2-1.fc13 and also 4.3.3-3.fc11. Version-Release number of selected component (if applicable): avr-libc-1.7.0-1.fc14.noarch avr-gcc-4.5.1-2.fc14.1.x86_64 How reproducible: always Steps to Reproduce: 1. git clone git://github.com/ethersex/ethersex.git 2. cd ethersex/ 3. make menuconfig -> Make sure that "UDP support" is activated in "Network", then select Exit and save the config 4. make Actual results: compiler reports an internal compiler error and stops. Expected results: compilation of source. Additional info:
I could reproduce the bug. (Sorry for the delay) Does it compile fine with old avr-gcc but the new avr-libc? I will also try with avr-gcc-4.5.2.
Hmm, yes it seem to depend only on avr-gcc. The new release 4.5.2 does not fix the problem. I am quite busy these days. I will try and file a bug against gcc. If you have time to do so, please do.
(In reply to comment #2) > I am quite busy these days. I will try and file a bug against gcc. If you have > time to do so, please do. Did so in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47509
Thanks. By the way, it seems to compile with -O1: sed -e "s|Os|O1|" scripts/defaults.mk
avr-gcc-4.6.1-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/avr-gcc-4.6.1-2.fc16
avr-gcc-4.6.1-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/avr-gcc-4.6.1-2.fc15
Package avr-gcc-4.6.1-2.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing avr-gcc-4.6.1-2.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/avr-gcc-4.6.1-2.fc15 then log in and leave karma (feedback).
avr-gcc-4.6.1-2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
avr-gcc-4.6.1-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.