[Bug 218251] graphics/dri does not compile with llvm40

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 31 09:08:33 UTC 2017


            Bug ID: 218251
           Summary: graphics/dri does not compile with llvm40
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11 at FreeBSD.org
          Reporter: w.schwarzenfeld at utanet.at
             Flags: maintainer-feedback?(x11 at FreeBSD.org)
          Assignee: x11 at FreeBSD.org

Does not know how relevant it is.
I open it cause of a post on pipermail.
In this post seems other things cause of the problem.

But I tried it.
With the same error message:
./gallivm/lp_bld_intr.h:69:20: error: unknown type name 'LLVMAttribute'; 
did you mean 'LLVMAttribu
                    LLVMAttribute attr);

Found this patch

It solve a lot of error messages. Leaving two trivial errors, one in
and two in gallium/drivers/llvmpipe/lp_state_fs.c (They are same error as
solved on other lines 
in the patch).

But it finally stops in gallium/drivers/llvmpipe/lp_state_fs.c cause it could
not find
/usr/local/llvm40/include/llvm/Bitcode/ReaderWriter.h. It does not exist.

(so seems it is broken with llvm40).

As I said if it may be not relevant (cause MESA_LLVM_VER= 39 is explicit set in
masterport (graphics/libGL). so please close it

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-x11 mailing list