pkgsrc-Users archive

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

Re: sysutils/xenkernel4[68] build errors on NetBSD 7



On Mon, Jul 17, 2017 at 08:58:27AM +0100, Roy Marples wrote:
> This is a lot better, but seems to fail at the last for me, could be a
> clang specific issue.
> 
> prelink.o: In function `xsm_default_action':
> /usr/obj/pkgsrc/sysutils/xenkernel48/work/xen-4.8.0/xen/include/xsm/dummy.h:80:
> undefined reference to `__xsm_action_mismatch_detected'
> /usr/obj/pkgsrc/sysutils/xenkernel48/work/xen-4.8.0/xen/include/xsm/dummy.h:80:(.text+0xbce6d):
> relocation truncated to fit: R_X86_64_PC32 against undefined symbol
> `__xsm_action_mismatch_detected'
> ld: /usr/obj/pkgsrc/sysutils/xenkernel48/work/xen-4.8.0/xen/.xen-syms.0:
> hidden symbol `__xsm_action_mismatch_detected' isn't defined
> ld: final link failed: Bad value

https://bugs.llvm.org/show_bug.cgi?id=32003
https://github.com/freebsd/freebsd-ports/blob/master/emulators/xen-kernel/files/0002-build-clang-fix-XSM-dummy-policy-when-using-clang-4..patch
https://patchwork.kernel.org/patch/9605951/


Home | Main Index | Thread Index | Old Index