lkml.org 
[lkml]   [2007]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.23-rc5 regression: uml on x86_64 compile error
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-03 14:39    [W:0.032 / U:0.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site