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

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

[avr-libc-dev] [bug #21174] assembly error with targets at90s1200, attin


From: Gary
Subject: [avr-libc-dev] [bug #21174] assembly error with targets at90s1200, attiny11, attiny12, and attiny28
Date: Fri, 28 Sep 2007 01:48:36 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5) KHTML/3.5.4 (like Gecko)

URL:
  <http://savannah.nongnu.org/bugs/?21174>

                 Summary: assembly error with targets at90s1200, attiny11,
attiny12, and attiny28
                 Project: AVR C Runtime Library
            Submitted by: silverblood
            Submitted on: Friday 09/28/2007 at 01:48
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

with binutils-2.17, gcc-4.2.0, and avr-libc (cvs as of 2007-09-15)

building from assembly for the at90s1200, attiny11, attiny12, and attiny28
targets fails with the following:

{avr-toolchain-root}/bin/avr-gcc -c -Wa,-gstabs -x assembler-with-cpp
-mmcu=at90s1200   -o main.o main.s 
{avr-toolchain-root}/bin/avr-gcc -O2 -mno-wrap -I. -fpack-struct
-fshort-enums -funsigned-bitfields -funsigned-char -g -Wall -O2
-mmcu=at90s1200  -Wa,-gstabs -Wl,-Map,main.map -o main.elf main.o 
{avr-toolchain-root}/bin/../lib/gcc/avr/4.2.0/../../../../avr/lib/crts1200.o:
In function `__bad_interrupt':
../../../../crt1/gcrt1.S:124: undefined reference to `exit'
make: *** [main.elf] Error 1

the message for the other devices is the same excepting the object file,
which is crttn11.o, crttn12.o, crttn15.o, and crttn28.o, respectively for
attiny11, attiny12, and attiny28.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?21174>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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