From: "Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC@Cisco)" <oobitots@cisco.com>
To: "bitbake-devel@lists.openembedded.org"
<bitbake-devel@lists.openembedded.org>
Subject: nativesdk dependencies on shared packages
Date: Tue, 15 Oct 2019 09:01:24 +0000 [thread overview]
Message-ID: <1571130084095.4900@cisco.com> (raw)
In-Reply-To: <1569929018481.70045@cisco.com>
[-- Attachment #1.1: Type: text/plain, Size: 2106 bytes --]
Hi,
In case previous mail was omitted.
Regards,
Oleksiy
________________________________
From: bitbake-devel-bounces@lists.openembedded.org <bitbake-devel-bounces@lists.openembedded.org> on behalf of Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC at Cisco) via bitbake-devel <bitbake-devel@lists.openembedded.org>
Sent: Tuesday, October 1, 2019 14:23
To: bitbake-devel@lists.openembedded.org
Cc: Taras Kondratiuk (takondra); Ruslan Bilovol -X (rbilovol - GLOBALLOGIC INC at Cisco)
Subject: [bitbake-devel] nativesdk dependencies on shared packages
Hi,
We have situation when MACHINE value change affect nativesdk packages (thud but the same situation was on krogoth).
MACHINE="x86" bitbake nativesdk-<package> -> build package and dependencies x86
MACHINE="x86-64" bitbake nativesdk-<package> -> build package and dependencies for x86-64
and finally
MACHINE="x86" bitbake nativesdk-<cpackage> -> a lot of setscene functons executed for nativesdk packages
MACHINE value affects BASELIB. For x86-64 we override BASELIB = lib64.
For x86 BASELIB = lib. baselib for cross/natviesdk ramains unchanged (lib).
# $BASELIB
# set <>/openembedded-core/meta/conf/bitbake.conf:12
# "lib"
# pre-expansion value:
# "lib"
BASELIB="lib"
# $BASELIB [2 operations]
# set <>/openembedded-core/meta/conf/bitbake.conf:12
# "lib"
# set <>/x86-64-platforms.inc:22
# "lib64"
# pre-expansion value:
# "lib64"
BASELIB="lib64"
Tracking dependencies shows that nativesdk-<package> depends on gcc-crosssdk which depend on
shared gcc-source package. And gcc-source tasks hash values (starting from from gcc-source.do_patch) are different for
x86 and x86-64 (due to baselib), so nativesdk-<package> task stamp signature deps part depends on gcc-source tasks hash
and also become different if we change MACHINE.
Technically it can be fixed with tweaking sstate_rundepfilter - but it's not generic solution.
Is there any way to avoid rebuilding nativesdk packages that depend on shared packages (e.g. gcc-source)?
Regards,
Oleksiy
[-- Attachment #1.2: Type: text/html, Size: 5099 bytes --]
[-- Attachment #2: ATT00001.txt --]
[-- Type: text/plain, Size: 182 bytes --]
--
_______________________________________________
bitbake-devel mailing list
bitbake-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/bitbake-devel
prev parent reply other threads:[~2019-10-15 9:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-01 11:23 nativesdk dependencies on shared packages Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC@Cisco)
2019-10-15 9:01 ` Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC@Cisco) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1571130084095.4900@cisco.com \
--to=oobitots@cisco.com \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.