#2972: libdrm-2.1.15
------------------------+---------------------------------------------------
Reporter: trent.shea | Owner: blfs-b...@…
Type: task | Status: new
Priority: normal | Milestone: 6.5
Component: BOOK | Version: SVN
Severity: normal | Keywords:
------------------------+---------------------------------------------------
Comment(by trent.shea):
Replying to [comment:1 conathan]:
> I compiled that on my linux system, and when compiling for 32bit, it
failed due to
>
> In file included from intel_bufmgr_gem.c:56:
> intel_atomic.h:58:2: error: #error libdrm-intel requires atomic
operations, please define them for your CPU/compiler.
That's the same error message - thanks for including it.
> I found http://bugs.freedesktop.org/show_bug.cgi?id=24381 that suggested
-march=i686, and it compiled.
Thanks, I just purged libatomic-ops and tried:
CFLAGS=march=native ./configure && make and drm built for me, too.
Actually, a git pull from today didn't require libatomic-ops or march=*.
> Note: I am currently using a multilib system. This may affect the my
results
>
> I did not use the atomic_ops package, nor did I see any
warning/information that I may want it when compiling libdrm.
There's notes about atomic_ops in the git master branch, along with a few
other suggestions:
Quote from the drm configure file:
AC_MSG_ERROR([libdrm_intel depends upon atomic operations, which were not
found for your compiler/cpu. Try compiling with -march=native, or install
the libatomics-op-dev package, or, failing both of those, disable support
for Intel GPUs by passing --disable-intel to ./configure])
Another note with drm - this time pulled from git 20091023, I also
observed this behaviour with 2.1.15, though. I just built Xorg-7.5 with
MesaLib-7.6 and MesaGLUT-7.6 and had to comment out the DRI line in
/etc/udev/rules.d/55-lfs.rules or I wouldn't get /dev/dri/card0. Can
anyone confirm this?
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2972#comment:2>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page