Re: 2.6.23-rc5 regression: uml on x86_64 compile error

From: Jan Dittmer
Date: Mon Sep 03 2007 - 08:37:04 EST


Adrian Bunk wrote:
Commit d1254b12c93e1e586137a2ffef71fd33cf273f35 causes the following compile error (found at [1]):

<-- snip -->

...
CC fs/binfmt_elf.o
In file included from fs/binfmt_elf.c:30:
include/linux/elfcore.h: In function âelf_core_copy_regsâ:
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
include/linux/elfcore.h:103: error: âunion uml_pt_regsâ has no member named âgpâ
make[2]: *** [fs/binfmt_elf.o] Error 1

That may actually be a toolchain/build system problem. It's a i486 chroot in
which the compile happens. Host is x86_64 though as reported by uname. And I
use gcc 4.0 as HOSTCC, while CC is gcc 4.1.2.

# gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
# uname -m
x86_64


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