2.6.12.4 + bb12
Hi Paolo,
After applying uml-2.6.12-bb12-skas0.patch.bz2 to 2.6.12.4 I got a few rejects, I figured these were merged in 2.6.12.x
Then I tried to cross compile a i386 guest on a amd64 host (got to do this until the memory leak is fixed) but I got this compile error:
# make ARCH=um SUBARCH=i386 vmlinux
(...)
CC arch/um/sys-i386/ptrace_user.o
SYMLINK arch/um/sys-i386/semaphore.c
CC arch/um/sys-i386/semaphore.o
CC arch/um/sys-i386/signal.o
CC arch/um/sys-i386/sigcontext.o
AS arch/um/sys-i386/stub.o
CC arch/um/sys-i386/stub_segv.o
In file included from /usr/include/asm/sigcontext.h:7,
from arch/um/sys-i386/stub_segv.c:7:
/usr/include/asm-i386/sigcontext.h:18: error: redefinition of ‘struct
_fpreg’
/usr/include/asm-i386/sigcontext.h:23: error: redefinition of ‘struct
_fpxreg’
/usr/include/asm-i386/sigcontext.h:29: error: redefinition of ‘struct
_xmmreg’
/usr/include/asm-i386/sigcontext.h:33: error: redefinition of ‘struct
_fpstate’
/usr/include/asm-i386/sigcontext.h:57: error: redefinition of ‘struct
sigcontext’
make[1]: *** [arch/um/sys-i386/stub_segv.o] Error 1
make: *** [arch/um/sys-i386] Error 2Any clues.
Thanks
Antoine
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
And for completeness, I get this error on amd64:
# make vmlinux ARCH=um
LD arch/um/drivers/port.o
CC arch/um/drivers/pty.o
CC arch/um/drivers/tty.o
CC arch/um/drivers/xterm.o
CC arch/um/drivers/xterm_kern.o
CC arch/um/drivers/cow_user.o
CC arch/um/drivers/random.o
LD arch/um/drivers/built-in.o
CC arch/um/os-Linux/elf_aux.o
In file included from /usr/include/asm/user.h:4,
from /usr/include/asm-x86_64/elf.h:9,
from /usr/include/asm/elf.h:4,
from arch/um/os-Linux/elf_aux.c:12:
/usr/include/asm-x86_64/user.h:56: error: syntax error before ‘u64’
/usr/include/asm-x86_64/user.h:58: error: syntax error before ‘mxcsr’
/usr/include/asm-x86_64/user.h:59: error: syntax error before
‘mxcsr_mask’
/usr/include/asm-x86_64/user.h:60: error: syntax error before ‘st_space’
/usr/include/asm-x86_64/user.h:61: error: syntax error before
‘xmm_space’
/usr/include/asm-x86_64/user.h:62: error: syntax error before ‘padding’
/usr/include/asm-x86_64/user.h:63: error: syntax error before ‘}’ token
/usr/include/asm-x86_64/user.h:87: error: field ‘i387’ has incomplete
type
make[1]: *** [arch/um/os-Linux/elf_aux.o] Error 1Thanks
Antoine
Quoted 30 lines · Antoine Martin
Hi Paolo,
After applying uml-2.6.12-bb12-skas0.patch.bz2 to 2.6.12.4 I got a few rejects, I figured these were merged in 2.6.12.x
Then I tried to cross compile a i386 guest on a amd64 host (got to do this until the memory leak is fixed) but I got this compile error:# make ARCH=um SUBARCH=i386 vmlinux (...) CC arch/um/sys-i386/ptrace_user.o SYMLINK arch/um/sys-i386/semaphore.c CC arch/um/sys-i386/semaphore.o CC arch/um/sys-i386/signal.o CC arch/um/sys-i386/sigcontext.o AS arch/um/sys-i386/stub.o CC arch/um/sys-i386/stub_segv.o In file included from /usr/include/asm/sigcontext.h:7, from arch/um/sys-i386/stub_segv.c:7: /usr/include/asm-i386/sigcontext.h:18: error: redefinition of ‘struct _fpreg’ /usr/include/asm-i386/sigcontext.h:23: error: redefinition of ‘struct _fpxreg’ /usr/include/asm-i386/sigcontext.h:29: error: redefinition of ‘struct _xmmreg’ /usr/include/asm-i386/sigcontext.h:33: error: redefinition of ‘struct _fpstate’ /usr/include/asm-i386/sigcontext.h:57: error: redefinition of ‘struct sigcontext’ make[1]: *** [arch/um/sys-i386/stub_segv.o] Error 1 make: *** [arch/um/sys-i386] Error 2
Quoted 4 lines
Any clues.
Thanks
Antoine
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 4 lines · Antoine Martin
And for completeness, I get this error on amd64:
/usr/include/asm-x86_64/user.h:56: error: syntax error before ?u64?/usr/include/asm-x86_64/user.h:58: error: syntax error before ?mxcsr?/usr/include/asm-x86_64/user.h:59: error: syntax error before
Quoted 8 lines
?mxcsr_mask?
/usr/include/asm-x86_64/user.h:60: error: syntax error before ?st_space?/usr/include/asm-x86_64/user.h:61: error: syntax error before ?xmm_space?/usr/include/asm-x86_64/user.h:62: error: syntax error before ?padding?/usr/include/asm-x86_64/user.h:63: error: syntax error before ?}? token/usr/include/asm-x86_64/user.h:87: error: field ?i387? has incomplete type
This one I have a patch for:
arch/um/os-Linux/elf_aux.c +0 -1
@@ -9,7 +9,6 @@*/ #include <elf.h> #include <stddef.h> -#include <asm/elf.h> #include "init.h" #include "elf_user.h" #include "mem_user.h"
Jeff
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Thanks jeff, this patch did fix it on amd64.
anyone got any idea about the SUBARCH=i386 one? (looks similar - probably another unnecessary/ifdefed include)
PS, here it is again:
CC arch/um/sys-i386/semaphore.o
CC arch/um/sys-i386/signal.o
CC arch/um/sys-i386/sigcontext.o
AS arch/um/sys-i386/stub.o
CC arch/um/sys-i386/stub_segv.o
In file included from /usr/include/asm/sigcontext.h:7,
from arch/um/sys-i386/stub_segv.c:7:/usr/include/asm-i386/sigcontext.h:18: error: redefinition of ‘struct _fpreg’/usr/include/asm-i386/sigcontext.h:23: error: redefinition of ‘struct _fpxreg’/usr/include/asm-i386/sigcontext.h:29: error: redefinition of ‘struct _xmmreg’/usr/include/asm-i386/sigcontext.h:33: error: redefinition of ‘struct _fpstate’/usr/include/asm-i386/sigcontext.h:57: error: redefinition of ‘struct sigcontext’
make[1]: *** [arch/um/sys-i386/stub_segv.o] Error 1
Quoted 29 lines · Jeff Dike
Quoted 4 lines · Antoine Martin
And for completeness, I get this error on amd64:
/usr/include/asm-x86_64/user.h:56: error: syntax error before ?u64?/usr/include/asm-x86_64/user.h:58: error: syntax error before ?mxcsr?/usr/include/asm-x86_64/user.h:59: error: syntax error beforeQuoted 8 lines
?mxcsr_mask?
/usr/include/asm-x86_64/user.h:60: error: syntax error before ?st_space?/usr/include/asm-x86_64/user.h:61: error: syntax error before ?xmm_space?/usr/include/asm-x86_64/user.h:62: error: syntax error before ?padding?/usr/include/asm-x86_64/user.h:63: error: syntax error before ?}? token/usr/include/asm-x86_64/user.h:87: error: field ?i387? has incomplete typeThis one I have a patch for:
Index:
linux-2.6.13-rc6/arch/um/os-Linux/elf_aux.c
===================================================================arch/um/os-Linux/elf_aux.c +0
-1@@ -9,7 +9,6 @@*/ #include <elf.h> #include <stddef.h> -#include <asm/elf.h> #include "init.h" #include "elf_user.h" #include "mem_user.h"
Quoted 1 line
Jeff
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel