[Bug 235676] sysutils/xen-tools411: add SPICE protocol options and support
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 11 20:37:30 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235676
Bug ID: 235676
Summary: sysutils/xen-tools411: add SPICE protocol options and
support
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: royger at freebsd.org
Reporter: olevole at olevole.ru
Assignee: royger at freebsd.org
Flags: maintainer-feedback?(royger at freebsd.org)
Created attachment 201940
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=201940&action=edit
sysutils/xen-tools411: enable SPICE protocol
Tested successful with:
uname -a && clang -v
FreeBSD xen1.my.domain 13.0-CURRENT FreeBSD 13.0-CURRENT r343942 GENERIC amd64
FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM
7.0.1)
there are some issues with older CLANG versions in the form of:
/usr/bin/ld: error: undefined symbol: __atomic_fetch_or_4
>>> referenced by qxl.c:1883 (/usr/ports/sysutils/xen-tools411/work/xen-4.11.0/tools/qemu-xen/hw/display/qxl.c:1883)
>>> ../hw/display/qxl.o:(qxl_send_events)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
where qxl.c:1883 is
>> old_pending = atomic_fetch_or(&d->ram->int_pending, le_events); <<
https://bugzilla.redhat.com/show_bug.cgi?id=1565766
https://bugs.llvm.org/show_bug.cgi?id=34347
Unfortunately I have no idea how to arrange this in the port Makefile.
I don’t know how to check CLANG version from port file. Another way is enable
this feature for FreeBSD 13+ only, e.g:
.if ${OSVERSION} < 1200074
OPTIONS_DEFINE+= SPICE
..
.endif
but I have no luck with this
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list