Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build failure: malloc_np.h missing



In article <ZvVksHjToQU_tpdU%exadelic.gatalith.at@localhost>,
Thomas Klausner  <wiz%NetBSD.org@localhost> wrote:
>On Thu, Sep 26, 2024 at 10:29:03AM +0200, Thomas Klausner wrote:
>> Hi!
>> 
>> With latest source, I see
>> 
>> --- Process.lo ---
>> In file included from
>/usr/src/tools/llvm-lib/libLLVMSupport/../../llvm/../../external/apache2/llvm/lib/../dist/llvm/lib/Support/Process.cpp:108:
>>
>/usr/src/tools/llvm-lib/libLLVMSupport/../../llvm/../../external/apache2/llvm/lib/../dist/llvm/lib/Support/Unix/Process.inc:38:10: fatal error:
>malloc_np.h: No such file or directory
>>    38 | #include <malloc_np.h>
>>       |          ^~~~~~~~~~~~~
>> compilation terminated.
>> 
>> when building with
>> 
>> build.sh -j 32 -x -V MKDEBUG=yes -V MKDEBUGLIB=yes -T
>/usr/obj/tools.gcc -m amd64 -O /usr/obj/src.amd64 -D
>/usr/obj/amd64.gcc.20240926 -R /usr/obj/amd64.gcc.20240926.release
>distribution
>> 
>> It's repeatable, on two consecutive tries.
>
>The problem is that this file expects malloc_np.h to exist when
>HAVE_MALLCTL is set.

Should be fixed now. It was broken because mallctl was accidentally exposed.

christos



Home | Main Index | Thread Index | Old Index