Created attachment 398588 [details, diff] mesa-9999.ebuild.patch After rebuilding mesa with USE='-r600-llvm-compiler' 'grep libelf /var/db/pkg/media-libs/mesa-10.3.7-r1/NEEDED.ELF.2' finds nothing. media-libs/mesa-10.3.7-r1 was built with the following: USE="dri3 egl gallium gbm llvm nptl pax_kernel pic udev vdpau xa -bindist -classic -debug -gles1 -gles2 -opencl -openmax -openvg -osmesa -r600-llvm-compiler (-selinux) -wayland -xvmc" ABI_X86="64 -32 -x32" VIDEO_CARDS="r600 radeon -freedreno -i915 -i965 -ilo -intel -nouveau -r100 -r200 -r300 -radeonsi -vmware" I looked into configure.ac of current git master, libelf is required only for opencl, radeonsi and r600-llvm-compiler: if test "x$enable_opencl" = xyes; then ... if test "x$have_libelf" != xyes; then AC_MSG_ERROR([Clover requires libelf]) fi fi ... radeon_llvm_check() { ... if test "x$have_libelf" != xyes; then AC_MSG_ERROR([$1 requires libelf when using llvm]) fi } ... if test -n "$with_gallium_drivers"; then gallium_drivers=`IFS=', '; echo $with_gallium_drivers` for driver in $gallium_drivers; do case "x$driver" in ... xr600) ... if test "x$enable_r600_llvm" = xyes -o "x$enable_opencl" = xyes; then radeon_llvm_check "r600g" LLVM_COMPONENTS="${LLVM_COMPONENTS} bitreader asmparser" fi ... ;; xradeonsi) .. radeon_llvm_check "radeonsi" .. ;; esac done fi
Created attachment 398590 [details, diff] mesa-10.3.7-r1.ebuild.patch
Thanks! Fixed in 9999 and 10.5.2.