I'm fixing this problem right now.   Look for a patch in a about one day.



jyoung5@us.ltcfwd.linux.ibm.com
Sent by: ltp-coverage-admin@lists.sourceforge.net

07/12/2004 05:37 PM

       
        To:        "ltp-coverage@lists.sourceforge.net" <ltp-coverage@lists.sourceforge.net>
        cc:        
        Subject:        [Ltp-coverage] gcov kernel patch 2.6.5 does not work



When compiling gcov for kernel 2.6.5 I get the following when I compile:
 LD      arch/i386/lib/built-in.o
 AS      arch/i386/lib/checksum.o
 CC      arch/i386/lib/delay.o
 AS      arch/i386/lib/getuser.o
 CC      arch/i386/lib/memcpy.o
 CC      arch/i386/lib/strstr.o
 CC      arch/i386/lib/usercopy.o
 AR      arch/i386/lib/lib.a
 GEN     .version
 CHK     include/linux/compile.h
 UPD     include/linux/compile.h
 CC      init/version.o
 LD      init/built-in.o
 LD      .tmp_vmlinux1
init/built-in.o(.text+0x3c6): In function `global constructors keyed to
envp_init_GCOV':
: undefined reference to `__gcov_init'
init/built-in.o(.text+0x3d6): In function `global constructors keyed to
root_mountflags_GCOV':
: undefined reference to `__gcov_init'
init/built-in.o(.text+0x2056): In function `global constructors keyed to
rd_prompt_GCOV':
: undefined reference to `__gcov_init'
init/built-in.o(.text+0x2066): In function `global constructors keyed to
initrd_load_GCOV':
: undefined reference to `__gcov_init'
init/built-in.o(.text+0x2076): In function `global constructors keyed to
md_run_setup_GCOV':
: undefined reference to `__gcov_init'
init/built-in.o(.text+0x3c16): more undefined references to
`__gcov_init' follow
make: *** [.tmp_vmlinux1] Error 1

Any ideas ? I've tried both the official one and the updated CVS
version. No dice.

                                                                   Jerone



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Ltp-coverage mailing list
Ltp-coverage@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-coverage