Compiling for AVR targets with autoconf 2.64 broken in 9.10 (Karmic).

Bug #506452 reported by Matt Jadud
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
autoconf (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

This problem exists on fully up-to-date versions of 9.10. There do not
seem to be any bugs reported on this issue in Launchpad (searching for
combinations of "autoconf", "2.64", "2.65", "9.10").

autoconf 2.64 introduced a change to the AC_PROG_CC macro that breaks
compiling for the AVR (the processor used in the popular Arduino
project). The macro attempted to compile a small program that uses
"fopen", which is not included in avr-libc. While this is not
standards compliant, it makes sense: most AVR microcontrollers have
between 2K and 32K of flash.

The result of this macro change is that compiling for the AVR using
the autotools is broken in Ubuntu 9.10. Until this is fixed/updates,
projects that build code for the AVR cannot be built on Ubuntu 9.10.

The problem was reported against autoconf, and the discussion thread
can be found here:

http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6839

The patch against 2.64 that fixed the problem is here:

http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6839

The problem no longer exists/was fixed in autoconf 2.65. Or, if you
prefer, it is possible to compile code using the autotools for the AVR
series of microcontrollers using autoconf 2.65.

Many thanks,
Matt

 affects ubuntu/autoconf
 subscribe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)

iF4EAREIAAYFAktMj4cACgkQogHof9Uudf/ATQD/WrLEO611adTIO3chtRybK3KC
rjk56kalSNt0JrehpXEBALYUyiClXRwzLSKtvaSYHSdh64grRSSOfC42gCz+UjFl
=rVMJ
-----END PGP SIGNATURE-----

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

2.65 is now in Lucid

Changed in autoconf (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.