PIE binaries that depends on static libraries usually have text relocations in the...
authorA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 15 Mar 2018 22:16:38 +0000 (15:16 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 15 Mar 2018 22:21:10 +0000 (15:21 -0700)
commit239eb8b652f94b43d51f7c7ffdbbfc02ad094a9c
treecc8a61338f33afaf556b9ae2cf49f40947616142
parent67fd87c5812f227193145d8436e4bdf9b315dfb7
PIE binaries that depends on static libraries usually have text relocations in the final executable, which causes link warnings/errors (different linker behaves differently). The optimal way to fix this is to link the binary with shared library, however, the libraries are NVIDIA-proprietary, not all of them have shared version (for example: cuda_9_0/lib64/libculibos.a)

PiperOrigin-RevId: 189254317
tensorflow/tensorflow.bzl