[OE-core] [PATCH] gcc-cross.inc: Prevent native sysroot from leaking into configargs.h

Richard Purdie richard.purdie at linuxfoundation.org
Thu Nov 28 18:07:52 UTC 2019


On Mon, 2019-11-25 at 06:58 +0000, Nathan Rossi wrote:
> Prevent the native(sdk) sysroot path from leaking into configargs.h.
> The configargs.h header is intended to be static and unchanged as the
> content is used as a means of determining that a gcc plugin is built
> for the same gcc. This also effects the output of 'gcc --version'.
> Due to per recipe sysroots and staging, the sysroot path would be
> replaced with the sysroot local to the recipe thus changing the
> content of configargs.h.
> 
> The sysroot path is replaced with a generic "/host" prefix which
> represents the host sysroot (e.g. native or nativesdk).
> 
> Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
> ---
>  meta/recipes-devtools/gcc/gcc-cross.inc   | 7 +++++++
>  meta/recipes-devtools/gcc/gcc-runtime.inc | 4 ----
>  2 files changed, 7 insertions(+), 4 deletions(-)

I think this is causing the reproducibile builds selftest to fail:

https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/515

Note the:

g++_9.2.0-r0_amd64.deb
cpp_9.2.0-r0_amd64.deb

in the list.

I think there are other patches in master-next contributing to this
too.

Cheers,

Richard



More information about the Openembedded-core mailing list