Messages in this thread |  | | | Date | Sun, 29 Mar 2009 23:36:47 +0300 (IDT) | | From | Or Gerlitz <> | | Subject | error building Linus tree |
| |
Building Linus tree with gcc 4.1.1 on an x86_64 system based on RHEL 5 I run into the following error:
CHK include/linux/version.h CHK include/linux/utsrelease.h SYMLINK include/asm -> include/asm-x86 CC kernel/bounds.s In file included from include/linux/compiler-gcc.h:86, from include/linux/compiler.h:40, from include/linux/stddef.h:4, from include/linux/posix_types.h:4, from include/linux/types.h:14, from include/linux/page-flags.h:8, from kernel/bounds.c:9: include/linux/compiler-gcc4.h:8:4: error: #error Your version of gcc miscompiles the __weak directive make[1]: *** [kernel/bounds.s] Error 1 make: *** [prepare0] Error 2
This is my gcc information, attached is the .config I use
Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux Thread model: posix gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)
Or. [unhandled content-type:application/x-bzip2] |  |