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

                 Summary: GCC can't find AVR35 object files 
                 Project: AVR C Runtime Library
            Submitted by: schickb
            Submitted on: Monday 03/10/2008 at 19:47
                Category: Build Infrastructure
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build system
                  Status: None
        Percent Complete: 0%
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

With fully patched binutils 2.18 and gcc 4.2.2 under 32bit Ubuntu Linux 7.10
I did a clean build of avr-libc 1.6.1. 

When build an application for either the AT90USB162 or AT90USB82 I get the
following linker error:

/usr/local/lib/gcc/avr/4.2.2/../../../../avr/bin/ld: crtusb162.o: No such
file: No such file or directory

This actually object file is here:

$ locate crtusb162.o
/usr/local/avr/lib/avr5/crtusb162.o 

If I manually copy:

/usr/local/avr/lib/avr5/crtusb162.o

to

/usr/local/avr/lib/avr35/crtusb162.o

it links correctly. Also if I remove the gcc-avr35.patch and rebuild avr-libc
and my application it links correctly.

Looks like an avr-libc build/install problem with that avr35 patched version
of gcc.




    _______________________________________________________

Reply to this item at:

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

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



_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to