<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Assertion `FirstN.isUniqued() && "Expected uniqued node"' failed."
   href="https://bugs.llvm.org/show_bug.cgi?id=34534">34534</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion `FirstN.isUniqued() && "Expected uniqued node"' failed.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bero@lindev.ch
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Trying to build lxqt-globalkeys 0.11.1 with clang 5.0 results in

clang-5.0: ../lib/Transforms/Utils/ValueMapper.cpp:726: llvm::Metadata
*(anonymous namespace)::MDNodeMapper::mapTopLevelUniquedNode(const llvm::MDNode
&): Assertion `FirstN.isUniqued() && "Expected uniqued node"' failed.
#0 0x00007f1d93bd6b7a llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/lib64/libLLVMSupport.so.5.0+0xd8b7a)
#1 0x00007f1d93bd577e llvm::sys::RunSignalHandlers()
(/usr/lib64/libLLVMSupport.so.5.0+0xd777e)
#2 0x00007f1d93bd6dde (/usr/lib64/libLLVMSupport.so.5.0+0xd8dde)
#3 0x0000003210a302f0 __restore_rt (/lib64/libc.so.6+0x3210a302f0)
#4 0x0000003210a302b4 __GI_raise (/lib64/libc.so.6+0x3210a302b4)
#5 0x0000003210a31108 __GI_abort (/lib64/libc.so.6+0x3210a31108)
#6 0x0000003210a2a573 __GI___assert_fail (/lib64/libc.so.6+0x3210a2a573)
#7 0x0000003210a2a5b7 __GI___assert_perror_fail (/lib64/libc.so.6+0x3210a2a5b7)
#8 0x00007f1d93a4a92f (/usr/lib64/libLLVMTransformUtils.so.5.0+0xf092f)
#9 0x00007f1d93a4ad17 (/usr/lib64/libLLVMTransformUtils.so.5.0+0xf0d17)
#10 0x00007f1d93a48d3d (/usr/lib64/libLLVMTransformUtils.so.5.0+0xeed3d)
#11 0x00007f1d93a48bb2 llvm::ValueMapper::mapMetadata(llvm::Metadata const&)
(/usr/lib64/libLLVMTransformUtils.so.5.0+0xeebb2)
#12 0x00007f1d93a48eba llvm::ValueMapper::mapMDNode(llvm::MDNode const&)
(/usr/lib64/libLLVMTransformUtils.so.5.0+0xeeeba)
#13 0x00007f1d939a5805 llvm::CloneFunctionInto(llvm::Function*, llvm::Function
const*, llvm::ValueMap<llvm::Value const*, llvm::WeakTrackingVH,
llvm::ValueMapConfig<llvm::Value const*, llvm::sys::SmartMutex<false> > >&,
bool, llvm::SmallVectorImpl<llvm::ReturnInst*>&, char const*,
llvm::ClonedCodeInfo*, llvm::ValueMapTypeRemapper*, llvm::ValueMaterializer*)
(/usr/lib64/libLLVMTransformUtils.so.5.0+0x4b805)
#14 0x00007f1d939a62ff llvm::CloneFunction(llvm::Function*,
llvm::ValueMap<llvm::Value const*, llvm::WeakTrackingVH,
llvm::ValueMapConfig<llvm::Value const*, llvm::sys::SmartMutex<false> > >&,
llvm::ClonedCodeInfo*) (/usr/lib64/libLLVMTransformUtils.so.5.0+0x4c2ff)
#15 0x00007f1d950ebbd0
clang::CodeGen::CodeGenFunction::GenerateVarArgsThunk(llvm::Function*,
clang::CodeGen::CGFunctionInfo const&, clang::GlobalDecl, clang::ThunkInfo
const&) (/usr/lib64/libclangCodeGen.so.5.0+0x20bbd0)
#16 0x00007f1d950ed5a3
clang::CodeGen::CodeGenVTables::emitThunk(clang::GlobalDecl, clang::ThunkInfo
const&, bool) (/usr/lib64/libclangCodeGen.so.5.0+0x20d5a3)
#17 0x00007f1d950edadf
clang::CodeGen::CodeGenVTables::EmitThunks(clang::GlobalDecl)
(/usr/lib64/libclangCodeGen.so.5.0+0x20dadf)
#18 0x00007f1d951084f3
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl,
llvm::GlobalValue*) (/usr/lib64/libclangCodeGen.so.5.0+0x2284f3)
#19 0x00007f1d9510d8a2
clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*)
(/usr/lib64/libclangCodeGen.so.5.0+0x22d8a2)
#20 0x00007f1d95170192 (/usr/lib64/libclangCodeGen.so.5.0+0x290192)
#21 0x00007f1d950f4a39 (/usr/lib64/libclangCodeGen.so.5.0+0x214a39)
#22 0x00007f1d928dd0a9 clang::ParseAST(clang::Sema&, bool, bool)
(/usr/lib64/libclangParse.so.5.0+0x2e0a9)
#23 0x00007f1d94cdbca3 clang::FrontendAction::Execute()
(/usr/lib64/libclangFrontend.so.5.0+0xafca3)
#24 0x00007f1d94ca8728
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/lib64/libclangFrontend.so.5.0+0x7c728)
#25 0x00007f1d94c2618d
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/lib64/libclangFrontendTool.so.5.0+0x618d)
#26 0x0000000000410f29 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/usr/bin/clang-5.0+0x410f29)
#27 0x000000000040ee15 main (/usr/bin/clang-5.0+0x40ee15)
#28 0x0000003210a21de3 __libc_start_main (/lib64/libc.so.6+0x3210a21de3)
#29 0x000000000040cd3a _start (/usr/bin/clang-5.0+0x40cd3a)
Stack dump:
0.      Program arguments: /usr/bin/clang-5.0 -cc1 -triple
x86_64-unknown-linux-gnu -emit-llvm-bc -flto -flto-unit -disable-free
-main-file-name core.cpp -mrelocation-model pic -pic-level 2 -mthread-model
posix -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables
-fuse-init-array -target-cpu x86-64 -momit-leaf-frame-pointer
-dwarf-column-info -debug-info-kind=limited -dwarf-version=4
-debugger-tuning=gdb -coverage-notes-file
/home/bero/abf/lxqt-globalkeys/BUILD/lxqt-globalkeys-0.11.1/build/daemon/CMakeFiles/lxqt-globalkeysd.dir/core.cpp.gcno
-sys-header-deps -D LXQT_DATA_DIR="/usr/share" -D
LXQT_ETC_XDG_DIR="/etc/xdg/qt5" -D LXQT_GRAPHICS_DIR="/usr/share/lxqt/graphics"
-D LXQT_RELATIVE_SHARE_DIR="lxqt" -D
LXQT_RELATIVE_SHARE_TRANSLATIONS_DIR="lxqt/translations" -D
LXQT_SHARE_DIR="/usr/share/lxqt" -D
LXQT_SHARE_TRANSLATIONS_DIR="/usr/share/lxqt/translations" -D
LXQT_VERSION="0.11.1" -D QT_CORE_LIB -D QT_DBUS_LIB -D QT_GUI_LIB -D
QT_NO_DEBUG -D QT_SVG_LIB -D QT_USE_QSTRINGBUILDER -D QT_WIDGETS_LIB -D
QT_X11EXTRAS_LIB -D QT_XML_LIB -D _FORTIFY_SOURCE=2 -D _FORTIFY_SOURCE=2 -Os
-Wstrict-aliasing=2 -Wformat -Werror=format-security -Wall -Wextra
-Wchar-subscripts -Wno-long-long -Wpointer-arith -Wundef -Wformat-security
-Wnon-virtual-dtor -Woverloaded-virtual -Wpedantic
-Wno-gnu-zero-variadic-macro-arguments -Wstrict-aliasing=2 -Wformat
-Werror=format-security -std=gnu++11 -fdeprecated-macro -ferror-limit 19
-fmessage-length 0 -fvisibility hidden -fvisibility-inlines-hidden
-stack-protector 1 -stack-protector-buffer-size 4 -stack-protector-buffer-size
4 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-fcolor-diagnostics -vectorize-loops -vectorize-slp -x c++ core-e10e4d.cpp 
1.      ../daemon/core.cpp:825:1: current parser token 'int'
2.      ../daemon/core.cpp:803:12: LLVM IR generation of declaration
'Core::log'
3.      ../daemon/core.cpp:803:12: Generating code for declaration 'Core::log'</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>