Re: [PATCH 0/7] gcov kernel support

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: <linux-kernel@...>, Peter Oberparleiter <oberparleiter@...>, Peter Oberparleiter <peter.oberparleiter@...>, Sam Ravnborg <sam@...>, <ltp-coverage@...>
Date: Friday, May 23, 2008 - 7:06 am

>> This is version #2 of the gcov kernel support patch set

Sounds like your toolchain was built without biarch support, but you're
using it for the 32-bit parts of the kernel anyway.  Which works as long
as you're not using any libraries, but now you need libgcov.a .

What does

/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc64-unknown-linux-gnu/bin/ 
powerpc64-unknown-linux-gnu-gcc -v

say?  (Or whatever the correct path to that compiler is, the directory
structure is a bit unusual here it seems).  There shouldn't be a
--disable-biarch there.

Or, what does

find  
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc64-unknown-linux-gnu/4.1.0/  
-name libgcov.a

say?  (It should usually find three versions: 64-bit, 32-bit, 32-bit no  
float).


You *can* build with a non-biarch compiler, but then you need to point
the kernel build system at a 32-bit toolchain to use for the 32-bit
parts (via CROSS32_COMPILE).


Segher

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/7] gcov kernel support, Peter Oberparleiter, (Mon May 19, 4:42 am)
Re: [PATCH 0/7] gcov kernel support, Andrew Morton, (Fri May 23, 4:12 am)
Re: [PATCH 0/7] gcov kernel support, Peter Oberparleiter, (Tue May 27, 4:32 am)
Re: [PATCH 0/7] gcov kernel support, Segher Boessenkool, (Fri May 23, 7:06 am)
Re: [PATCH 0/7] gcov kernel support, Andrew Morton, (Fri May 23, 12:56 pm)
Re: [PATCH 0/7] gcov kernel support, Segher Boessenkool, (Fri May 23, 5:52 pm)
Re: [PATCH 0/7] gcov kernel support, Andrew Morton, (Fri May 23, 6:23 pm)
Re: [PATCH 0/7] gcov kernel support, Andi Kleen, (Mon May 19, 7:42 am)