Unable to compile 2.6.30-rc7 on RHEL 4 - GCC 3.4.6
From: debian developer
Date: Mon May 25 2009 - 12:56:38 EST
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/