* [uml-devel] 2.6.12.4 + bb12
@ 2005-08-17 11:09 Antoine Martin
2005-08-17 11:54 ` [uml-devel] " Antoine Martin
0 siblings, 1 reply; 4+ messages in thread
From: Antoine Martin @ 2005-08-17 11:09 UTC (permalink / raw)
To: Blaisorblade, UML devel
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
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread* [uml-devel] Re: 2.6.12.4 + bb12
2005-08-17 11:09 [uml-devel] 2.6.12.4 + bb12 Antoine Martin
@ 2005-08-17 11:54 ` Antoine Martin
2005-08-17 14:55 ` Jeff Dike
0 siblings, 1 reply; 4+ messages in thread
From: Antoine Martin @ 2005-08-17 11:54 UTC (permalink / raw)
To: Blaisorblade; +Cc: UML 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 1
Thanks
Antoine
On Wed, 2005-08-17 at 12:09 +0100, Antoine Martin wrote:
> 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
>
> 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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [uml-devel] Re: 2.6.12.4 + bb12
2005-08-17 11:54 ` [uml-devel] " Antoine Martin
@ 2005-08-17 14:55 ` Jeff Dike
2005-08-18 17:47 ` Antoine Martin
0 siblings, 1 reply; 4+ messages in thread
From: Jeff Dike @ 2005-08-17 14:55 UTC (permalink / raw)
To: Antoine Martin; +Cc: Blaisorblade, UML devel
On Wed, Aug 17, 2005 at 12:54:32PM +0100, Antoine Martin wrote:
> 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
> ?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:
Index: linux-2.6.13-rc6/arch/um/os-Linux/elf_aux.c
===================================================================
--- linux-2.6.13-rc6.orig/arch/um/os-Linux/elf_aux.c 2005-08-08 12:11:18.000000000 -0400
+++ linux-2.6.13-rc6/arch/um/os-Linux/elf_aux.c 2005-08-15 13:53:50.000000000 -0400
@@ -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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] Re: 2.6.12.4 + bb12
2005-08-17 14:55 ` Jeff Dike
@ 2005-08-18 17:47 ` Antoine Martin
0 siblings, 0 replies; 4+ messages in thread
From: Antoine Martin @ 2005-08-18 17:47 UTC (permalink / raw)
To: Jeff Dike; +Cc: Blaisorblade, UML 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
On Wed, 2005-08-17 at 10:55 -0400, Jeff Dike wrote:
> On Wed, Aug 17, 2005 at 12:54:32PM +0100, Antoine Martin wrote:
> > 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
> > ?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:
>
> Index: linux-2.6.13-rc6/arch/um/os-Linux/elf_aux.c
> ===================================================================
> --- linux-2.6.13-rc6.orig/arch/um/os-Linux/elf_aux.c 2005-08-08 12:11:18.000000000 -0400
> +++ linux-2.6.13-rc6/arch/um/os-Linux/elf_aux.c 2005-08-15 13:53:50.000000000 -0400
> @@ -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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-08-18 17:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-17 11:09 [uml-devel] 2.6.12.4 + bb12 Antoine Martin
2005-08-17 11:54 ` [uml-devel] " Antoine Martin
2005-08-17 14:55 ` Jeff Dike
2005-08-18 17:47 ` Antoine Martin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox