Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2017 09:08:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 218251] graphics/dri does not compile with llvm40
Message-ID:  <bug-218251-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218251

            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@FreeBSD.org
          Reporter: w.schwarzenfeld@utanet.at
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@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';=20
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=20
in the patch).

But it finally stops in gallium/drivers/llvmpipe/lp_state_fs.c cause it cou=
ld
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=3D 39 is explicit =
set in
the
masterport (graphics/libGL). so please close it

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218251-7141>