Ah, sorry, did not saw that updated package in unstable… Forced installation of avr-libc (1.8.0, Atmel3.5.0) and can confirm it works with gcc-avr (1.9.2, Atmel3.5.0).

Le 13/12/2015 18:47, Hakan Ardo a écrit :
Yes, avr-libc (1.8.0, Atmel3.5.0) was uploaded this morning, it should fix this.

On Sun, Dec 13, 2015 at 6:38 PM, Bastien Montagne <[email protected] <mailto:[email protected]>> wrote:

    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 <http://ftp.fr.debian.org>
    990 testing ftp.deb-multimedia.org <http://ftp.deb-multimedia.org>
    990 testing deb.torproject.org <http://deb.torproject.org>
    300 unstable ftp.fr.debian.org <http://ftp.fr.debian.org>
    200 experimental ftp.fr.debian.org <http://ftp.fr.debian.org>

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

    Package's Recommends field is empty.

    Package's Suggests field is empty.




--
Håkan Ardö

Reply via email to