Re: 2.6.20 doesn't compile with gcc-3.2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 05 February 2007 18:04, Al Boldi wrote:
> Alistair John Strachan wrote:
> > On Monday 05 February 2007 13:48, Bodo Eggert wrote:
> > > Al Boldi <[email protected]> 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?

Documentation/Changes still says 2.12, and your binutils is closer to 2.14.
I can't think of a particular patch to point the finger at (looking now).

If you want an interim workaround, grab a newer binutils (probably 2.17), 
install it to a prefix like $HOME/binutils, then:

export PATH=$HOME/binutils/bin:$PATH

And confirm the resulting kernel builds and works.

-- 
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux