<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - new llvm::sys::fs::is_local_impl(statvfs&)' is toxic to Solaris build"
   href="https://bugs.llvm.org/show_bug.cgi?id=33228">33228</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>new llvm::sys::fs::is_local_impl(statvfs&)' is toxic to Solaris build
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>Sun
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Solaris
          </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>Support Libraries
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>Fedor.Sergeev@oracle.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After updating to the trunk from release_40 branch my x86-Solaris-11 build
starts failing:

=================
[  0%] Built target LLVMDemangle
[  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Path.cpp.o
In file included from /LLVM/llvm-50/llvm/lib/Support/Path.cpp:1220:0:
/LLVM/llvm-50/llvm/lib/Support/Unix/Path.inc: In function 'bool
llvm::sys::fs::is_local_impl(statvfs&)':
/LLVM/llvm-50/llvm/lib/Support/Unix/Path.inc:103:35: error: 'struct statvfs'
has no member named 'f_flags'
 #define STATVFS_F_FLAG(vfs) (vfs).f_flags
                                   ^
/LLVM/llvm-50/llvm/lib/Support/Unix/Path.inc:385:13: note: in expansion of
macro 'STATVFS_F_FLAG'
   return !!(STATVFS_F_FLAG(Vfs) & MNT_LOCAL);
             ^
/fsergeev/LLVM/llvm-50/llvm/lib/Support/Unix/Path.inc:385:35: error:
'MNT_LOCAL' was not declared in this scope
   return !!(STATVFS_F_FLAG(Vfs) & MNT_LOCAL);
                                   ^
gmake[2]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/Path.cpp.o] Error 1
gmake[1]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2
gmake: *** [all] Error 2
=================

Obviously statvfs usage is not compatible with Solaris interfaces.</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>