Bug 93524 - Clover doesn't build
Summary: Clover doesn't build
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: 11.0
Hardware: Other FreeBSD
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
Depends on:
Reported: 2015-12-28 19:41 UTC by Koop Mast
Modified: 2016-02-29 11:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Add LIBELF_CFLAGS to fix the build. (864 bytes, patch)
2015-12-28 19:41 UTC, Koop Mast
Details | Splinter Review

Description Koop Mast 2015-12-28 19:41:47 UTC
Created attachment 120719 [details] [review]
Add LIBELF_CFLAGS to fix the build.

When libelf is installed in a location not in the default search locations for header. Clover will not build.

  CXX      tgsi/libcltgsi_la-compiler.lo
  CXX      llvm/libclllvm_la-invocation.lo
  CXXLD    libcltgsi.la
llvm/invocation.cpp:77:20: fatal error: libelf.h: No such file or directory
compilation terminated.
Makefile:861: recipe for target 'llvm/libclllvm_la-invocation.lo' failed
gmake[4]: *** [llvm/libclllvm_la-invocation.lo] Error 1
gmake[4]: *** Waiting for unfinished jobs....
Comment 1 Michel Dänzer 2016-01-06 03:25:47 UTC
Please send the patch to the mesa-dev mailing list for review, with the commit log changed to something like:

 clover: Add libelf cflags

 Fixes the build when libelf is in a non default location.
Comment 2 Emil Velikov 2016-02-29 11:30:10 UTC
Just tweaked the patch and landed it in master. It should find it's way in the stable branches in due time.

For the future, please send patches directly to the mailing list.

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.