Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2018 12:40:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229155] "Unsupported relocation type 11 in non-PLT relocations" when running compiled binary
Message-ID:  <bug-229155-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229155

            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@FreeBSD.org
          Reporter: arrowd@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=3D"-s"
BAZEL_TARGET=3D//tensorflow/cc:ops1/candidate_sampling_ops_gen_cc
This will produce
"work/tensorflow-1.8.0/bazel-bin/tensorflow/cc/ops/candidate_sampling_ops_g=
en_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=3D"-s"
BAZEL_TARGET=3D//tensorflow/cc:candidate_sampling_ops_genrule

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229155-227>