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

 
 

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

Submitted by:  Eric Weddington <arcanum>
Submitted on:  Thu 17 May 2007 02:08:05 PM UTC  
 
Category: LibrarySeverity: 4 - Important
Priority: 5 - NormalItem Group: None
Status: InvalidPercent Complete: 100%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: NoneFixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 21 May 2007 03:37:29 PM UTCarcanumStatusNone=>Invalid
      Percent Complete0%=>100%
      Assigned toNone=>arcanum
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1