bugAVR C Runtime Library - Bugs: bug #30436, Configure fails detecting missing...

 
 

bug #30436: Configure fails detecting missing support for attiny2313a and others.

Submitted by:  Axel Rohde <axel_rohde>
Submitted on:  Tue 13 Jul 2010 08:31:16 PM UTC  
 
Category: Build InfrastructureSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build system
Status: Works For MePercent Complete: 0%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: 1.7.*Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 09 Mar 2011 09:08:15 PM UTC, comment #4:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45261

Joerg Wunsch <joerg_wunsch>
Project Administrator
Wed 09 Mar 2011 09:04:02 PM UTC, comment #3:

Doesn't work for me.

Jonathan Kollasch <jakllsch>
Tue 22 Feb 2011 12:37:23 AM UTC, comment #2:

Closing as "Works For Me".

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.
Sat 23 Oct 2010 03:26:51 PM UTC, comment #1:

This is caused by avr-gcc and avr-as knowing differents parts.
Try "avr-as -mmcu foobar" to prove the point.

I'm not sure downgrading the binutils would be a solution. one could try the FreeBSD patch that add the missing parts to gcc and recompile it :
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-gcc/files/patch-newdevices

Charles Goyard <cgo>
Tue 13 Jul 2010 08:31:16 PM UTC, original submission:

I tried building avr-libc-1.7.0 from the source-tarball, according to the instructions found at at
http://www.nongnu.org/avr-libc/user-manual/install_tools.html
and
http://www.mbeckler.org/microcontrollers/avrgcc_build/.

Executing:
./configure --prefix=/usr/local/avr --build=`./config.guess` --host=avr

... succeeds, but compiling fails in directory
/avr/lib/avr25/attiny2313a
complaining with:
warning: #warning "device type not defined"

On inspection of config.log I see that the configure script failed to detect, that the following MCUs are not supported by my avr-gcc compiler:
attiny2313a
attiny24a
attiny261a
attiny4313
attiny44a
It flags those as being supported, which is not the case.
Other unsupported MCUs are detected correctly.

See attached config.log for details.

The avr-gcc I am using was also compiled from the original source-tarball of the 4.5.0 release.

Axel Rohde <axel_rohde>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #20959:  config.log added by axel_rohde (308KiB - text/x-log)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by jakllsch (Posted a comment)
  • -unavailable- added by arcanum (Posted a comment)
  • -unavailable- added by cgo (Posted a comment)
  • -unavailable- added by axel_rohde (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 22 Feb 2011 12:37:23 AM UTCarcanumStatusNone=>Works For Me
      Assigned toNone=>arcanum
      Open/ClosedOpen=>Closed
    Tue 13 Jul 2010 08:31:16 PM UTCaxel_rohdeAttached File-=>Added config.log, #20959

    Back to the top


    Powered by Savane 3.1-cleanup1