Re: 2.6.20 doesn't compile with gcc-3.2.2

From: Andi Kleen
Date: Wed Feb 07 2007 - 04:33:56 EST


Al Boldi <a1426z@xxxxxxxxx> writes:

> Doing the following results in an incomplete vmlinuz:
>
> # make mrproper
> # make allnoconfig
> # make bzlilo
>
> objcopy: arch/i386/boot/compressed/vmlinux.bin: File truncated

This looks more like some local problem. Are you sure you didn't run out of
disk space or similar? When you rerun make what error do you see?

> 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?

3.2 should work. Only 2.xx support was dropped.

-Andi
-
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/