[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [OE-core] [PATCH] gcc-cross.inc: Prevent native sysroot from leaking into configargs.h
From:       Richard Purdie <richard.purdie () linuxfoundation ! org>
Date:       2019-11-28 18:07:52
Message-ID: 0f7a57a8653678f004b45ed3379f55d27a95ec3b.camel () linuxfoundation ! org
[Download RAW message or body]

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@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

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic