bugAVR C Runtime Library - Bugs: bug #19841, Error building 1.4 HEAD: undefined...

 
 

bug #19841: Error building 1.4 HEAD: undefined reference to 'exit'

Submitted by:  Eric Weddington <arcanum>
Submitted on:  Wed 09 May 2007 06:29:11 PM UTC  
 
Category: LibrarySeverity: 5 - Blocker
Priority: 9 - ImmediateItem Group: None
Status: FixedPercent Complete: 0%
Assigned to: Joerg Wunsch <joerg_wunsch>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.

 

Wed 09 May 2007 10:21:53 PM UTC, comment #2:

Not fixed. Now getting this:

make[4]: Entering directory `/c/avrdev/avrlibc/avr-libc/doc/examples/demo'
avr-gcc -g -Wall -O2 -mmcu=atmega8 -I/c/avrdev/avrlibc/avr-libc/include -c -o demo.o demo.c
avr-gcc -g -Wall -O2 -mmcu=atmega8 -I/c/avrdev/avrlibc/avr-libc/include -Wl,-Map,demo.map -o demo.elf demo.o -nostartfiles -nodefaultlibs /c/avrdev/avrlibc/avr-libc/avr/lib/avr4/atmega8/crtm8.o /c/avrdev/avrlibc/avr-libc/avr/lib/avr4/exit.o
c:/avrdev/avrlibc/avr-libc/avr/lib/avr4/exit.o:../../../../avr-libc/libc/stdlib/exit.S:34: undefined reference to `_exit'
make[4]: *** [demo.elf] Error 1
make[4]: Leaving directory `/c/avrdev/avrlibc/avr-libc/doc/examples/demo'
make[3]: *** [demo] Error 2
make[3]: Leaving directory `/c/avrdev/avrlibc/avr-libc/doc/api'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/avrdev/avrlibc/avr-libc/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/avrdev/avrlibc/avr-libc'
make: *** [all] Error 2

Eric Weddington <arcanum>
Project Administrator
Wed 09 May 2007 06:59:13 PM UTC, comment #1:

This is due to the fix for bug #19050, "gcrt1.S should call main rather than jumping to it". Assigning to Jörg.

Eric Weddington <arcanum>
Project Administrator
Wed 09 May 2007 06:29:11 PM UTC, original submission:

make[4]: Entering directory `/c/avrdev/avrlibc/avr-libc/doc/examples/demo'
avr-gcc -g -Wall -O2 -mmcu=atmega8 -I/c/avrdev/avrlibc/avr-libc/include -c -o demo.o demo.c
avr-gcc -g -Wall -O2 -mmcu=atmega8 -I/c/avrdev/avrlibc/avr-libc/include -Wl,-Map,demo.map -o demo.elf demo.o -nostartfiles -nodefaultlibs /c/avrdev/avrlibc/avr-libc/avr/lib/avr4/atmega8/crtm8.o
c:/avrdev/avrlibc/avr-libc/avr/lib/avr4/atmega8/crtm8.o: In function `__vectors':
../../../../../avr-libc/crt1/gcrt1.S:52: undefined reference to `exit'
make[4]: *** [demo.elf] Error 1
make[4]: Leaving directory `/c/avrdev/avrlibc/avr-libc/doc/examples/demo'
make[3]: *** [demo] Error 2
make[3]: Leaving directory `/c/avrdev/avrlibc/avr-libc/doc/api'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/avrdev/avrlibc/avr-libc/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/avrdev/avrlibc/avr-libc'
make: *** [all] Error 2

Eric Weddington <arcanum>
Project Administrator

 

(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 joerg_wunsch (Updated the item)
  • -unavailable- added by arcanum (Submitted the item)
  •  

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

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 10 May 2007 05:22:08 AM UTCjoerg_wunschStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 09 May 2007 10:21:53 PM UTCarcanumStatusFixed=>None
      Open/ClosedClosed=>Open
    Wed 09 May 2007 09:28:40 PM UTCjoerg_wunschStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 09 May 2007 06:59:13 PM UTCarcanumAssigned toNone=>joerg_wunsch
    Wed 09 May 2007 06:35:26 PM UTCarcanumPriority5 - Normal=>9 - Immediate

    Back to the top


    Powered by Savane 3.1-cleanup1