Re: Unable to compile 2.6.30-rc7 on RHEL 4 - GCC 3.4.6

From: GeunSik Lim
Date: Mon May 25 2009 - 17:45:27 EST


Hi,

If you want to use recent kernel source 2.6.24/2.6.28,
I recommend that you have to update linux distribution from current
linux distribution to
RHEL 5.X ( or CENTOS 5.X) in my experience.

Refer to http://linuxdistrowatch.com website to select linux
distribution for you.

If you keep gcc 3.X.X to compile recent kernel source contiunally,
You will meet another problems again.

On Tue, May 26, 2009 at 1:56 AM, debian developer <debiandev@xxxxxxxxx> wrote:
> Hi all,
>
> I am getting this error when trying to compile the latest rc:
>
> /in/inndesk171/linux-2.6.28/arch/x86/Makefile:82: stack protector
> enabled but no compiler support
> ÂCHK Â Â include/linux/version.h
> ÂCHK Â Â include/linux/utsrelease.h
> ÂSYMLINK include/asm -> include/asm-x86
> ÂCALL Â Âscripts/checksyscalls.sh
> ÂCC Â Â Âinit/main.o
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h: In
> function `start_kernel':
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1590:
> warning: asm operand 1 probably doesn't match constraints
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1570:
> warning: asm operand 2 probably doesn't match constraints
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1590:
> warning: asm operand 1 probably doesn't match constraints
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1570:
> warning: asm operand 2 probably doesn't match constraints
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1599:
> warning: asm operand 1 probably doesn't match constraints
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1590:
> error: impossible constraint in `asm'
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1570:
> error: impossible constraint in `asm'
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1590:
> error: impossible constraint in `asm'
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1570:
> error: impossible constraint in `asm'
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1599:
> error: impossible constraint in `asm'
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1568:
> warning: 'f' might be used uninitialized in this function
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1568:
> warning: 'f' might be used uninitialized in this function
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1568:
> warning: 'f' might be used uninitialized in this function
> /in/inndesk171/linux-2.6.28/arch/x86/include/asm/paravirt.h:1568:
> warning: 'f' might be used uninitialized in this function
> make[1]: *** [init/main.o] Error 1
> make: *** [init] Error 2
>
>
> The gcc version is as follows:
> debiandev@inndesk171[80] gcc -v
> Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --disable-checking --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-java-awt=gtk
> --host=x86_64-redhat-linux
> Thread model: posix
> gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)
>
>
> Is this gcc version no longer usable to compile the latest kernel?
>
> Thanks,
> DD
> --
> 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/
>



--
Regards,
GeunSik Lim
--
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/
--
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/