avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] avr-lib compiling error


From: Boris Borisov
Subject: [avr-libc-dev] avr-lib compiling error
Date: Wed, 03 Dec 2008 21:44:50 +0200
User-agent: Thunderbird 2.0.0.18 (X11/20081123)

Hello All,
I try to update my avr-libc but compilation is fail with messages:

avr-gcc -I/var/tmp/cross/avr/portage/cross-avr/avr-libc-1.6.2/work/avr-libc-1.6.2/common -I/var/tmp/cross/avr/portage/cross-avr/avr-libc-1.6.2/work/avr-libc-1.6.2/include -x assembler-with-cpp -Wa,-gstabs -mmcu=avr2 -D__COMPILING_AVR_LIBC__ -c /var/tmp/cross/avr/portage/cross-avr/avr-libc-1.6.2/work/avr-libc-1.6.2/libc/stdlib/setjmp.S /var/tmp/cross/avr/portage/cross-avr/avr-libc-1.6.2/work/avr-libc-1.6.2/libc/stdlib/setjmp.S: Assembler messages: /var/tmp/cross/avr/portage/cross-avr/avr-libc-1.6.2/work/avr-libc-1.6.2/libc/stdlib/setjmp.S:81: Error: missing model parameter /var/tmp/cross/avr/portage/cross-avr/avr-libc-1.6.2/work/avr-libc-1.6.2/libc/stdlib/setjmp.S:128: Error: missing model parameter
make[5]: *** [setjmp.o] Error 1


More info about my system:
avr-gcc version:
avr-gcc (GCC) 4.2.3 (Gentoo 4.2.3 p1.0)
configuration options:
/configure --prefix=/usr --host=avr --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-nls --libdir=/usr/lib --target=avr --build=i686-pc-linux-gnu

On this line in setjump.S all seems OK
78: _U(setjmp):
79:    X_movw    XL, jmpb_lo
80:  ; save call-saved registers and frame pointer
81:    .irp    .L_regno, 2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,28,29
82:    st    X+, r\.L_regno
.......
127:  ; restore call-saved registers and frame pointer
128:    .irp    .L_regno, 2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,28,29

What I do wrong or this is bug.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]