From: Jan Dittmer <jdi@l4x.org>
To: Adrian Bunk <bunk@kernel.org>
Cc: Jeff Dike <jdike@linux.intel.com>,
user-mode-linux-devel@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Subject: Re: 2.6.23-rc5 regression: uml on x86_64 compile error
Date: Mon, 03 Sep 2007 14:36:00 +0200 [thread overview]
Message-ID: <46DBFFB0.3080204@l4x.org> (raw)
In-Reply-To: <20070903104619.GR16016@stusta.de>
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
prev parent reply other threads:[~2007-09-03 12:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-03 10:46 Adrian Bunk
2007-09-03 12:36 ` Jan Dittmer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46DBFFB0.3080204@l4x.org \
--to=jdi@l4x.org \
--cc=bunk@kernel.org \
--cc=jdike@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome