[En-Nut-Discussion] gcov

Harald Kipp harald.kipp at egnite.de
Tue Apr 5 20:37:51 CEST 2005


Hi Amit,

You're using init.c instead of nutinit.c? Is this
a special version you made or do you accidently use
a very old Nut/OS source?

I'm not aware whether AVRGCC supports gcov. May be
ask the avr-gcc mailing list
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Harald

At 11:07 05.04.2005 -0400, you wrote:
>Hello,
>
>make -C os
>make[1]: Entering directory `/home/kamit/research-project/ethernut/nut/os'
>avr-gcc -c -mmcu=atmega128 -fprofile-arcs -ftest-coverage -Os -Wall
>-Werror -Wstrict-prototypes -Wa,-ahlms=init.lst -DNUT_SECURE_IP
>-DNUTDEBUG   -I../mod/include -I../include init.c -o init.o
>init.c: In function `NutIdle':
>init.c:109: internal compiler error: in make_edges, at cfgbuild.c:402
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>make[1]: *** [init.o] Error 1
>
>avr-gcc options "-fprofile-arcs -ftest-coverage"
>
>Anybody encountered this error? Has anybody used gcov utility with ethernut??
>
>Thanks,
>Amit Khandelwal




More information about the En-Nut-Discussion mailing list