<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 --- - llvm/clang/libc++ bootstrap fails on darwin12"
   href="https://llvm.org/bugs/show_bug.cgi?id=23439">23439</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm/clang/libc++ bootstrap fails on darwin12
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libc++
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>All Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>howarth.mailing.lists@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu, mclow.lists@gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Bootstrapping at r236592 with...

<a href="http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150504/128555.html">http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150504/128555.html</a>
<a href="http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150504/128561.html">http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150504/128561.html</a>
<a href="http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150504/128567.html">http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150504/128567.html</a>

applied using...

cmake -DLLVM_BUILD_32_BITS:BOOL=OFF -DLLVM_TARGETS_TO_BUILD=X86
-DLLVM_ENABLE_ASSERTIONS=OFF -DCMAKE_BUILD_TYPE=Release
-DCMAKE_OSX_SYSROOT:STRING=/ -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=""
-DLLVM_ENABLE_LIBCXX=ON ..

fails with the error...

Linking CXX shared library ../../../lib/libc++.dylib
cd /sw/src/fink.build/llvm37-3.7.0-100/llvm-3.7.0.src/build/projects/libcxx/lib
&& /sw/bin/cmake -E cmake_link_script CMakeFiles/cxx.dir/link.txt --verbose=1
/sw/var/lib/fink/path-prefix-clang/c++    -fPIC -fvisibility-inlines-hidden
-Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default
-std=c++
11 -std=c++11 -O3 -DNDEBUG -dynamiclib -Wl,-headerpad_max_install_names
-nodefaultlibs -compatibility_version 1 -install_name /usr/lib/libc++.1.dylib
-Wl,-unexported_symbols_list,/sw/src/fink.build/llvm37-3.7.0-100/llvm-3.
7.0.src/projects/libcxx/lib/libc++unexp.exp /usr/lib/libc++abi.dylib
-Wl,-reexported_symbols_list,/sw/src/fink.build/llvm37-3.7.0-100/llvm-3.7.0.src/projects/libcxx/lib/libc++abi2.exp
-Wl,-force_symbols_not_weak_list,/sw/s
rc/fink.build/llvm37-3.7.0-100/llvm-3.7.0.src/projects/libcxx/lib/notweak.exp
-Wl,-force_symbols_weak_list,/sw/src/fink.build/llvm37-3.7.0-100/llvm-3.7.0.src/projects/libcxx/lib/weak.exp
 -L/sw/lib -stdlib=libc++ -compatib
ility_version 1.0.0 -current_version 1.0.0 -o ../../../lib/libc++.1.0.dylib
-install_name @rpath/libc++.1.dylib CMakeFiles/cxx.dir/__/src/algorithm.cpp.o
CMakeFiles/cxx.dir/__/src/bind.cpp.o CMakeFiles/cxx.dir/__/src/chron
o.cpp.o CMakeFiles/cxx.dir/__/src/condition_variable.cpp.o
CMakeFiles/cxx.dir/__/src/debug.cpp.o CMakeFiles/cxx.dir/__/src/exception.cpp.o
CMakeFiles/cxx.dir/__/src/future.cpp.o CMakeFiles/cxx.dir/__/src/hash.cpp.o
CMakeFi
les/cxx.dir/__/src/ios.cpp.o CMakeFiles/cxx.dir/__/src/iostream.cpp.o
CMakeFiles/cxx.dir/__/src/locale.cpp.o CMakeFiles/cxx.dir/__/src/memory.cpp.o
CMakeFiles/cxx.dir/__/src/mutex.cpp.o CMakeFiles/cxx.dir/__/src/new.cpp.o 
CMakeFiles/cxx.dir/__/src/optional.cpp.o CMakeFiles/cxx.dir/__/src/random.cpp.o
CMakeFiles/cxx.dir/__/src/regex.cpp.o
CMakeFiles/cxx.dir/__/src/shared_mutex.cpp.o
CMakeFiles/cxx.dir/__/src/stdexcept.cpp.o CMakeFiles/cxx.di
r/__/src/string.cpp.o CMakeFiles/cxx.dir/__/src/strstream.cpp.o
CMakeFiles/cxx.dir/__/src/system_error.cpp.o
CMakeFiles/cxx.dir/__/src/thread.cpp.o CMakeFiles/cxx.dir/__/src/typeinfo.cpp.o
CMakeFiles/cxx.dir/__/src/utility
.cpp.o CMakeFiles/cxx.dir/__/src/valarray.cpp.o -lpthread -lc -lm
-Wl,-rpath,@executable_path/../lib 
ld: requested re-export symbol std::set_unexpected(void (*)()) is not from a
dylib, but from CMakeFiles/cxx.dir/__/src/exception.cpp.o
 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libc++.1.0.dylib] Error 1
make[1]: *** [projects/libcxx/lib/CMakeFiles/cxx.dir/all] Error 2
make: *** [all] Error 2

whereas darwin14 bootstraps the same sources with the same cmake command
without issues.</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>