[Bug 217226] devel/llvm40: Assertion failed: (it != OpaqueRValues.end() && "no mapping for opaque value!"), function getOpaqueRValueMapping, file /tmp/usr/ports/devel/llvm40/work/llvm-4.0.0rc1.src/tools/clang/lib/CodeGen/CodeGenFunction.h, line 2008.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 19 11:29:59 UTC 2017


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

            Bug ID: 217226
           Summary: devel/llvm40: Assertion failed: (it !=
                    OpaqueRValues.end() && "no mapping for opaque
                    value!"), function getOpaqueRValueMapping, file
                    /tmp/usr/ports/devel/llvm40/work/llvm-4.0.0rc1.src/too
                    ls/clang/lib/CodeGen/CodeGenFunction.h, line 2008.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks at FreeBSD.org
          Reporter: greenreaper at hotmail.com
          Assignee: brooks at FreeBSD.org
             Flags: maintainer-feedback?(brooks at FreeBSD.org)

Created attachment 180138
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180138&action=edit
Failed build output

Compilation of llvm40-4.0.0.r2 (CLANG, GOLD, OPENMP) failed in a jail on
FreeBSD 10.3-RELEASE-p11 with an assertion, along with other warnings:
---


/tmp/usr/ports/devel/llvm40/work/llvm-4.0.0rc2.src/lib/MC/MCParser/AsmParser.cpp:2043:25:
warning: variable 'CppHashLocLineNo' is uninitialized when used here
[-Wuninitialized]
        LastQueryLine = CppHashLocLineNo;
                        ^~~~~~~~~~~~~~~~

/tmp/usr/ports/devel/llvm40/work/llvm-4.0.0rc2.src/lib/MC/MCParser/AsmParser.cpp:2036:32:
note: initialize the variable 'CppHashLocLineNo' to silence this warning
      unsigned CppHashLocLineNo;
                               ^
                                = 0

/tmp/usr/ports/devel/llvm40/work/llvm-4.0.0rc2.src/lib/MC/MCParser/AsmParser.cpp:2155:71:
warning: variable 'LineNo' is uninitialized when used here [-Wuninitialized] 
  SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo,
                                                                      ^~~~~~

/tmp/usr/ports/devel/llvm40/work/llvm-4.0.0rc2.src/lib/MC/MCParser/AsmParser.cpp:2152:13:
note: initialize the variable 'LineNo' to silence this warning
  int LineNo =
            ^
             = 0
 Assertion failed: (it != OpaqueRValues.end() && "no mapping for opaque
value!"), function getOpaqueRValueMapping, file
/tmp/usr/ports/devel/llvm40/work/llvm-4.0.0rc1.src/tools/clang/lib/CodeGen/CodeGenFunction.h,
line 2008.

---

The error messages seem similar to those mentioned in:
https://bugs.llvm.org//show_bug.cgi?id=31723
https://bugs.llvm.org//show_bug.cgi?id=31692

That was apparently fixed in this revision, which occurred several weeks before
rc2 (but perhaps it has not been cherry-picked for 4.0 yet?)
http://llvm.org/viewvc/llvm-project?view=revision&revision=291318

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


More information about the freebsd-ports-bugs mailing list