[Bug c/45261] New: Doesn't indicate failure status when it doesn't support (attiny2313A)
When configuration script of avr-libc tries to check if gcc has support for Attiny2313A it doesn't indicate any failure even if it really doesn't support it. I found about that trying to build avr toolchain using this version of gcc. Here is a part of config.log: configure:5374: checking if avr-gcc has support for attiny2313a configure:5390: avr-gcc -c -mmcu=attiny2313a conftest.c >&5 unknown MCU 'attiny2313a' specified ... configure:5397: $? = 0 configure:5416: result: yes (which should indicate NO) this bug doesn't allow to build avr-libc-1.7.0 because it doesn't let 'make' to build the code. -- Summary: Doesn't indicate failure status when it doesn't support (attiny2313A) Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: major Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rootolini at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: avr GCC target triplet: avr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45261
[Bug target/45261] Doesn't indicate failure status when it doesn't support (attiny2313A)
--- Comment #2 from rootolini at gmail dot com 2010-08-11 23:17 --- (In reply to comment #1) > fprintf (stderr, "unknown MCU '%s' specified\nKnown MCU names:\n", >avr_mcu_name); > > That should most likely be an error instead of just a fprintf. > You're right, the fprintf function should be correct. Moreover, no only the attiny2313A is indicated as "result: yes" and is not supported. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45261