google / tcmalloc

Apache License 2.0
4.31k stars 463 forks source link

Compiler error HAVE_SBRK #234

Closed lisz98 closed 4 months ago

lisz98 commented 4 months ago

I try to compile the project with cmake and get the following error: operator '&&' has no right operand #if defined(FreeBSD) &&defined (_LP64) &&HAVE_SBRK, which is illegal when the HAVE_SBRK definition is faulty

ckennelly commented 4 months ago

This is probably related to https://github.com/gperftools/gperftools.

This implementation of TCMalloc does not use sbrk nor does it support BSD.