mimalloc icon indicating copy to clipboard operation
mimalloc copied to clipboard

MI_OSX_INTERPOSE=ON does not work on older macOS: build fails with undefined __Znam etc.

Open barracuda156 opened this issue 2 years ago • 0 comments

On older macOS MI_OSX_INTERPOSE=ON does not work – build fails with:

Undefined symbols:
  "__Znam", referenced from:
      __mi_cxx_interposes in alloc.c.o
  "__ZnwmRKSt9nothrow_t", referenced from:
      __mi_cxx_interposes in alloc.c.o
  "__Znwm", referenced from:
      __mi_cxx_interposes in alloc.c.o
  "__ZnamRKSt9nothrow_t", referenced from:
      __mi_cxx_interposes in alloc.c.o

These were introduced in https://github.com/microsoft/mimalloc/commit/c47de7eb9090cf8c0a5f307a74437cf927a361be#diff-09d94a49fa7395392e824b1a84c3c76e360ed043aef99205441dc0a199a8a1b8R92

Is this something fixable or not?

barracuda156 avatar Jul 08 '23 11:07 barracuda156