bugAVR C Runtime Library - Bugs: bug #35467, Arduino project built with...

 
 

bug #35467: Arduino project built with AVR_8_bit_GNU_Toolchain_3.3.1_422 does not work

Submitted by:  David DeHaven <dehaveda>
Submitted on:  Tue 07 Feb 2012 03:50:13 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Unknown
Status: InvalidPercent Complete: 0%
Assigned to: NoneOpen/Closed: Closed
Release: UnknownFixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 07 Feb 2012 03:57:51 PM UTC, comment #1:

Sorry, no, this is not the right place to post this.

These are bug trackers for the AVR C library, but apparently,
you are running into a compiler problem, or a problem with the
code you are compiling. Just the fact that the code used to
work as expected with one compiler version but fails with
another one is not a sufficient proof for a compiler failure.

You should figure out (e.g. by comparing the generated
assembly code) what the actual problem is. If you narrowed
it down, and are convinced it's a compiler bug, you should
contact your toolchain vendor (Atmel) through their support
channel about it.

When seeing GCC version 4.5.1, GCC bug #46779 immediately
comes to mind:

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

You might ask your vendor about whether your toolchain version
has this bug already fixed or not.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Tue 07 Feb 2012 03:50:13 PM UTC, original submission:

OLD: gcc version 4.3.3 (WinAVR 20100110)
NEW: gcc version 4.5.1 (AVR_8_bit_GNU_Toolchain_3.3.1_422)

I am building an Arduino project that uses the Ethernet Shield. w5100.cpp is giving me trouble. Building w5100 with the OLD version works. Building w5100 with the NEW version does not work. It builds OK with both. By work I am referring to the runtime interaction with the W5100 chip on the Ethernet shield.

I can build all files except w5100.cpp with the NEW version, but w5100.cpp has to be built with the OLD version to make it work.

David DeHaven <dehaveda>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

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 dehaveda (Submitted the item)
  • -unavailable- added by dehaveda
  •  

    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
    Wed 08 Feb 2012 10:44:02 AM UTCjoerg_wunschSummaryNot sure this the right plce to submit this but...=>Arduino project built with AVR_8_bit_GNU_Toolchain_3.3.1_422 does not work
    Tue 07 Feb 2012 03:57:51 PM UTCjoerg_wunschStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Tue 07 Feb 2012 03:50:13 PM UTCdehavedaCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1