<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>I am building clang 8.0.1 from source and tried using -D<span
        style="color: rgb(0, 0, 0); font-family: "Lucida
        Grande", "Lucida Sans Unicode", Geneva, Verdana,
        sans-serif; font-size: 14px; font-style: normal;
        font-variant-ligatures: normal; font-variant-caps: normal;
        font-weight: 400; letter-spacing: normal; orphans: 2;
        text-align: left; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial; display: inline !important; float: none;">LLVM_TARGETS_TO_BUILD="X86"
        as part of the cmake input along with shared libraries. LLVM
        builds fine, the clang executable builds fine but the clang .so
        fails, saying all the other arch entry points are missing. As
        soon as I change X86 to all for both llvm and clang, it works
        fine. I am bootstrapping with gcc9/ld first.</span><br>
      <span style="color: rgb(0, 0, 0); font-family: "Lucida
        Grande", "Lucida Sans Unicode", Geneva, Verdana,
        sans-serif; font-size: 14px; font-style: normal;
        font-variant-ligatures: normal; font-variant-caps: normal;
        font-weight: 400; letter-spacing: normal; orphans: 2;
        text-align: left; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial; display: inline !important; float: none;"><span
          style="color: rgb(0, 0, 0); font-family: "Lucida
          Grande", "Lucida Sans Unicode", Geneva,
          Verdana, sans-serif; font-size: 14px; font-style: normal;
          font-variant-ligatures: normal; font-variant-caps: normal;
          font-weight: 400; letter-spacing: normal; orphans: 2;
          text-align: left; text-indent: 0px; text-transform: none;
          white-space: normal; widows: 2; word-spacing: 0px;
          -webkit-text-stroke-width: 0px; background-color: rgb(255,
          255, 255); text-decoration-style: initial;
          text-decoration-color: initial; display: inline !important;
          float: none;">Is this something I am doing wrong or is there a
          build bug?</span></span></p>
    <p><span style="color: rgb(0, 0, 0); font-family: "Lucida
        Grande", "Lucida Sans Unicode", Geneva, Verdana,
        sans-serif; font-size: 14px; font-style: normal;
        font-variant-ligatures: normal; font-variant-caps: normal;
        font-weight: 400; letter-spacing: normal; orphans: 2;
        text-align: left; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial; display: inline !important; float: none;">cmake command
        for llvm:</span></p>
    <p><span style="color: rgb(0, 0, 0); font-family: "Lucida
        Grande", "Lucida Sans Unicode", Geneva, Verdana,
        sans-serif; font-size: 14px; font-style: normal;
        font-variant-ligatures: normal; font-variant-caps: normal;
        font-weight: 400; letter-spacing: normal; orphans: 2;
        text-align: left; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial; display: inline !important; float: none;">LD_LIBRARY_PATH="/usr/local/compilers/gcc9/lib64"
        cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Relea<br>
        se -DCMAKE_C_COMPILER=/usr/local/compilers/gcc9/bin/gcc
        -DCMAKE_CXX_COMPILER=/usr/local/compilers/gc<br>
        c9/bin/g++ -DCMAKE_INSTALL_PREFIX=/usr/local/compilers/clang8
        -DLLVM_TARGETS_TO_BUILD="all" -DLLVM_B<br>
        UILD_LLVM_DYLIB=true -DLLVM_LINK_LLVM_DYLIB=true
        ../../llvm-8.0.1.src</span></p>
    <p><span style="color: rgb(0, 0, 0); font-family: "Lucida
        Grande", "Lucida Sans Unicode", Geneva, Verdana,
        sans-serif; font-size: 14px; font-style: normal;
        font-variant-ligatures: normal; font-variant-caps: normal;
        font-weight: 400; letter-spacing: normal; orphans: 2;
        text-align: left; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial; display: inline !important; float: none;">clang:</span></p>
    <p><span style="color: rgb(0, 0, 0); font-family: "Lucida
        Grande", "Lucida Sans Unicode", Geneva, Verdana,
        sans-serif; font-size: 14px; font-style: normal;
        font-variant-ligatures: normal; font-variant-caps: normal;
        font-weight: 400; letter-spacing: normal; orphans: 2;
        text-align: left; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial; display: inline !important; float: none;">LD_LIBRARY_PATH="/usr/local/compilers/gcc9/lib64"
        cmake -G "Unix Makefiles" -D<br>
        CMAKE_BUILD_TYPE=Release
        -DCMAKE_C_COMPILER=/usr/local/compilers/gcc9/bin/gcc<br>
        -DCMAKE_CXX_COMPILER=/usr/local/compilers/gcc9/bin/g++
        -DCMAKE_INSTALL_PREFIX=<br>
        /usr/local/compilers/clang8 -DLLVM_TARGETS_TO_BUILD="all"
        -DLLVM_BUILD_LLVM_DY<br>
        LIB=true -DLLVM_LINK_LLVM_DYLIB=true
        -DCMAKE_C_FLAGS="-L/usr/local/compilers/c<br>
        lang8/lib" -DCMAKE_CXX_FLAGS="-L/usr/local/compilers/clang8/lib"
        ../../cfe-8.0<br>
        .1.src<br>
      </span></p>
    <p><span style="color: rgb(0, 0, 0); font-family: "Lucida
        Grande", "Lucida Sans Unicode", Geneva, Verdana,
        sans-serif; font-size: 14px; font-style: normal;
        font-variant-ligatures: normal; font-variant-caps: normal;
        font-weight: 400; letter-spacing: normal; orphans: 2;
        text-align: left; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial; display: inline !important; float: none;">thanks,</span></p>
    <p><span style="color: rgb(0, 0, 0); font-family: "Lucida
        Grande", "Lucida Sans Unicode", Geneva, Verdana,
        sans-serif; font-size: 14px; font-style: normal;
        font-variant-ligatures: normal; font-variant-caps: normal;
        font-weight: 400; letter-spacing: normal; orphans: 2;
        text-align: left; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial; display: inline !important; float: none;">jerry<br>
      </span></p>
    <p><span style="color: rgb(0, 0, 0); font-family: "Lucida
        Grande", "Lucida Sans Unicode", Geneva, Verdana,
        sans-serif; font-size: 14px; font-style: normal;
        font-variant-ligatures: normal; font-variant-caps: normal;
        font-weight: 400; letter-spacing: normal; orphans: 2;
        text-align: left; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
        255); text-decoration-style: initial; text-decoration-color:
        initial; display: inline !important; float: none;"><br>
      </span></p>
  </body>
</html>