should the compiler to build Kernel, kernel-debuginfo and systemtap be the same.

Frank Ch. Eigler fche@redhat.com
Wed Feb 21 12:41:00 GMT 2007


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



More information about the Systemtap mailing list