Thanks for the reply.
With your reply iam able to proceed till some extent , but right now iam getting some linker error when I am building the image.
Below iam pasting the gcc version info which iam using.
Configured with: /root/buildroot/toolchain_build_arm/gcc-3.3.5/configure --prefix=/cross2/arm/toolchain/gcc-3.3.5-1 --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=arm-linux-uclibc --enable-languages=c,c++ --enable-shared --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls --enable-multilib --enable-sjlj-exceptions
Thread model: posix
gcc version 3.3.5
Here is the error iam getting .
Kernel: arch/arm/boot/Image is ready
arch/arm/boot/compressed/misc.o(.text+0x5f00): In function `$a':
: undefined reference to `__bb_init_func' ( This function exists in the gcov coverage patch )
make: *** [arch/arm/boot/compressed/vmlinux] Error 1
make: *** [arch/arm/boot/compressed/vmlinux] Error 2
make: *** [zImage] Error 2
Can you guide me further what I need to do to resolve this error.
From: email@example.com [mailto:firstname.lastname@example.org] On Behalf Of Christian Gagneraud
Sent: Thursday, April 14, 2005 2:34 PM
To: Sivasankar K
Subject: Re: [Ltp-coverage] GCOV-Kernel support ARM architecture.
Sivasankar K wrote:
> Hi All,
> Can you guys please let me know the current Gcov-kernel
> patch ( 2.6.8) will support for the ARM architecture or not.
>>From the patch contents I have found out that it supports only for the
> i386, Sparc and Power Pc. If I want to use for ARM what I need to do.
in arch/arm/Kconfig, and
* The .ctors-section contains a list of pointers to constructor
* functions which are used to initialize gcov structures.
* Because there is no NULL at the end of the constructor list
* in the kernel we need the addresses of both the constructor
* as well as the destructor list which are supposed to be
.type __CTOR_LIST__, %object
.type __DTOR_LIST__, %object
At the end of arch/arm/kernel/head.S
It works fine for us.
> When I have applied the patch to linux-2.6.8 I will get gcov-coverage
> option for i386 , but Iam not getting the same for the ARM .
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
Ltp-coverage mailing list