[Bug 229155] "Unsupported relocation type 11 in non-PLT relocations" when running compiled binary
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jun 19 12:40:33 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229155
Bug ID: 229155
Summary: "Unsupported relocation type 11 in non-PLT
relocations" when running compiled binary
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: arrowd at FreeBSD.org
I'm trying to compile TensorFlow library and during build it produces helper
executables that generate some app-specific code. Some of these helper
executables get broken: when running them they yield something like
bin/tensorflow/cc/ops/candidate_sampling_ops_gen_cc: Unsupported relocation
type 11 in non-PLT relocations
To make it easier to reproduce the bug, I've created a preliminary port, see
https://reviews.freebsd.org/D15902
Steps to reproduce:
1. cd into your ports dir
2. arc patch D15902 to pull the patch in, or do it manually
3. make build BAZEL_EXTRA_ARGS="-s"
BAZEL_TARGET=//tensorflow/cc:ops1/candidate_sampling_ops_gen_cc
This will produce
"work/tensorflow-1.8.0/bazel-bin/tensorflow/cc/ops/candidate_sampling_ops_gen_cc"
binary.
4. Either try running it manually or try building another target that uses this
executable:
rm work/.build_done.tensorflow._usr_local
make build BAZEL_EXTRA_ARGS="-s"
BAZEL_TARGET=//tensorflow/cc:candidate_sampling_ops_genrule
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list