[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 17.02.19 at 09:29, <ayushdosaj2313@xxxxxxxxx> wrote:

First of all - please don't top-post, and please don't send private mail
in response to a public discussion which might benefit others as well.

> I have done all research and investigation but i am unable to solve
> this problem.
> None of what is being said in archives work.
> 
> I have gcc-8.2.0 and python 2.7.15+ and i am using xen4.11.1
> i have also tested this with earlier versions of xen like 4.11.0 and 4.10
> etc
> i am unable to resolve this error.

I've pointed you at a change that I assume will help. Did you try
applying it to your tree?

> further, i visited this link:
> https://lists.denx.de/pipermail/u-boot/2018-July/336364.html 
> this does not explain how to solve this error at all. I dont know where to
> put '-g' flag and in which makefile.
> And i getting no response on the above error.

How is a qemu build issue related here?

> please help.
> 
> [BUILD] bin/dhcpopts.o
> /tmp/cc5bYolT.s: Assembler messages:
> /tmp/cc5bYolT.s:18289: Error: junk at end of line, first unrecognized
> character is `@'
> /tmp/cc5bYolT.s:18339: Error: junk at end of line, first unrecognized
> character is `@'
> /tmp/cc5bYolT.s:20027: Error: junk at end of line, first unrecognized
> character is `@'
> /tmp/cc5bYolT.s:18289: Error: can't resolve `__table_entries.2720'
> {.tbl.net_device_configurators.99 section} - `__table_entries.2722'
> {.tbl.net_device_configurators.00 section}
> /tmp/cc5bYolT.s:18339: Error: can't resolve `__table_entries.2720'
> {.tbl.net_device_configurators.99 section} - `__table_entries.2722'
> {.tbl.net_device_configurators.00 section}
> /tmp/cc5bYolT.s:20027: Error: can't resolve `__table_entries.2796'
> {.tbl.net_device_configurators.99 section} - `__table_entries.2798'
> {.tbl.net_device_configurators.00 section}
> make[8]: *** [Makefile.housekeeping:916: bin/netdevice.o] Error 1
> make[8]: *** Waiting for unfinished jobs....
> make[8]: Leaving directory
> '/home/ayush/drakvuf/xen/tools/firmware/etherboot/ipxe/src'
> make[7]: *** [Makefile:28: ipxe/src/bin/rtl8139.rom] Error 2
> make[7]: Leaving directory
> '/home/ayush/drakvuf/xen/tools/firmware/etherboot'
> make[6]: ***
> [/home/ayush/drakvuf/xen/tools/firmware/../../tools/Rules.mk:249:
> subdir-all-etherboot] Error 2
> make[6]: Leaving directory '/home/ayush/drakvuf/xen/tools/firmware'
> make[5]: ***
> [/home/ayush/drakvuf/xen/tools/firmware/../../tools/Rules.mk:244:
> subdirs-all] Error 2
> make[5]: Leaving directory '/home/ayush/drakvuf/xen/tools/firmware'
> make[4]: *** [Makefile:37: all] Error 2
> make[4]: Leaving directory '/home/ayush/drakvuf/xen/tools/firmware'
> make[3]: *** [/home/ayush/drakvuf/xen/tools/../tools/Rules.mk:249:
> subdir-install-firmware] Error 2
> make[3]: Leaving directory '/home/ayush/drakvuf/xen/tools'
> make[2]: *** [/home/ayush/drakvuf/xen/tools/../tools/Rules.mk:244:
> subdirs-install] Error 2
> make[2]: Leaving directory '/home/ayush/drakvuf/xen/tools'
> make[1]: *** [Makefile:74: install] Error 2
> make[1]: Leaving directory '/home/ayush/drakvuf/xen/tools'
> make: *** [Makefile:127: install-tools] Error 2

I'm sorry, but this is entirely different from your first posting.
Please don't mix different issues into a single thread. I don't
think I can help you with this one - one more reason not to
send private mail.

Jan

> On Thu, Feb 14, 2019 at 2:57 PM Jan Beulich <JBeulich@xxxxxxxx> wrote:
> 
>> >>> 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
>>
>>
>>
>>
> 
> -- 
> 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®.