Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 2020 02:29:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 245178] graphics/mesa-dri no member named 'CGFT_ObjectFile'
Message-ID:  <bug-245178-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 245178
           Summary: graphics/mesa-dri no member named 'CGFT_ObjectFile'
           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: mi@FreeBSD.org
          Assignee: x11@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)

Created attachment 212851
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D212851&action=
=3Dedit
Use llvm::CGFT_ObjectFile instead of llvm::TargetMachine::CGFT_ObjectFile

Trying to build mesa-dri on FreeBSD-12/i386, I got the following error:

common/ac_llvm_helper.cpp:138:9: error: no member named 'CGFT_ObjectFile' in
'llvm::TargetMachine'; did you mean
      'llvm::CGFT_ObjectFile'?
                                    llvm::TargetMachine::CGFT_ObjectFile)) {
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                    llvm::CGFT_ObjectFile
/opt/llvm10/include/llvm/Support/CodeGen.h:65:5: note: 'llvm::CGFT_ObjectFi=
le'
declared here
    CGFT_ObjectFile,

The change helpfully suggested by the compiler seems to have worked and the
build is proceeding, but the file is over a year old -- how did it work for
others?

--=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-245178-7788>