--- tensorflow/java/BUILD.orig 2023-03-30 17:51:23.641040000 +0200 +++ tensorflow/java/BUILD 2023-03-30 17:51:34.802406000 +0200 @@ -446,6 +446,7 @@ "//tensorflow:windows": [], "//conditions:default": [ "-z defs", + "-Wl,--undefined-version", "-s", "-Wl,--version-script,$(location {})".format(LINKER_VERSION_SCRIPT), ],