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

 
 

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

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

Submitter:  Eric Weddington <arcanum>
Submitted:  Wed 09 May 2007 06:29:11 PM UTC
   
 
Category:  Library Severity:  5 - Blocker
Priority:  9 - Immediate Item Group:  None
Status:  Fixed Assigned to:  joerg_wunsch
Percent Complete:  0% Open/Closed:  Closed
Release:  None Fixed Release:  None

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

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-05-10 joerg_wunsch StatusNone Fixed
        Open/ClosedOpen Closed
    2007-05-09 arcanum StatusFixed None
        Open/ClosedClosed Open
    2007-05-09 joerg_wunsch StatusNone Fixed
        Open/ClosedOpen Closed
    2007-05-09 arcanum Assigned toNone joerg_wunsch
    2007-05-09 arcanum Priority5 - Normal 9 - Immediate

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code