public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* kbuild 2.5 preventing mixture of compilers
@ 2001-11-01  0:43 Keith Owens
  2001-11-01  8:13 ` Lee Packham
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Owens @ 2001-11-01  0:43 UTC (permalink / raw)
  To: linux-kernel

FYI, kbuild 2.5 will check that all the kernel and modules were
compiled with the same version of gcc, in particular they must all have
the same value of

  $(CC) -v 2>&1 | sed -ne '1s:.*/\([^/]*/[^/]*\)/[^/]\+$:\1:p'

e.g. i386-redhat-linux/2.96

Minor version data such as build date is assumed to be irrelevant.
Anybody who makes significant changes to compiler output without
changing the version number gets what they deserve.

Modules built with a different compiler from the kernel will not load
unless they are forced with insmod -f.

Is this going to cause problems for anybody?  I see no justification
for mixing kernel objects built by different compilers and I know of
problems that have been caused by doing so.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-01  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-01  0:43 kbuild 2.5 preventing mixture of compilers Keith Owens
2001-11-01  8:13 ` Lee Packham
2001-11-01  8:37   ` arjan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox