[OE-core] [PATCH] go-runtime: prevent host leakage into target objects

Otavio Salvador otavio.salvador at ossystems.com.br
Fri Sep 29 14:27:19 UTC 2017


On Fri, Sep 29, 2017 at 11:15 AM, Matt Madison <matt at madison.systems> wrote:
> 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.
>
> [YOCTO #12136]
>
> Signed-off-by: Matt Madison <matt at madison.systems>

Acked-by: Otavio Salvador <otavio at ossystems.com.br>

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list