Re: 2.6.20 doesn't compile with gcc-3.2.2

From: Alistair John Strachan
Date: Mon Feb 05 2007 - 13:29:48 EST


On Monday 05 February 2007 18:04, you wrote:
> Alistair John Strachan wrote:
> > On Monday 05 February 2007 13:48, Bodo Eggert wrote:
> > > Al Boldi <a1426z@xxxxxxxxx> wrote:
> > > > Doing the following results in an incomplete vmlinuz:
> > > >
> > > > # make bzlilo
> > > >
> > > > objcopy: arch/i386/boot/compressed/vmlinux.bin: File truncated
> > > > make[2]: *** [arch/i386/boot/compressed/vmlinux.bin] Error 1
> > > > make[1]: *** [arch/i386/boot/compressed/vmlinux] Error 2
> > > > make: *** [bzlilo] Error 2
> > > >
> > > > gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
> > >
> > > I just compiled using gcc 3.3.5 (debian stable). Please verify that
> > > your disk is not full and gcc is the cause. If it is, this patch should
> > > do the trick: :)
> >
> > Not so fast.. post your config? If you've got anything referring to
> > relocatable kernel support, try disabling it?
>
> No luck disabling relocatable kernel, but using a mem-split other than 3/1
> compiles fine. There is a catch though, the kernel won't boot anymore.
>
> # ld -v
> GNU ld version 2.13.90.0.18 20030121
>
> Which binutils version is now the minimum required, and why is a binutils
> upgrade necessary?

Another obvious question is, did -rc1/-rc2 compile correctly? If you have the
time, go through all the -rc's, that'll make a bisection easier (if you end
up having to do one).

--
Cheers,
Alistair.

Final year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
-
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/