Re: PATCH: Add --size-check=[error|warning]

From: Ingo Molnar
Date: Mon Mar 14 2011 - 09:18:02 EST



* Andreas Schwab <schwab@xxxxxxxxxx> wrote:

> Ingo Molnar <mingo@xxxxxxx> writes:
>
> > * Andreas Schwab <schwab@xxxxxxxxxx> wrote:
> >
> >> Pekka Enberg <penberg@xxxxxxxxxx> writes:
> >>
> >> > Hi Andreas,
> >> >
> >> > Pekka Enberg <penberg@xxxxxxxxxx> writes:
> >> >>> So what do you suggest that testers who want to, say, build old Linux
> >> >>> kernel versions with new binutils do?
> >> >
> >> > On Mon, Mar 14, 2011 at 1:02 PM, Andreas Schwab <schwab@xxxxxxxxxx> wrote:
> >> >> The same that testers have to do in order to build old Linux kernel
> >> >> versions with current versions of make.
> >> >
> >> > Are you saying it's OK to screw over binutils users because GNU Make
> >> > did that too?
> >>
> >> I'm just telling you the facts.
> >
> > And you are wrong - latest Make does not break reasonably old kernel builds such
> > as v2.6.30.
>
> This is just ridiculous.
> You are defining away facts just because they don't fit your view.

No, i actually tried out the latest released Make version (3.82) and it still builds
v2.6.30 fine:

LD arch/x86/boot/setup.elf
OBJCOPY arch/x86/boot/setup.bin
BUILD arch/x86/boot/bzImage
Root device is (8, 1)
Setup is 12364 bytes (padded to 12800 bytes).
System is 3730 kB
CRC 77bb7f2d
Kernel: arch/x86/boot/bzImage is ready (#105830)

The kernel build count is at 105830 because i build and test a lot of kernels on
this box.

And the resulting kernel boots fine on a testbox:

mercury:~> uname -a
Linux mercury 2.6.30 #105830 SMP Mon Mar 14 12:29:06 CET 2011 x86_64 x86_64 x86_64 GNU/Linux

I have built and booted over half a million Linux kernels in the past 3-4 years so i
generally have quite a bit of experience when it comes to build environment bugs and
workflow problems. Breaking the build retroactively and unnecessarily like here is
one of the worst things that can be done to testing quality and efficiency.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/