Using SYSTEM cURL (build against OpenSSL) conflicts with BoringSSL #43878
Labels
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
subtype: ubuntu/linux
Ubuntu/Linux Build/Installation Issues
TF 2.3
Issues related to TF 2.3
type:build/install
Build and install issues
System information
Describe the problem
Due to a hard-coded configure value of cURL (see #40065 (comment)) we build TensorFlow with a system-installed cURL via
TF_SYSTEM_LIBS=curl
. This curl uses the systems OpenSSL library (for security reasons this has to be managed by the system)Some parts of TF use BoringSSL, e.g. grpcio (build as a dependency) seems to contain/build a BoringSSL itself.
Now loading the TF lib (via an import in Python) loads cURL, which loads OpenSSL which causes conflicts with the BoringSSL used and ultimately leads to invalid free calls:
Provide the exact sequence of commands / steps that you executed before running into the problem
Any other info / logs
Is there any solution from the side of TF to avoid this? From reading the docs of BoringSSL it should be possible to define
BORINGSSL_PREFIX
to something, so the symbols from OpenSSL and BoringSSL do not clash. But I'm not sure if I understood that correctly as BoringSSL would need to use that when being built alreadyThe text was updated successfully, but these errors were encountered: