Hello,

As I understand it FreeBSD doesn't have any concept of a build essentials
package, so in theory /usr/include/malloc.h should always be installed. Are
you saying that this file doesn't exist on your system?

Thanks, Than


On Thu, Jan 27, 2022 at 5:38 AM T Odin <thorodinsoraven...@gmail.com> wrote:

> I'm trying to build gollvm on FreeBSD 13 using the command as mentioned in
> gollvm source page.
>
> *cmake -DCMAKE_BUILD_TYPE=Debug -DLLVM_USE_LINKER=gold -G Ninja
> ../llvm-project/llvm *
>
> I observed that during configuration it fails for malloc
>
> *Looking for malloc/malloc.hLooking for malloc/malloc.h - not found*
>
> which ends up with subsequent build failures for all the dependencies
> libffi, libbacktrace with
>
>
>
> *Support for mmap() is required -- setup failed.Call Stack (most recent
> call first):tools/gollvm/libgo/CMakeLists.txt:49 (setup_libffi)*
>
> I read from the FAQs that support for OS other than Linux wasn't
> supported. I'd like to clarify the changes required to be ported for
> compiling and supporting on other OS.
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/238a962f-b12e-4ccb-b2d6-0bbd91fb0040n%40googlegroups.com
> <https://groups.google.com/d/msgid/golang-nuts/238a962f-b12e-4ccb-b2d6-0bbd91fb0040n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CA%2BUr55E%3DhMwLXZuLRdjBZ%2BC-sn%3Drx3jx0wOUHVTJoDuFHxPk1g%40mail.gmail.com.

Reply via email to