This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi all, I currently try to generate code for the GNU profiling tools (gcov, gprof, tcov). I've a problem, while instrumenting my code with the '__bb_init_func' call, coming from the GCC option '-fprofile-arcs'. Errormessage: bootloader.cf.pro.o: In function `global constructors keyed to mbarGCOV': bootloader.cf.pro.o(.text+0x1c18): undefined reference to `__bb_init_func' I found the __bb_init_func in the file libgcc2.c, but I found neither the libgcc2.a nor the __bb_init_func in another lib. Do I need any special options for building the GNU tools for profiling? I currently rebuilt my GNU tools. I only used the option '--target=m68k-elf'. I'm working on a UNIX Solaris 2.6 system. GNU tools versions are: binutils-2.9.1 gcc-2.95.2 newlib-1.8.2 For building the tools, I'm using the One Pass Installation and the 'build-cross.sh' script. Thanks for any hints best regards Josef ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |