| Summary: | xf86-video-intel-2.99.901 or later fail to build on Gentoo/FreeBSD. sys/timerfd.h does not exist. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | xorg | Reporter: | Yuta SATOH <nigoro.dev> | ||||
| Component: | Driver/intel | Assignee: | Chris Wilson <chris> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||
| Severity: | normal | ||||||
| Priority: | medium | ||||||
| Version: | unspecified | ||||||
| Hardware: | Other | ||||||
| OS: | FreeBSD | ||||||
| Whiteboard: | |||||||
| i915 platform: | i915 features: | ||||||
| Attachments: |
|
||||||
|
Description
Yuta SATOH
2013-12-14 13:10:17 UTC
Created attachment 90770 [details] [review] sample patch for configure.ac Added check for sys/timerfd.h FYI, build error log. gmake[2]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.906/work/xf86-video-intel-2.99.906_build/src' Making all in tools gmake[2]: Entering directory '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.906/work/xf86-video-intel-2.99.906_build/tools' x86_64-gentoo-freebsd10.0-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.906/work/xf86-video-intel-2.99.906/tools -I.. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -D_THREAD_SAFE -I/usr/include/pixman-1 -Wno-cast-qual -Wno-redundant-decls -Wno-maybe-uninitialized -O2 -pipe -ggdb -c /var/tmp/portage/x11-drivers/xf86-video-intel-2.99.906/work/xf86-video-intel-2.99.906/tools/virtual.c /var/tmp/portage/x11-drivers/xf86-video-intel-2.99.906/work/xf86-video-intel-2.99.906/tools/virtual.c:52:25: fatal error: sys/timerfd.h: No such file or directory #include <sys/timerfd.h> ^ compilation terminated. Makefile:423: recipe for target 'virtual.o' failed gmake[2]: *** [virtual.o] Error 1 gmake[2]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.906/work/xf86-video-intel-2.99.906_build/tools' Makefile:384: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.906/work/xf86-video-intel-2.99.906_build' Makefile:315: recipe for target 'all' failed gmake: *** [all] Error 2 Do you know if anything provides equivalent functionality to timerfd on *BSD? (In reply to comment #2) > Do you know if anything provides equivalent functionality to timerfd on *BSD? I don't know a thing about it... commit 989198f3ddc763000702bd1eaeb54002e18a8f04 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sun Dec 15 09:45:24 2013 +0000 intel-virtual-output: Disable build if timerfd is not present Otherwise the build breaks on *BSD. Reported-by: Yuta SATOH <nigoro.gentoo@0x100.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72707 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.