[En-Nut-Discussion] Can't run avr-gccdbg only with internal stack
Harald Kipp
harald.kipp at egnite.de
Thu Sep 20 14:21:24 CEST 2012
Hi all,
about 2 weeks ago the trunk was building without errors for all AVR based boards. It now fails with
#error "Can't run avr-gccdbg only with internal stack"
I'm sure, that the author intentionally added this sanity check. But I have no idea what this is all about.
Here's the full report:
Target : ethernut103-avr-gccdbg-bld
Command: SET PATH=e:\ethernut\nut-trunk\nut\tools\win32;e:\WinAVR\bin;e:\WinAVR\utils\bin;e:\apps\bin;%SystemRoot%\system32;%SystemR
oot%;%SystemRoot%\System32\Wbem;&make clean all install
Error : 2
------------------------------------------------------------------------
avr-gcc -c -I../../ethernut103-avr-gccdbg-bld/include -I../.././nut/include -DNUT_THREAD_STACK_MULT=3 -DETHERNUT1 -D__HARVARD_ARCH
__ -MD -MP -mmcu=atmega103 -O0 -gdwarf-2 -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Werror -Wa,-a=tracer.lst -o tr
acer.o ../.././nut/os/tracer.c
avr-gcc -c -I../../ethernut103-avr-gccdbg-bld/include -I../.././nut/include -DNUT_THREAD_STACK_MULT=3 -DETHERNUT1 -D__HARVARD_ARCH
__ -MD -MP -mmcu=atmega103 -O0 -gdwarf-2 -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Werror -Wa,-a=fatal.lst -o fat
al.o ../.././nut/os/fatal.c
avr-gcc -c -I../../ethernut103-avr-gccdbg-bld/include -I../.././nut/include -DNUT_THREAD_STACK_MULT=3 -DETHERNUT1 -D__HARVARD_ARCH
__ -MD -MP -mmcu=atmega103 -O0 -gdwarf-2 -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Werror -Wa,-a=panic.lst -o pan
ic.o ../.././nut/os/panic.c
avr-ar rsc libnutos.a version.o heap.o bankmem.o thread.o timer.o event.o devreg.o confos.o semaphore.o mutex.o msg.o condition.o os
debug.o tracer.o fatal.o panic.o
avr-gcc -c -I../../ethernut103-avr-gccdbg-bld/include -I../.././nut/include -DNUT_THREAD_STACK_MULT=3 -DETHERNUT1 -D__HARVARD_ARCH
__ -MD -MP -mmcu=atmega103 -O0 -gdwarf-2 -fno-delete-null-pointer-checks -Wall -Wstrict-prototypes -Werror -Wa,-a=nutinit.lst -o n
utinit.o ../.././nut/os/nutinit.c
In file included from ../.././nut/os/nutinit.c:74:
../.././nut/os/../arch/avr/os/nutinit.c:90:2: error: #error "Can't run avr-gccdbg only with internal stack"
make[1]: *** [nutinit.o] Error 1
make[1]: Leaving directory `E:/ethernut/ethernut-5.0.5/ethernut103-avr-gccdbg-bld/os'
make: *** [all] Error 2
Regards,
Harald
More information about the En-Nut-Discussion
mailing list