Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2019 20:37:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 235676] sysutils/xen-tools411: add SPICE protocol options and support
Message-ID:  <bug-235676-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235676

            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@freebsd.org
          Reporter: olevole@olevole.ru
          Assignee: royger@freebsd.org
             Flags: maintainer-feedback?(royger@freebsd.org)

Created attachment 201940
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D201940&action=
=3Dedit
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  a=
md64
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.1=
1.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 invocatio=
n)

where qxl.c:1883 is

>>    old_pending =3D atomic_fetch_or(&d->ram->int_pending, le_events); <<

https://bugzilla.redhat.com/show_bug.cgi?id=3D1565766
https://bugs.llvm.org/show_bug.cgi?id=3D34347

Unfortunately I have no idea how to arrange this in the port Makefile.
I don=E2=80=99t 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+=3D SPICE
..
.endif

but I have no luck with this

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235676-7788>