[Bug 245178] graphics/mesa-dri no member named 'CGFT_ObjectFile'

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245178

            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: [email protected]
          Reporter: [email protected]
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])

Created attachment 212851
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212851&action=edit
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_ObjectFile'
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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.