Package: gcc-avr
Version: 1:4.9.2+Atmel3.5.0-1
Severity: normal

--- Please enter the report below this line. ---

Hi,

New 4.9.2 version using Atmel3.5.0 cannot compile simple programs (arduino demo ones) for atmega328:

/usr/lib/gcc/avr/4.9.2/../../../avr/bin/ld: cannot find crtatmega328p.o
/usr/lib/gcc/avr/4.9.2/../../../avr/bin/ld: cannot find -latmega328p

Downgrading just the gcc-avr package to previous version (4.8.1, atmel3.4.5) makes things work again
perfectly fine.

According to [1], this would be because current avr-libc package is too old (1.8.0, Atmel3.4.5).

[1] http://stackoverflow.com/questions/31740435/cannot-compile-and-link-avr-program-in-os-x

Thanks,
Bastien

--- System information. ---
Architecture: amd64
Kernel: Linux 4.2.0-1-amd64

Debian Release: stretch/sid
990 testing ftp.fr.debian.org
990 testing ftp.deb-multimedia.org
990 testing deb.torproject.org
300 unstable ftp.fr.debian.org
200 experimental ftp.fr.debian.org

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.

Reply via email to