<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 --- - bootstrap failure when -DLLVM_LINK_LLVM_DYLIB:BOOL=ON is used"
   href="https://llvm.org/bugs/show_bug.cgi?id=27855">27855</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>bootstrap failure when -DLLVM_LINK_LLVM_DYLIB:BOOL=ON is used
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </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>howarth.mailing.lists@gmail.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>Current llvm trunk fails to bootstrap on x86_64-apple-darwin15 with the
error...

[ 97%] Linking CXX executable ../../bin/llvm-objdump
Undefined symbols for architecture x86_64:
  "_xar_serialize", referenced from:
      DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, unsigned
int, bool, bool, bool, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >) in MachODump.cpp.o
  "_xar_file_first", referenced from:
      DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, unsigned
int, bool, bool, bool, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >) in MachODump.cpp.o
  "_xar_iter_new", referenced from:
      DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, unsigned
int, bool, bool, bool, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >) in MachODump.cpp.o
  "_xar_prop_first", referenced from:
      DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, unsigned
int, bool, bool, bool, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >) in MachODump.cpp.o
  "_xar_extract_tobuffersz", referenced from:
      DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, unsigned
int, bool, bool, bool, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >) in MachODump.cpp.o
  "_xar_open", referenced from:
      DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, unsigned
int, bool, bool, bool, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >) in MachODump.cpp.o
  "_xar_prop_get", referenced from:
      DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, unsigned
int, bool, bool, bool, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >) in MachODump.cpp.o
  "_xar_close", referenced from:
      DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, unsigned
int, bool, bool, bool, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >) in MachODump.cpp.o
  "_xar_prop_next", referenced from:
      DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, unsigned
int, bool, bool, bool, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >) in MachODump.cpp.o
  "_xar_iter_free", referenced from:
      DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, unsigned
int, bool, bool, bool, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >) in MachODump.cpp.o
  "_xar_file_next", referenced from:
      DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, unsigned
int, bool, bool, bool, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >) in MachODump.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/build.make:173: recipe for
target 'bin/llvm-objdump' failed
make[2]: *** [bin/llvm-objdump] Error 1
make[2]: Target 'tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/build' not
remade because of errors.
CMakeFiles/Makefile2:25056: recipe for target
'tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/all' failed
make[1]: *** [tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/all] Error 2

when -DLLVM_LINK_LLVM_DYLIB:BOOL=ON is passed to the cmake options.</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>