Pages: [1]   Go Down
Author Topic: avr-libc version - when will it be updated?  (Read 1298 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Ignoto Consulting
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

As far as I understand, the current Arduino release 0022 is bundled with avr-libc 1.6.4 (at least the Windows version is). I know that repositories under Linux might have newer versions of avr-libc (e.g. Ubuntu 10.10. has 1.6.8 ) but all of them seem to be quite far behind the current release (1.7.1).

Are there plans to update the C library in an upcoming Arduino release?

The reason I'm asking is because there's at least one bug to do with malloc/realloc/free (see http://savannah.nongnu.org/bugs/?27242 and http://arduino.cc/forum/index.php/topic,46948.0.html) which affects releases prior to 1.7.*. (In my case this means I cannot use realloc to reduce the size of an existing string buffer to conserve memory.)

Regards,
VT
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 124
Posts: 6617
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think arduino on Windows uses one of the latest versions of "winavr" for its compiler and library infrastructure.  And I think that still has avr-libc 1.6.x bundled with it...

You can probably install a newer avr-libc manually...

I don't know what (if anything) the arduino team has planned for a post-winavr world.  (Apparently winavr development is essentially stopped.  As much as it was ever separate from gcc/libc/etc development.)  (Versioning hell is part of the downside of open source, unfortunately.)
Logged

Pages: [1]   Go Up
Jump to: