mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.23-rc5 regression: uml on x86_64 compile error
@ 2007-09-03 10:46 Adrian Bunk
  2007-09-03 12:36 ` Jan Dittmer
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-09-03 10:46 UTC (permalink / raw)
  To: Jeff Dike; +Cc: user-mode-linux-devel, linux-kernel, Jan Dittmer

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

<--  snip  -->

cu
Adrian

[1] http://l4x.org/k/?d=33926#err

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.6.23-rc5 regression: uml on x86_64 compile error
  2007-09-03 10:46 2.6.23-rc5 regression: uml on x86_64 compile error Adrian Bunk
@ 2007-09-03 12:36 ` Jan Dittmer
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Dittmer @ 2007-09-03 12:36 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Jeff Dike, user-mode-linux-devel, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-03 12:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-03 10:46 2.6.23-rc5 regression: uml on x86_64 compile error Adrian Bunk
2007-09-03 12:36 ` Jan Dittmer

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