Date
1 - 20 of 23
examples / docs on utilizing an external toolchain
Richard Purdie
On Thu, 2011-08-04 at 19:05 -0500, Kumar Gala wrote:
When you have an external toolchain you have to consider things likeWe have supported this in the past but it got messy and I'd reallyYes that helps. So it looks as if today there is not a means to pointI'll explain on the condition that someone actually documents this ;-).Ok, but how does one use TCMODE? :)http://bugzilla.pokylinux.org/show_bug.cgi?id=1323FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core changes. packaging up the libc locales and generating the pkgdata information about shared libraries amongst other things. We therefore went down the route of shipping that information with the toolchain rather than generating it each time along with the package files (ipk/rpm/deb). It turns out to get quite ugly trying to track all the pieces bitbake generates and deal with all the corner cases (like it packaged with ipk but you want rpm). sstate is designed to be able to handle all those pieces. If you have an external toolchain and don't mind regenerating all that stuff, its fine. Cheers, Richard |
|
Kumar Gala <galak@...>
We have supported this in the past but it got messy and I'd reallyYes that helps. So it looks as if today there is not a means to pointI'll explain on the condition that someone actually documents this ;-).Ok, but how does one use TCMODE? :)http://bugzilla.pokylinux.org/show_bug.cgi?id=1323FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core changes. What got mess about it? Seems like a poky built sdk toolchain should work as an external toolchain w/o too much issue. - k |
|
Gary Thomas
On 2011-08-04 09:06, Khem Raj wrote:
On Thursday, August 04, 2011 08:58:59 AM Gary Thomas wrote:This turns out (in my case) to be a sensitivity to $DISTRO_FEATURESOn 2011-08-04 08:49, Richard Purdie wrote:can you post bitbake -e of say gcc-cross gcc-runtime and eglibcOn Wed, 2011-08-03 at 23:59 -0500, Kumar Gala wrote:That would be great, if only it worked for this purpose. Sadly, I've notOn Aug 3, 2011, at 10:12 AM, Richard Purdie wrote:We have supported this in the past but it got messy and I'd reallyOn Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote:Yes that helps. So it looks as if today there is not a means to pointOn Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:I'll explain on the condition that someone actually documents thisOn Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:Ok, but how does one use TCMODE? :)Bug submitted:FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core One of my builds had slightly different value, but not such that it actually changed any packages (it had an unused key). I tried this with two machines, identical except in the name, with machineB sharing state with machineB. The only packages which had to be rebuilt were the target specific ones, e.g. the machine kernel. If I touch DISTRO_FEATURES in the build for machineB though, the number of packages rebuilt skyrockets (list attached). For now, I'll make sure that DISTRO_FEATURES is not something that my builds touch. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ |
|
McClintock Matthew-B29882 <B29882@...>
On Thu, Aug 4, 2011 at 10:34 AM, Gary Thomas <gary@...> wrote:
How do I use this?There seems to be a blurb here: https://wiki.yoctoproject.org/wiki/Enable_sstate_cache -M |
|
Gary Thomas
On 2011-08-04 09:29, Chris Larson wrote:
On Thu, Aug 4, 2011 at 8:06 AM, Khem Raj<raj.khem@...> wrote:How do I use this?On Thursday, August 04, 2011 08:58:59 AM Gary Thomas wrote:On 2011-08-04 08:49, Richard Purdie wrote:can you post bitbake -e of say gcc-cross gcc-runtime and eglibcOn Wed, 2011-08-03 at 23:59 -0500, Kumar Gala wrote:That would be great, if only it worked for this purpose. Sadly, I've notOn Aug 3, 2011, at 10:12 AM, Richard Purdie wrote:We have supported this in the past but it got messy and I'd reallyOn Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote:Yes that helps. So it looks as if today there is not a means to pointOn Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:I'll explain on the condition that someone actually documents thisOn Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:Ok, but how does one use TCMODE? :)Bug submitted:FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ |
|
Chris Larson <clarson@...>
On Thu, Aug 4, 2011 at 8:06 AM, Khem Raj <raj.khem@...> wrote:
On Thursday, August 04, 2011 08:58:59 AM Gary Thomas wrote:On 2011-08-04 08:49, Richard Purdie wrote:can you post bitbake -e of say gcc-cross gcc-runtime and eglibcOn Wed, 2011-08-03 at 23:59 -0500, Kumar Gala wrote:That would be great, if only it worked for this purpose. Â Sadly, I've notOn Aug 3, 2011, at 10:12 AM, Richard Purdie wrote:We have supported this in the past but it got messy and I'd reallyOn Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote:Yes that helps. Â So it looks as if today there is not a means to pointOn Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:I'll explain on the condition that someone actually documents thisOn Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:Ok, but how does one use TCMODE? Â :)Bug submitted:FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core No need to use bitbake -e, just use bitbake-diffsigs. -- Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics |
|
On Thursday, August 04, 2011 08:58:59 AM Gary Thomas wrote:
On 2011-08-04 08:49, Richard Purdie wrote:can you post bitbake -e of say gcc-cross gcc-runtime and eglibcOn Wed, 2011-08-03 at 23:59 -0500, Kumar Gala wrote:That would be great, if only it worked for this purpose. Sadly, I've notOn Aug 3, 2011, at 10:12 AM, Richard Purdie wrote:We have supported this in the past but it got messy and I'd reallyOn Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote:Yes that helps. So it looks as if today there is not a means to pointOn Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:I'll explain on the condition that someone actually documents thisOn Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:Ok, but how does one use TCMODE? :)Bug submitted:FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core for both machines ? We somehow need to figure what changes the signatures A lot of other packages do seem to share state properly, e.g.-- Khem Raj |
|
Gary Thomas
On 2011-08-04 08:49, Richard Purdie wrote:
On Wed, 2011-08-03 at 23:59 -0500, Kumar Gala wrote:That would be great, if only it worked for this purpose. Sadly, I've notOn Aug 3, 2011, at 10:12 AM, Richard Purdie wrote:We have supported this in the past but it got messy and I'd reallyOn Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote:Yes that helps. So it looks as if today there is not a means to pointOn Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:I'll explain on the condition that someone actually documents this ;-).On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:Ok, but how does one use TCMODE? :)Bug submitted:FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core changes. had much luck with sharing toolchains like this. Here's my problem - I have a number of different target platforms (MACHINE), all of which are really the same ARM SoC (OMAP/3530==armv7a). When I try to share the sstate between them, the toolchain always rebuilds from scratch. A lot of other packages do seem to share state properly, e.g. busybox built for these platforms uses sstate well, but not so with toolchains. Is there any way for this to work? I'd love to be able to hand my customers a set of sstate files for the things they don't really need to rebuild and the toolchains are a giant part of it. If this should work and the current failures a bug, I'll report it as such. Thanks -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ |
|
Richard Purdie
On Wed, 2011-08-03 at 23:59 -0500, Kumar Gala wrote:
On Aug 3, 2011, at 10:12 AM, Richard Purdie wrote:We have supported this in the past but it got messy and I'd reallyOn Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote:Yes that helps. So it looks as if today there is not a means to pointOn Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:I'll explain on the condition that someone actually documents this ;-).On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:Ok, but how does one use TCMODE? :)Bug submitted:FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core changes. prefer people to use sstate for this. You obviously can use the SDK toolchain as a prebuilt external toolchain though since its no different from any other external toolchain. Cheers, Richard |
|
Richard Purdie
On Wed, 2011-08-03 at 23:59 -0500, Kumar Gala wrote:
On Aug 3, 2011, at 10:12 AM, Richard Purdie wrote:We have supported this in the past but it got messy and I'd reallyOn Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote:Yes that helps. So it looks as if today there is not a means to pointOn Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:I'll explain on the condition that someone actually documents this ;-).On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:Ok, but how does one use TCMODE? :)Bug submitted:FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core changes. prefer people to use sstate for this. You obviously can use the SDK toolchain as a prebuilt external toolchain though since its no different from any other external toolchain. Cheers, Richard |
|
Kumar Gala <galak@...>
On Aug 3, 2011, at 10:12 AM, Richard Purdie wrote:
On Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote:Yes that helps. So it looks as if today there is not a means to point to SDK prebuilt toolchain via this means.On Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:I'll explain on the condition that someone actually documents this ;-).On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:Ok, but how does one use TCMODE? :)Bug submitted:FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core changes. - k |
|
Rifenbark, Scott M <scott.m.rifenbark@...>
Ok - ping me when you want to discuss this
toggle quoted message
Show quoted text
-----Original Message-----
From: Flanagan, Elizabeth [mailto:elizabeth.flanagan@...] Sent: Wednesday, August 03, 2011 8:02 AM To: Kumar Gala Cc: Paul Eggleton; yocto@...; Rifenbark, Scott M Subject: Re: [yocto] examples / docs on utilizing an external toolchain No, they're generated ad-hoc when needed. Scott, let's regenerate them and talk about a regular generation of them offline. -b On Wed, Aug 3, 2011 at 7:49 AM, Kumar Gala <galak@...> wrote:
|
|
Richard Purdie
On Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote:
On Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:I'll explain on the condition that someone actually documents this ;-).On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:Ok, but how does one use TCMODE? :)Bug submitted:FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core changes. TCMODE determines which of the files in meta/conf/distro/include/tcmode-* is used. It defaults to "default" and our default toolchain definition is in tcmode-default.inc. There is another example there which is "external-csl2008q3". As you can see from the tcmode-external-csl2008q3 file, it sets up the system to use an external toolchain instead. So you can define one of these files in your layer and then the system can select alternative toolchain configurations. Does that help? :) There is a similar TCLIBC variable which controls which libc is used (eglibc or uclibc). Cheers, Richard |
|
Flanagan, Elizabeth <elizabeth.flanagan@...>
No, they're generated ad-hoc when needed.
toggle quoted message
Show quoted text
Scott, let's regenerate them and talk about a regular generation of them offline. -b On Wed, Aug 3, 2011 at 7:49 AM, Kumar Gala <galak@...> wrote:
|
|
Kumar Gala <galak@...>
On Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:
On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:Ok, but how does one use TCMODE? :)Bug submitted:FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core changes. is there an example around anywhere? - k |
|
Kumar Gala <galak@...>
On Aug 3, 2011, at 9:29 AM, Paul Eggleton wrote:
On Wednesday 03 August 2011 15:22:56 Richard Purdie wrote:Yep, and not sure if the online docs:On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:git grep tells me we still have it in local.conf.sample in meta-yocto, as wellBug submitted:FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core changes. http://www.yoctoproject.org/docs/1.1/poky-ref-manual/poky-ref-manual.html are generated nightly or not? - k |
|
Paul Eggleton
On Wednesday 03 August 2011 15:22:56 Richard Purdie wrote:
On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:git grep tells me we still have it in local.conf.sample in meta-yocto, as wellBug submitted:FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core changes. as in the reference manual. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre |
|
Richard Purdie
On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:
Bug submitted:FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core changes. I'd be interested to know where we've missed the references to it and get to get those references fixed. Cheers, Richard |
|
Kumar Gala <galak@...>
Bug submitted:
toggle quoted message
Show quoted text
http://bugzilla.pokylinux.org/show_bug.cgi?id=1323 My question still stands even w/o it being in formal docs. - k On Aug 2, 2011, at 11:29 AM, Rifenbark, Scott M wrote:
Is the problem here that we need better documentation on using a prebuilt toolchain? I will have to learn more about the context of the problem from someone. The bug could just be against documentation in general and specify the need for "better documentation using a prebuilt toolchain." |
|
Rifenbark, Scott M <scott.m.rifenbark@...>
Is the problem here that we need better documentation on using a prebuilt toolchain? I will have to learn more about the context of the problem from someone. The bug could just be against documentation in general and specify the need for "better documentation using a prebuilt toolchain."
toggle quoted message
Show quoted text
ScottR -----Original Message-----
From: Kumar Gala [mailto:galak@...] Sent: Tuesday, August 02, 2011 9:10 AM To: Stewart, David C Cc: 'yocto@...'; Rifenbark, Scott M Subject: Re: [yocto] examples / docs on utilizing an external toolchain I can, but not sure what the bug is. - k On Jul 28, 2011, at 11:39 PM, Stewart, David C wrote: Scott - I have had a couple of questions about this exact topic. Can you please submit a bug on this? Thanks. |
|