Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2017 11:29:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [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.
Message-ID:  <bug-217226-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 217226
           Summary: devel/llvm40: Assertion failed: (it !=3D
                    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@FreeBSD.org
          Reporter: greenreaper@hotmail.com
          Assignee: brooks@FreeBSD.org
             Flags: maintainer-feedback?(brooks@FreeBSD.org)

Created attachment 180138
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D180138&action=
=3Dedit
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/AsmParse=
r.cpp:2043:25:
warning: variable 'CppHashLocLineNo' is uninitialized when used here
[-Wuninitialized]
        LastQueryLine =3D CppHashLocLineNo;
                        ^~~~~~~~~~~~~~~~

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

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

/tmp/usr/ports/devel/llvm40/work/llvm-4.0.0rc2.src/lib/MC/MCParser/AsmParse=
r.cpp:2152:13:
note: initialize the variable 'LineNo' to silence this warning
  int LineNo =3D
            ^
             =3D 0
 Assertion failed: (it !=3D 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=3D31723
https://bugs.llvm.org//show_bug.cgi?id=3D31692

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

--=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-217226-13>