Is it possible to install a Xen hypervisor on Manjaro?

I suspect I need a Xen hypervisor in order to virtualize OpenIndiana and Solaris, a couple of operating systems that won’t cooperate with KVM for whatever reason. I know there are other distributions that are probably better suited to this like Oracle Linux, but Manjaro seems to support my hardware a lot better than any other Linux distro out there.

I didn’t see any packages associated with Xen in the software repo, and all I can find is some vague implication I might have to rebuild the kernel to get it to work, but there’s not a clear reason given as to why I would need to do that or what the process would be.

Has anyone gotten Xen to work on Manjaro before?

Why wouldn’t it be possible ?

https://wiki.archlinux.org/index.php/xen

Hi everybody…

I’m new with manjaro…

I’m tryng to install xen project too

I already installed dependencies as pointed in the wiki

I tryed two installations methods:

1)yay xen
2)clone xen and issue "buildpkg -p xen -a multilib"

I Below is the probleam with the yay xen method and buildpkg method…

The problem I facing with 1) yay xen method
AS_XSAVEOPT -DHAVE_AS_RDSEED -DHAVE_AS_CLAC_STAC -DHAVE_AS_CLWB -DHAVE_AS_QUOTED_SYM -DHAVE_AS_INVPCID -DHAVE_AS_MOVDIR -DHAVE_AS_ENQCMD -DHAVE_AS_NEGATIVE_TRUE -DHAVE_AS_NOPS_DIRECTIVE -mno-red-zone -fpic -mno-sse -mskip-rax-setup -Wa,-I/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include ‘-D__OBJECT_FILE__=“hpet.o”’ ‘-D__OBJECT_LABEL__=arch/x86/hpet.o’ -mpreferred-stack-boundary=3 -DXEN_BUILD_EFI -DBUILD_ID_EFI -c hpet.c -o ./.hpet.o.tmp -MQ hpet.o
In file included from tboot.c:17:
tboot.c: In function ‘tboot_gen_frametable_integrity’:
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/crypto/vmac.h:143:21: error: ‘vhash_update’ accessing 1 byte in a region of size 0 [-Werror=stringop-overflow=]
143 | #define vmac_update vhash_update
tboot.c:325:9: note: in expansion of macro ‘vmac_update’
325 | vmac_update((uint8_t *)pdx_to_page(sidx * PDX_GROUP_COUNT),
| ^~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/crypto/vmac.h:143:21: note: referencing argument 1 of type ‘unsigned char *’
143 | #define vmac_update vhash_update
tboot.c:325:9: note: in expansion of macro ‘vmac_update’
325 | vmac_update((uint8_t *)pdx_to_page(sidx * PDX_GROUP_COUNT),
| ^~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/crypto/vmac.h:145:6: note: in a call to function ‘vhash_update’
145 | void vhash_update(unsigned char m[],
| ^~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/crypto/vmac.h:143:21: error: ‘vhash_update’ accessing 1 byte in a region of size 0 [-Werror=stringop-overflow=]
143 | #define vmac_update vhash_update
tboot.c:329:5: note: in expansion of macro ‘vmac_update’
329 | vmac_update((uint8_t *)pdx_to_page(sidx * PDX_GROUP_COUNT),
| ^~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/crypto/vmac.h:143:21: note: referencing argument 1 of type ‘unsigned char *’
143 | #define vmac_update vhash_update
tboot.c:329:5: note: in expansion of macro ‘vmac_update’
329 | vmac_update((uint8_t *)pdx_to_page(sidx * PDX_GROUP_COUNT),
| ^~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/crypto/vmac.h:145:6: note: in a call to function ‘vhash_update’
145 | void vhash_update(unsigned char m[],
| ^~~~~~~~~~~~
In file included from /home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/xen/lib.h:22,
from tboot.c:4:
tboot.c: In function ‘tboot_probe’:
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/xen/string.h:101:27: error: ‘__builtin_memcmp_eq’ specified bound 16 exceeds source size 0 [-Werror=stringop-overread]
101 | #define memcmp(s1, s2, n) __builtin_memcmp(s1, s2, n)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tboot.c:106:10: note: in expansion of macro ‘memcmp’
106 | if ( memcmp(&tboot_shared_uuid, (uuid_t *)tboot_shared, sizeof(uuid_t)) )
| ^~~~~~
cc1: all warnings being treated as errors
make[4]: *** [/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/Rules.mk:189: tboot.o] Erro 1
make[4]: ** Esperando que outros processos terminem.
objcopy --redefine-sym time.c=arch/x86/time.c ./.time.o.tmp time.o
rm -f ./.time.o.tmp
objcopy --redefine-sym traps.c=arch/x86/traps.c ./.traps.o.tmp traps.o
rm -f ./.traps.o.tmp
objcopy --redefine-sym hpet.c=arch/x86/hpet.c ./.hpet.o.tmp hpet.o
rm -f ./.hpet.o.tmp
In file included from x86_emulate.c:54:
x86_emulate/x86_emulate.c: In function ‘x86_emulate’:
x86_emulate/x86_emulate.c:729:26: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
729 | (ptr)[0 - PFX_BYTES] = ext < ext_8f08 ? 0xc4 : 0x8f;
| ~^~~~~~~~~~
x86_emulate/x86_emulate.c:737:9: note: in expansion of macro ‘copy_VEX’
737 | copy_VEX(ptr, vex);
| ^~~~~~~~
x86_emulate/x86_emulate.c:11324:13: note: in expansion of macro ‘copy_REX_VEX’
11324 | copy_REX_VEX(opc, rex_prefix, vex);
| ^~~~~~~~~~~~
In file included from /home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/xen/string.h:9,
from /home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/xen/lib.h:22,
from /home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/xen/list.h:10,
from /home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/xen/mm.h:56,
from /home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/xen/domain_page.h:12,
from x86_emulate.c:12:
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:6426:15: note: in expansion of macro ‘init_prefixes’
6426 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [1, 4096] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:774:21: note: in expansion of macro ‘get_stub’
774 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:6474:15: note: in expansion of macro ‘init_evex’
6474 | opc = init_evex(stub);
| ^~~~~~~~~
x86_emulate.c:35:25: note: at offset [1, 4096] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:774:21: note: in expansion of macro ‘get_stub’
774 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:6684:15: note: in expansion of macro ‘init_evex’
6684 | opc = init_evex(stub);
| ^~~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:7020:15: note: in expansion of macro ‘init_prefixes’
7020 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:7448:15: note: in expansion of macro ‘init_prefixes’
7448 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [1, 4096] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:774:21: note: in expansion of macro ‘get_stub’
774 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:7477:15: note: in expansion of macro ‘init_evex’
7477 | opc = init_evex(stub);
| ^~~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:7602:15: note: in expansion of macro ‘init_prefixes’
7602 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:7968:15: note: in expansion of macro ‘init_prefixes’
7968 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:7998:15: note: in expansion of macro ‘init_prefixes’
7998 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:8041:15: note: in expansion of macro ‘init_prefixes’
8041 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:8075:15: note: in expansion of macro ‘init_prefixes’
8075 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [1, 4096] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:774:21: note: in expansion of macro ‘get_stub’
774 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:8574:15: note: in expansion of macro ‘init_evex’
8574 | opc = init_evex(stub);
| ^~~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:8979:15: note: in expansion of macro ‘init_prefixes’
8979 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:9021:15: note: in expansion of macro ‘init_prefixes’
9021 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:9376:15: note: in expansion of macro ‘init_prefixes’
9376 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [1, 4096] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:774:21: note: in expansion of macro ‘get_stub’
774 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:9616:15: note: in expansion of macro ‘init_evex’
9616 | opc = init_evex(stub);
| ^~~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:9784:15: note: in expansion of macro ‘init_prefixes’
9784 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [-3, 4092] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:774:21: note: in expansion of macro ‘get_stub’
774 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:9905:15: note: in expansion of macro ‘init_evex’
9905 | opc = init_evex(stub);
| ^~~~~~~~~
x86_emulate.c:35:25: note: at offset [-3, 4092] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) __builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:10073:15: note: in expansion of macro ‘get_stub’
10073 | opc = get_stub(stub);
| ^~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:10545:15: note: in expansion of macro ‘init_prefixes’
10545 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:7448:15: note: in expansion of macro ‘init_prefixes’
7448 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [1, 4096] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:774:21: note: in expansion of macro ‘get_stub’
774 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:7477:15: note: in expansion of macro ‘init_evex’
7477 | opc = init_evex(stub);
| ^~~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:8041:15: note: in expansion of macro ‘init_prefixes’
8041 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [1, 4096] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:774:21: note: in expansion of macro ‘get_stub’
774 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:9616:15: note: in expansion of macro ‘init_evex’
9616 | opc = init_evex(stub);
| ^~~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:9021:15: note: in expansion of macro ‘init_prefixes’
9021 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:7968:15: note: in expansion of macro ‘init_prefixes’
7968 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
x86_emulate.c:35:25: note: at offset [1, 4096] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:774:21: note: in expansion of macro ‘get_stub’
774 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:6474:15: note: in expansion of macro ‘init_evex’
6474 | opc = init_evex(stub);
| ^~~~~~~~~
x86_emulate.c:35:25: note: at offset [0, 4095] into destination object of size [0, 9223372036854775807] allocated by ‘map_domain_page’
35 | memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) +
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/include/asm/string.h:14:42: note: in definition of macro ‘memset’
14 | #define memset(s, c, n) _builtin_memset(s, c, n)
| ^
x86_emulate/x86_emulate.c:719:21: note: in expansion of macro ‘get_stub’
719 | uint8_t *buf
= get_stub(stub);
| ^~~~~~~~
x86_emulate/x86_emulate.c:6426:15: note: in expansion of macro ‘init_prefixes’
6426 | opc = init_prefixes(stub);
| ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/Rules.mk:189: x86_emulate.o] Erro 1
make[4]: Saindo do diretório ‘/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/arch/x86’

make[3]: *** [/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/Rules.mk:180: /home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/arch/x86/built_in.o] Erro 2
make[3]: Saindo do diretório ‘/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/arch/x86’

make[2]: *** [Makefile:363: /home/wagner/.cache/yay/xen/src/xen-4.15.0/xen/xen] Erro 2
make[2]: Saindo do diretório ‘/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen’

make[1]: *** [Makefile:260: install] Erro 2
make[1]: Saindo do diretório ‘/home/wagner/.cache/yay/xen/src/xen-4.15.0/xen’

make: *** [Makefile:136: install-xen] Erro 2
==> ERRO: Uma falha ocorreu em build().
Abortando…
erro ao construir: xen

2) The problem trying to build form source…
[wagner@wagner-Insp153567 xen]$ buildpkg -p xen -a multilib

find: ‘/home/wagner/fzlbpms/var/pgsql_data’: Permission denied
find: ‘/home/wagner/.cache/yay/xen/pkg’: Permission denied
find: ‘/home/wagner/wagnerdocri@gmail.com3/envs/manjaro/gitclones/xen/pkg’: Permission denied
[sudo] password for wagner:
Sorry, try again.
[sudo] password for wagner:
→ Loading compiler settings: multilib
==> Updating chroot for [stable] (x86_64)…
==> ERROR: ‘/var/lib/manjaro-tools/buildpkg/stable/multilib/wagner’ does not appear to be a Manjaro chroot.
==> ERROR: Aborting…
[wagner@wagner-Insp153567 xen]$

Could someone shed some light to help me with this problem, please?

many thanks and best regards…

u might wanna format that better… using code tags would be a start.