https://gitlab.com/xen-project/people/andyhhp/xen/-/jobs/2355562119
ld: prelink.o: in function `vtd_setup': drivers/passthrough/vtd/iommu.c:(.init.text+0x219f6): undefined reference to `opt_hap_2mb' drivers/passthrough/vtd/iommu.c:(.init.text+0x219f6): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `opt_hap_2mb' ld: drivers/passthrough/vtd/iommu.c:(.init.text+0x21a23): undefined reference to `opt_hap_1gb' drivers/passthrough/vtd/iommu.c:(.init.text+0x21a23): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `opt_hap_1gb' ld: ./.xen-syms.0: hidden symbol `opt_hap_2mb' isn't defined ld: final link failed: bad value make[3]: *** [arch/x86/Makefile:137: xen-syms] Error 1 It's really not clear why this has first show up now. There has been a huge quantity of noise in Gitlab CI for the past 3 weeks with ARM being offline, but I can't see anything relevant in the large number of IOMMU changes in that period. Anyway, the issue is simple. It's vtd_ept_page_compatible() in a !CONFIG_HVM build. ~Andrew