pitrou commented on PR #55694: URL: https://github.com/apache/arrow/pull/55694#issuecomment-7126853132
> Hm yeah, we set `-DBUILD_SHARED_LIBS=ON`, which [sets](https://github.com/abseil/abseil-cpp/blob/20260817.0/absl/copts/AbseilConfigureCopts.cmake#L6-L11) `ABSL_BUILD_DLL` when compiling with msvc. But AFAICT, the [condition](https://github.com/abseil/abseil-cpp/blob/20260817.0/absl/synchronization/mutex.h#L1198-L1207) for the out-of-line definition never triggers in conda-forge, because we _do_ set NDEBUG when building our artefacts - and even if we didn't, we'd still stumble over `!defined(ABSL_BUILD_DLL)`. Your link is pointing to the inline definition though? The out-of-line definition is [here](https://github.com/abseil/abseil-cpp/blob/2065f4ded0558c6f89fee67c8e5228feb4eb960e/absl/synchronization/mutex.cc#L756-L764). If `ABSL_BUILD_DLL` is set when building, then the out-of-line definition should be compiled? -- 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]
