<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - CommandLine Error: Option 'clang-component' registered more than once!"
   href="https://llvm.org/bugs/show_bug.cgi?id=28433">28433</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>CommandLine Error: Option 'clang-component' registered more than once!
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>octoploid@yandex.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>on ppc64le I get:

trippels@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"</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>