This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: should the compiler to build Kernel, kernel-debuginfo and systemtap be the same.
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Srikar Dronamraju <srikar at linux dot vnet dot ibm dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: 21 Feb 2007 07:41:18 -0500
- Subject: Re: should the compiler to build Kernel, kernel-debuginfo and systemtap be the same.
- References: <45DC33E2.8060801@linux.vnet.ibm.com>
Srikar Dronamraju <srikar@linux.vnet.ibm.com> writes:
> Is there any reason why the C compiler used for building SystemTap
> is the same as what kernel was compiled with.
The issue is simply that the ABI for the existing kernel must match
the ABI for new module. This may not require an exact match. The
kernel build system tags modules with gcc generation codes such as
GCC34 or GCC41, so at least that need be satisfied.
- FChE