[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218251

            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.
https://lists.freebsd.org/pipermail/freebsd-ports/2017-March/107951.html
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
teRef'?
                    LLVMAttribute attr);
                    ^~~~~~~~~~~~~
                    LLVMAttributeRef

Found this patch
https://lists.freedesktop.org/archives/mesa-dev/2016-November/134513.html

It solve a lot of error messages. Leaving two trivial errors, one in
gallium/drivers/radeonsi/si_shader.c
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
the
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