[PATCH] D126415: [gn build] Set llvm_have_mallinfo2 to true by default
Peter Waller via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 25 13:52:36 PDT 2022
peterwaller-arm added a comment.
For anyone wandering the internet in search of an answer to all their woes (probably future me, Hi future me!), this is the relevant error.
FAILED: obj/llvm/lib/Support/Support.Process.o
../../../../../../../opt/by-petwal01/ccache-bin/bin/clang++ -MMD -MF obj/llvm/lib/Support/Support.Process.o.d -o obj/llvm/lib/Support/Support.Process.o -c ../../llvm/lib/Support/Process.cpp -I../../llvm/lib/Support/Unix -I../../llvm/lib/Support/Windows -I../../llvm/include -Igen/llvm/include -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -fPIC -Wcovered-switch-default -std=c++14 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti
In file included from ../../llvm/lib/Support/Process.cpp:107:
../../llvm/lib/Support/Unix/Process.inc:93:20: error: variable has incomplete type 'struct mallinfo2'
struct mallinfo2 mi;
^
../../llvm/lib/Support/Unix/Process.inc:93:10: note: forward declaration of 'mallinfo2'
struct mallinfo2 mi;
^
../../llvm/lib/Support/Unix/Process.inc:94:10: error: no member named 'mallinfo2' in the global namespace
mi = ::mallinfo2();
~~^
2 errors generated.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126415/new/
https://reviews.llvm.org/D126415
More information about the llvm-commits
mailing list