<html>
    <head>
      <base href="http://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 --- - Fails to build under Debian Kfreebsd"
   href="http://llvm.org/bugs/show_bug.cgi?id=20379">20379</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Fails to build under Debian Kfreebsd
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sylvestre@debian.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>LLDB is failing to build with:

llvm[7]: Compiling Host.cpp for Release build
if  g++-4.9 -I/«PKGBUILDDIR»/build-llvm/include
-I/«PKGBUILDDIR»/build-llvm/tools/lldb/source/Host/freebsd
-I/«PKGBUILDDIR»/include -I/«PKGBUILDDIR»/tools/lldb/source/Host/freebsd 
-DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
-I/«PKGBUILDDIR»/tools/lldb/source/Host/freebsd/../../../include
-I/«PKGBUILDDIR»/build-llvm/tools/lldb/source/Host/freebsd/../../../include
-I/«PKGBUILDDIR»/tools/clang/include
-I/«PKGBUILDDIR»/build-llvm/tools/clang/include
-I/«PKGBUILDDIR»/tools/lldb/source/Host/freebsd/../../../source
-I/«PKGBUILDDIR»/tools/lldb/source/Host/freebsd/../../../source/Utility
-I/«PKGBUILDDIR»/tools/lldb/source/Host/freebsd/../../../source/Plugins/Process/Utility
-I/«PKGBUILDDIR»/tools/lldb/source/Host/freebsd/../../../source/Plugins/Process/POSIX
-I/usr/include/python2.7 -I/usr/include/i386-kfreebsd-gnu/python2.7
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2  -std=c++11
-fvisibility-inlines-hidden -fno-exceptions -fPIC -Woverloaded-virtual
-ffunction-sections -fdata-sections -Wcast-qual -fno-strict-aliasing -std=c++0x
-D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2
-D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2
-I/usr/local/include -D_FORTIFY_SOURCE=2  -pedantic -Wno-long-long -Wall -W
-Wno-unused-parameter -Wwrite-strings  -Wno-unknown-pragmas -Wno-sign-compare
-Wno-sign-compare -Wno-unused-function   -Wno-maybe-uninitialized
-Wno-missing-field-initializers -c -MMD -MP -MF
"/«PKGBUILDDIR»/build-llvm/tools/lldb/source/Host/freebsd/Release/Host.d.tmp"
-MT "/«PKGBUILDDIR»/build-llvm/tools/lldb/source/Host/freebsd/Release/Host.o"
-MT "/«PKGBUILDDIR»/build-llvm/tools/lldb/source/Host/freebsd/Release/Host.d"
/«PKGBUILDDIR»/tools/lldb/source/Host/freebsd/Host.cpp -o
/«PKGBUILDDIR»/build-llvm/tools/lldb/source/Host/freebsd/Release/Host.o ; \
        then /bin/mv -f
"/«PKGBUILDDIR»/build-llvm/tools/lldb/source/Host/freebsd/Release/Host.d.tmp"
"/«PKGBUILDDIR»/build-llvm/tools/lldb/source/Host/freebsd/Release/Host.d"; else
/bin/rm
"/«PKGBUILDDIR»/build-llvm/tools/lldb/source/Host/freebsd/Release/Host.d.tmp";
exit 1; fi
/«PKGBUILDDIR»/tools/lldb/source/Host/freebsd/Host.cpp: In static member
function 'static std::string lldb_private::Host::GetThreadName(lldb::pid_t,
lldb::tid_t)':
/«PKGBUILDDIR»/tools/lldb/source/Host/freebsd/Host.cpp:101:55: error:
'reallocf' was not declared in this scope
             kp = (struct kinfo_proc *)reallocf(kp, len);
                                                       ^
Full log:
<a href="https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-snapshot&arch=kfreebsd-i386&ver=1%3A3.5~svn213451-1&stamp=1405802003">https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-snapshot&arch=kfreebsd-i386&ver=1%3A3.5~svn213451-1&stamp=1405802003</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>