[Bug 109268] New: Compilation of xf86-video-intel fails because byteswap.h is not available on OpenBSD

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 10 06:12:24 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=109268

            Bug ID: 109268
           Summary: Compilation of xf86-video-intel fails because
                    byteswap.h is not available on OpenBSD
           Product: xorg
           Version: git
          Hardware: x86-64 (AMD64)
                OS: OpenBSD
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/intel
          Assignee: chris at chris-wilson.co.uk
          Reporter: ejpbazlv at mail.unet.to
        QA Contact: intel-gfx-bugs at lists.freedesktop.org

File src/sna/sna_video.c includes byteswap.h which is not present on OpenBSD
and compilation fails. This problem is visible for me on commit
e5ff8e1828f97891c819c919d7115c6e18b2eb1f (date Mon Dec 3 08:58:39 2018 +0000,
latest as of my testing) and git log says that usage of bswap_32() function was
introduced in 746ab3bb131dea8ad015e7804bfcdd6b4cc4f44e (date Tue Nov 13
09:45:02 2018 +0200). I'm using git checkout from:

https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git

of the driver. Other than bswap_32() problem, the code works and compiles on
OpenBSD -current.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20190110/3156d7c0/attachment.html>


More information about the intel-gfx-bugs mailing list