gcc 2.95.2 -finstrument-functions problem
Steve Gonczi
Steve.Gonczi@networkengines.com
Wed Feb 28 18:21:00 GMT 2001
Greetings,
ÃÂ
The
-finstrument-functions option appears to be broken in gcc 2.95.2 on BSDI 4.2 and
FreeBSd
4.0-4.3.
ÃÂ
E.g:
Compiling a trivial
c program such as
ÃÂ
main()
{
exit(0);
}
ÃÂ
gcc -WallÃÂ -finstrument-functions tr.c -o
tr tr.c:2: warning: return-type defaults to `int' /tmp/ccf34177.o: In
function `main': /tmp/ccf34177.o(.text+0x13): undefined reference to
`__cyg_profile_func_enter' /tmp/ccf34177.o(.text+0x35): undefined reference
to `__cyg_profile_func_exit'
ÃÂ
Any
suggestions?
ÃÂ
/sG
More information about the Binutils
mailing list