2.6.23-rc5 regression: uml on x86_64 compile error
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
Signature · 4 lines
"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 SeedQuoted 23 lines · Adrian Bunk
Commit
d1254b12c93e1e586137a2ffef71fd33cf273f35causes the following compile error (found at [1]):<-- snip -->
...
CCfs/binfmt_elf.o
In file included fromfs/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’
Quoted 8 lines
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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel