[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] error installing xen tools on ubuntu 18.10 - make -j4 dist-tools



>>> On 14.02.19 at 09:47, <ayushdosaj2313@xxxxxxxxx> wrote:
> Error Description: https://pastebin.com/rmq6KaPq 
> 
> Help Needed.

If you ask for help, please provide reasonably complete data. It is entirely
unclear what Xen version you're trying to build. And there was a change a
little while back actually addressing this or a similar problem, so it would be
important to know whether your tree includes commit e8dfbc2962.

Beyond that, you reporting on xen-devel rather than xen-users, I think it
would have been nice if you did at least a little bit of investigation yourself
(and tell us what you've found, rather than just error output).

Jan

> On running command:
> make -j4 dist-tools
> 
> 
> Error snap from here:
> make -C x86_instruction_emulator install
> make[6]: Entering directory
> '/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz/x86_instruct
> ion_emulator'
> [ -L x86-emulate.h ] || ln -sf
> /home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz/x86_instructi
> on_emulator/../../../tools/tests/x86_emulator/x86-emulate.h
> [ -L x86_emulate ] || ln -sf
> /home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz/x86_instructi
> on_emulator/../../../xen/arch/x86/x86_emulate
> [ -L asm ] || ln -sf
> /home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz/x86_instructi
> on_emulator/../../../xen/include/asm-x86
> asm
> [ -L x86-emulate.c ] || ln -sf
> /home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz/x86_instructi
> on_emulator/../../../tools/tests/x86_emulator/x86-emulate.c
> gcc  -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall
> -Wstrict-prototypes -Wdeclaration-after-statement
> -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2
> -fomit-frame-pointer
> -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF
> .afl-harness.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
>  
> -I/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz/x86_instruct
> ion_emulator/../../../tools/include
> -D__XEN_TOOLS__ -I.  -c -o afl-harness.o afl-harness.c
> [ -L wrappers.c ] || ln -sf
> /home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz/x86_instructi
> on_emulator/../../../tools/tests/x86_emulator/wrappers.c
> gcc  -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall
> -Wstrict-prototypes -Wdeclaration-after-statement
> -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2
> -fomit-frame-pointer
> -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF
> .fuzz-emul.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
>  
> -I/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz/x86_instruct
> ion_emulator/../../../tools/include
> -D__XEN_TOOLS__ -I.  -c -o fuzz-emul.o fuzz-emul.c
> gcc  -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall
> -Wstrict-prototypes -Wdeclaration-after-statement
> -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2
> -fomit-frame-pointer
> -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF
> .x86-emulate.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
>  
> -I/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz/x86_instruct
> ion_emulator/../../../tools/include
> -D__XEN_TOOLS__ -I.  -c -o x86-emulate.o x86-emulate.c
> gcc  -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall
> -Wstrict-prototypes -Wdeclaration-after-statement
> -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -O2
> -fomit-frame-pointer
> -D__XEN_INTERFACE_VERSION__=__XEN_LATEST_INTERFACE_VERSION__ -MMD -MF
> .wrappers.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
>  
> -I/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz/x86_instruct
> ion_emulator/../../../tools/include
> -D__XEN_TOOLS__ -I.  -c -o wrappers.o wrappers.c
> In file included from /usr/include/features.h:424,
>                  from
> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
>                  from /usr/include/stdio.h:27,
>                  from wrappers.c:2:
> wrappers.c: In function ‘emul_memcpy’:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:31:1: error: inlining
> failed in call to always_inline ‘memcpy’: target specific option mismatch
>  __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
>  ^~~~~
> wrappers.c:30:5: note: called from here
>      memcpy(dst, src, sz);
>      ^~~~~~~~~~~~~~~~~~~~
> make[6]: ***
> [/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz/x86_instruct
> ion_emulator/../../../tools/Rules.mk:225:
> wrappers.o] Error 1
> make[6]: *** Waiting for unfinished jobs....
> In file included from /usr/include/features.h:424,
>                  from /usr/include/assert.h:35,
>                  from fuzz-emul.c:1:
> fuzz-emul.c: In function ‘input_read’:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:31:1: error: inlining
> failed in call to always_inline ‘memcpy’: target specific option mismatch
>  __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
>  ^~~~~
> fuzz-emul.c:67:5: note: called from here
>      memcpy(dst, &s->corpus->data[s->data_index], size);
>      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/features.h:424,
>                  from /usr/include/assert.h:35,
>                  from fuzz-emul.c:1:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:31:1: error: inlining
> failed in call to always_inline ‘memcpy’: target specific option mismatch
>  __NTH (memcpy (void *__restrict __dest, const void *__restrict __src,
>  ^~~~~
> fuzz-emul.c:67:5: note: called from here
>      memcpy(dst, &s->corpus->data[s->data_index], size);
>      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> make[6]: ***
> [/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz/x86_instruct
> ion_emulator/../../../tools/Rules.mk:225:
> fuzz-emul.o] Error 1
> In file included from /usr/include/features.h:424,
>                  from /usr/include/assert.h:35,
>                  from x86-emulate.h:1,
>                  from x86-emulate.c:1:
> x86_emulate/x86_emulate.c: In function ‘protmode_load_seg’:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: error: inlining
> failed in call to always_inline ‘memset’: target specific option mismatch
>  __NTH (memset (void *__dest, int __ch, size_t __len))
>  ^~~~~
> In file included from x86-emulate.c:226:
> x86_emulate/x86_emulate.c:1831:13: note: called from here
>              memset(sreg, 0, sizeof(*sreg));
>              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/features.h:424,
>                  from /usr/include/assert.h:35,
>                  from x86-emulate.h:1,
>                  from x86-emulate.c:1:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:59:1: error: inlining
> failed in call to always_inline ‘memset’: target specific option mismatch
>  __NTH (memset (void *__dest, int __ch, size_t __len))
>  ^~~~~
> In file included from x86-emulate.c:226:
> x86_emulate/x86_emulate.c:1831:13: note: called from here
>              memset(sreg, 0, sizeof(*sreg));
>              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> make[6]: ***
> [/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz/x86_instruct
> ion_emulator/../../../tools/Rules.mk:225:
> x86-emulate.o] Error 1
> make[6]: Leaving directory
> '/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz/x86_instruct
> ion_emulator'
> make[5]: ***
> [/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz/../../tools/
> Rules.mk:249:
> subdir-install-x86_instruction_emulator] Error 2
> make[5]: Leaving directory
> '/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz'
> make[4]: ***
> [/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz/../../tools/
> Rules.mk:244:
> subdirs-install] Error 2
> make[4]: Leaving directory
> '/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/fuzz'
> make[3]: ***
> [/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/../tools/Rules.mk
> :249:
> subdir-install-fuzz] Error 2
> make[3]: Leaving directory
> '/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools'
> make[2]: ***
> [/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools/../tools/Rules.mk
> :244:
> subdirs-install] Error 2
> make[2]: Leaving directory
> '/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools'
> make[1]: *** [Makefile:74: install] Error 2
> make[1]: Leaving directory
> '/home/ayush/Downloads/tklengyel-drakvuf-4328381/xen/tools'
> make: *** [Makefile:127: install-tools] Error 2
> ayush@Dos98:~/Downloads/tklengyel-drakvuf-4328381/xen$
> 
> 
> -- 
> Ayush Dosaj
> VIT Vellore




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.