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



In Message <55fe7db6-26f0-4f16-48db-9096f7c4cb35%marples.name@localhost>,
   Roy Marples <roy%marples.name@localhost>wrote:

=>On 17/07/2017 09:07, coypu%sdf.org@localhost wrote:
=>> 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/
=>> 
=>
=>Thanks.
=>I already found the upstream commit and have a build in progress.
=>I then have the challenge of getting tools48 to build as well before I
=>commit and test as last time I looked that was broken too.

   I found that xentools46 needed SSP disabled, as well, and I'm working
through an issue where the ocaml libs install directory has two copies of
DESTDIR in the path.

				Gary Duzan




Home | Main Index | Thread Index | Old Index