bugAVR C Runtime Library - Bugs: bug #19888, Building avr-libc 1.4.6 fails with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #19888: Building avr-libc 1.4.6 fails with GCC 4.2.0.

Submitter:  Eric Weddington <arcanum>
Submitted:  Thu 17 May 2007 02:08:05 PM UTC
   
 
Category:  Library Severity:  4 - Important
Priority:  5 - Normal Item Group:  None
Status:  Invalid Assigned to:  arcanum
Percent Complete:  100% Open/Closed:  Closed
Release:  None Fixed Release:  None

Mon 21 May 2007 03:37:29 PM UTC, comment #1: 

I was building avr-libc outside of the source directory. avr-libc builds just fine when building inside the source directory. Closing bug.

Eric Weddington <arcanum>
Group administrator
Thu 17 May 2007 02:08:05 PM UTC, original submission:  

Building avr-libc 1.4.6 fails with GCC 4.2.0:

avr-gcc -g -Wall -O2 -mmcu=atmega8 -I/c/avrdev/avr-libc/avr-libc-1.4.6/include -Wl,-Map,demo.map -o demo.elf demo.o -nostartfiles -nodefaultlibs  -lgcc
demo.o: In function `main':
c:\avrdev\avr-libc\avr-libc-1.4.6\doc\examples\demo/demo.c:79: undefined reference to `__stack'
c:\avrdev\avr-libc\avr-libc-1.4.6\doc\examples\demo/demo.c:79: undefined reference to `__stack'
make[4]: * [demo.elf] Error 1
make[4]: Leaving directory `/c/avrdev/avr-libc/avr-libc-1.4.6/doc/examples/demo'
make[3]: * [demo] Error 2
make[3]: Leaving directory `/c/avrdev/avr-libc/build/doc/api'
make[2]: * [all-recursive] Error 1
make[2]: Leaving directory `/c/avrdev/avr-libc/build/doc'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/c/avrdev/avr-libc/build'
make: * [all] Error 2

Eric Weddington <arcanum>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arcanum (Submitted the item)
  •  

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-05-21 arcanum StatusNone Invalid
        Percent Complete0% 100%
        Assigned toNone arcanum
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code