Bug ID 20379
Summary Fails to build under Debian Kfreebsd
Product lldb
Version unspecified
Hardware PC
OS FreeBSD
Status NEW
Severity release blocker
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter sylvestre@debian.org
Classification Unclassified
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:
[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)