Re: 2.6.20 doesn't compile with gcc-3.2.2
From: Alistair John Strachan
Date: Mon Feb 05 2007 - 08:24:41 EST
On Monday 05 February 2007 12:31, you wrote:
> Doing the following results in an incomplete vmlinuz:
>
> # make mrproper
> # make allnoconfig
> # 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 -v
> Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/specs
> Configured with: ../configure --prefix=/usr --libdir=/usr/lib
> --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
> --enable-shared --enable-threads=posix --disable-checking
> --enable-long-long --enable-__cxa_atexit
> --enable-languages=c,c++,ada,f77,objc,java
> --host=i586-mandrake-linux-gnu --with-system-zlib
> Thread model: posix
> gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
>
>
> Is gcc-4.0.1 now the minimum required to compile the kernel?
A patch went in to remove support for GCC 3.1, but as far as I know, 3.2
should be a supported compiler.
At any rate, this might be a binutils issue. What version of binutils are you
using?
--
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/