vitalybuka commented on pull request #11633: URL: https://github.com/apache/arrow/pull/11633#issuecomment-962501788
> > Constructor of global in one module uses a global from another module, which is not constructed yet. > > Which one is that, concretely? global kDefaultJoinOptions here https://github.com/apache/arrow/blob/412da89146f2366925abda86d34c49d25a78b294/cpp/src/arrow/compute/kernels/scalar_string.cc#L4620 needs https://github.com/apache/arrow/blob/412da89146f2366925abda86d34c49d25a78b294/cpp/src/arrow/compute/api_scalar.cc#L294-L295 which needs kJoinOptionsType https://github.com/apache/arrow/blob/412da89146f2366925abda86d34c49d25a78b294/cpp/src/arrow/compute/api_scalar.cc#L199 bug C++ does not define an order in which they will initialized, whatever linker choose. -- 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]
