pitrou commented on PR #41128:
URL: https://github.com/apache/arrow/pull/41128#issuecomment-4603681917
Ate selectively added the `-fsemantic-interposition` file for the MemoryPool
implementation code and it seems it made the mimalloc symbols in the PyArrow
wheels interposable again.
This can be seen for example by the `arrow_mi_free` call going through the
PLT (whatever that means exactly :-)):
```
0000000000b89fc0
<_ZN5arrow18BaseMemoryPoolImplINS_12_GLOBAL__N_117MimallocAllocatorEE4FreeEPhll.lto_priv.0>:
b89fc0: 55 push %rbp
b89fc1: 48 89 d5 mov %rdx,%rbp
b89fc4: 53 push %rbx
b89fc5: 48 89 fb mov %rdi,%rbx
b89fc8: 48 83 ec 08 sub $0x8,%rsp
b89fcc: 48 3b 35 9d 78 de 01 cmp 0x1de789d(%rip),%rsi #
2971870 <_ZN5arrow11memory_pool8internal14zero_size_areaE@@Base-0x38d0>
b89fd3: 74 08 je b89fdd
<_ZN5arrow18BaseMemoryPoolImplINS_12_GLOBAL__N_117MimallocAllocatorEE4FreeEPhll.lto_priv.0+0x1d>
b89fd5: 48 89 f7 mov %rsi,%rdi
b89fd8: e8 23 a7 7b ff call 344700 <arrow_mi_free@plt>
b89fdd: f0 48 29 6b 48 lock sub %rbp,0x48(%rbx)
b89fe2: 48 83 c4 08 add $0x8,%rsp
b89fe6: 5b pop %rbx
b89fe7: 5d pop %rbp
b89fe8: c3 ret
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]