[llvm-bugs] [Bug 28433] New: CommandLine Error: Option 'clang-component' registered more than once!

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 6 01:12:19 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28433

            Bug ID: 28433
           Summary: CommandLine Error: Option 'clang-component' registered
                    more than once!
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: octoploid at yandex.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

on ppc64le I get:

trippels at gcc2-power8 AST % valgrind --track-origins=yes
/home/trippels/llvm_build/bin/clang-tblgen -gen-clang-attr-ast-visitor -I
/home/trippels/llvm/tools/clang/include/clang/AST/../../ -I
/home/trippels/llvm/tools/clang/include/clang/AST -I
/home/trippels/llvm/lib/Target -I /home/trippels/llvm/include
/home/trippels/llvm/tools/clang/include/clang/AST/../Basic/Attr.td -o
/home/trippels/llvm_build/tools/clang/include/clang/AST/AttrVisitor.inc.tmp     
==24123== Memcheck, a memory error detector
==24123== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==24123== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==24123== Command: /home/trippels/llvm_build/bin/clang-tblgen
-gen-clang-attr-ast-visitor -I
/home/trippels/llvm/tools/clang/include/clang/AST/../../ -I
/home/trippels/llvm/tools/clang/include/clang/AST -I
/home/trippels/llvm/lib/Target -I /home/trippels/llvm/include
/home/trippels/llvm/tools/clang/include/clang/AST/../Basic/Attr.td -o
/home/trippels/llvm_build/tools/clang/include/clang/AST/AttrVisitor.inc.tmp
==24123== 
: CommandLine Error: Option 'clang-component' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
==24123== Invalid free() / delete / delete[] / realloc()
==24123==    at 0x4095394: free (in
/usr/lib64/valgrind/vgpreload_memcheck-ppc64le-linux.so)
==24123==    by 0x100676BF: llvm::SmallPtrSetImplBase::~SmallPtrSetImplBase()
(SmallPtrSet.h:82)
==24123==    by 0x100A9EE7:
llvm::SmallPtrSetImpl<llvm::Record*>::~SmallPtrSetImpl() (in
/home/trippels/llvm_build/bin/clang-tblgen)
==24123==    by 0x100A9E97: llvm::SmallPtrSet<llvm::Record*,
16u>::~SmallPtrSet() (in /home/trippels/llvm_build/bin/clang-tblgen)
==24123==    by 0x100AB98B: llvm::cl::Option::~Option() (in
/home/trippels/llvm_build/bin/clang-tblgen)
==24123==    by 0x100AB5CF: llvm::cl::opt<ActionType, false,
llvm::cl::parser<ActionType> >::~opt() (in
/home/trippels/llvm_build/bin/clang-tblgen)
==24123==    by 0x466232B: __run_exit_handlers (in /usr/lib64/libc-2.20.so)
==24123==    by 0x4662373: exit (in /usr/lib64/libc-2.20.so)
==24123==    by 0x414A793: llvm::report_fatal_error(llvm::Twine const&, bool)
(in /home/trippels/llvm-install/lib/libLLVMSupport.so)
==24123==    by 0x414A93B: llvm::report_fatal_error(char const*, bool) (in
/home/trippels/llvm-install/lib/libLLVMSupport.so)
==24123==    by 0x41292DF: llvm::cl::Option::addArgument() (in
/home/trippels/llvm-install/lib/libLLVMSupport.so)
==24123==    by 0x41293E7: llvm::cl::opt<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >, false,
llvm::cl::parser<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > >::done() (in
/home/trippels/llvm-install/lib/libLLVMSupport.so)
==24123==  Address 0x100cfd50 is 112 bytes inside data symbol
"_ZN12_GLOBAL__N_16ActionE"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160706/28d9b745/attachment.html>


More information about the llvm-bugs mailing list