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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux