http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47384
Summary: Doesn't indicate failure status when it doesn't
support (attiny2313A)
Product: gcc
Version: 4.5.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 23049
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23049
Patch to correct the bug
This is a bug unresolved from the previous version 4.5.1:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45261
>From the original description:
---------------------------------------------------------------
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.
---------------------------------------------------------------
I had to attach a modified patch that patches version 4.5.2 instead of 4.5.1.