diff options
author | Matt Madison <matt@madison.systems> | 2017-10-04 18:21:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-10-06 12:03:32 +0100 |
commit | 070f4af529c84a3c8c0b1ffc7b138bdd9e8439b7 (patch) | |
tree | c15e3568a9031da4e498146c4365b606a5807207 /scripts/lib/devtool/sdk.py | |
parent | 1bc4c1d880096083d1891a74024fb225a6340b9b (diff) | |
download | openembedded-core-070f4af529c84a3c8c0b1ffc7b138bdd9e8439b7.tar.gz openembedded-core-070f4af529c84a3c8c0b1ffc7b138bdd9e8439b7.tar.bz2 openembedded-core-070f4af529c84a3c8c0b1ffc7b138bdd9e8439b7.zip |
go-runtime: prevent host leakage into target objects
When building for a target whose architecture matches
the build host's, the second pass through make.bash
to build the shareable runtime would also overwrite
the target's static cgo library with host-compatibile
binaries.
Fix this by running the host-side build once and
target-only passes of make.bash twice, for static
and shareable. This ensures that what gets installed
is target-compatible.
Also fix an issue with x86-64 targets running MUSL by
removing the pre-built (for glibc) objects for the
race detector runtime before building.
[YOCTO #12136]
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/devtool/sdk.py')
0 files changed, 0 insertions, 0 deletions