examples / docs on utilizing an external toolchain


Kumar Gala <galak@...>
 

It seems like there is a way to use a prebuilt toolchain with poky but no real details.

Some refs in the docs like:

POKYMODE
Toolchain selector. It can be external toolchain built from Poky or few supported combinations of upstream GCC or CodeSourcery Labs toolchain.

But grepping the code there doesn't seem to be any actual use of POKYMODE. There seems to be some references even on the autobuilder about this 'nightly-external-toolchain'. So wondering what the details where on how to configure things to use an external toolchain.

- k


David Stewart
 

Scott - I have had a couple of questions about this exact topic. Can you please submit a bug on this? Thanks.

Sent from my Blackberry

----- Original Message -----
From: Kumar Gala [mailto:galak@...]
Sent: Wednesday, July 27, 2011 08:37 PM
To: Yocto discussion list <yocto@...>
Subject: [yocto] examples / docs on utilizing an external toolchain

It seems like there is a way to use a prebuilt toolchain with poky but no real details.

Some refs in the docs like:

POKYMODE
Toolchain selector. It can be external toolchain built from Poky or few supported combinations of upstream GCC or CodeSourcery Labs toolchain.

But grepping the code there doesn't seem to be any actual use of POKYMODE. There seems to be some references even on the autobuilder about this 'nightly-external-toolchain'. So wondering what the details where on how to configure things to use an external toolchain.

- k
_______________________________________________
yocto mailing list
yocto@...
https://lists.yoctoproject.org/listinfo/yocto


Kumar Gala <galak@...>
 

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.

Sent from my Blackberry

----- Original Message -----
From: Kumar Gala [mailto:galak@...]
Sent: Wednesday, July 27, 2011 08:37 PM
To: Yocto discussion list <yocto@...>
Subject: [yocto] examples / docs on utilizing an external toolchain

It seems like there is a way to use a prebuilt toolchain with poky but no real details.

Some refs in the docs like:

POKYMODE
Toolchain selector. It can be external toolchain built from Poky or few supported combinations of upstream GCC or CodeSourcery Labs toolchain.

But grepping the code there doesn't seem to be any actual use of POKYMODE. There seems to be some references even on the autobuilder about this 'nightly-external-toolchain'. So wondering what the details where on how to configure things to use an external toolchain.

- k
_______________________________________________
yocto mailing list
yocto@...
https://lists.yoctoproject.org/listinfo/yocto


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."

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.

Sent from my Blackberry

----- Original Message -----
From: Kumar Gala [mailto:galak@...]
Sent: Wednesday, July 27, 2011 08:37 PM
To: Yocto discussion list <yocto@...>
Subject: [yocto] examples / docs on utilizing an external toolchain

It seems like there is a way to use a prebuilt toolchain with poky but no real details.

Some refs in the docs like:

POKYMODE
Toolchain selector. It can be external toolchain built from Poky or few supported combinations of upstream GCC or CodeSourcery Labs toolchain.

But grepping the code there doesn't seem to be any actual use of POKYMODE. There seems to be some references even on the autobuilder about this 'nightly-external-toolchain'. So wondering what the details where on how to configure things to use an external toolchain.

- k
_______________________________________________
yocto mailing list
yocto@...
https://lists.yoctoproject.org/listinfo/yocto


Kumar Gala <galak@...>
 

Bug submitted:

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."

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.

Sent from my Blackberry

----- Original Message -----
From: Kumar Gala [mailto:galak@...]
Sent: Wednesday, July 27, 2011 08:37 PM
To: Yocto discussion list <yocto@...>
Subject: [yocto] examples / docs on utilizing an external toolchain

It seems like there is a way to use a prebuilt toolchain with poky but no real details.

Some refs in the docs like:

POKYMODE
Toolchain selector. It can be external toolchain built from Poky or few supported combinations of upstream GCC or CodeSourcery Labs toolchain.

But grepping the code there doesn't seem to be any actual use of POKYMODE. There seems to be some references even on the autobuilder about this 'nightly-external-toolchain'. So wondering what the details where on how to configure things to use an external toolchain.

- k
_______________________________________________
yocto mailing list
yocto@...
https://lists.yoctoproject.org/listinfo/yocto


Richard Purdie
 

On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:
Bug submitted:

http://bugzilla.pokylinux.org/show_bug.cgi?id=1323

My question still stands even w/o it being in formal docs.
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


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:
Bug submitted:

http://bugzilla.pokylinux.org/show_bug.cgi?id=1323

My question still stands even w/o it being in formal docs.
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.
git grep tells me we still have it in local.conf.sample in meta-yocto, as well
as in the reference manual.

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre


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:
On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:
Bug submitted:

http://bugzilla.pokylinux.org/show_bug.cgi?id=1323

My question still stands even w/o it being in formal docs.
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.
git grep tells me we still have it in local.conf.sample in meta-yocto, as well
as in the reference manual.
Yep, and not sure if the online docs:

http://www.yoctoproject.org/docs/1.1/poky-ref-manual/poky-ref-manual.html

are generated nightly or not?

- k


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:
Bug submitted:

http://bugzilla.pokylinux.org/show_bug.cgi?id=1323

My question still stands even w/o it being in formal docs.
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.
Ok, but how does one use TCMODE? :)

is there an example around anywhere?

- k


Flanagan, Elizabeth <elizabeth.flanagan@...>
 

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:

On Aug 3, 2011, at 9:29 AM, Paul Eggleton wrote:

On Wednesday 03 August 2011 15:22:56 Richard Purdie wrote:
On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:
Bug submitted:

http://bugzilla.pokylinux.org/show_bug.cgi?id=1323

My question still stands even w/o it being in formal docs.
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.
git grep tells me we still have it in local.conf.sample in meta-yocto, as well
as in the reference manual.
Yep, and not sure if the online docs:

http://www.yoctoproject.org/docs/1.1/poky-ref-manual/poky-ref-manual.html

are generated nightly or not?

- k
_______________________________________________
yocto mailing list
yocto@...
https://lists.yoctoproject.org/listinfo/yocto


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:

On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:
Bug submitted:

http://bugzilla.pokylinux.org/show_bug.cgi?id=1323

My question still stands even w/o it being in formal docs.
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.
Ok, but how does one use TCMODE? :)

is there an example around anywhere?
I'll explain on the condition that someone actually documents this ;-).

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


Rifenbark, Scott M <scott.m.rifenbark@...>
 

Ok - ping me when you want to discuss this

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

On Aug 3, 2011, at 9:29 AM, Paul Eggleton wrote:

On Wednesday 03 August 2011 15:22:56 Richard Purdie wrote:
On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:
Bug submitted:

http://bugzilla.pokylinux.org/show_bug.cgi?id=1323

My question still stands even w/o it being in formal docs.
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.
git grep tells me we still have it in local.conf.sample in meta-yocto, as well
as in the reference manual.
Yep, and not sure if the online docs:

http://www.yoctoproject.org/docs/1.1/poky-ref-manual/poky-ref-manual.html

are generated nightly or not?

- k
_______________________________________________
yocto mailing list
yocto@...
https://lists.yoctoproject.org/listinfo/yocto


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:
On Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:

On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:
Bug submitted:

http://bugzilla.pokylinux.org/show_bug.cgi?id=1323

My question still stands even w/o it being in formal docs.
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.
Ok, but how does one use TCMODE? :)

is there an example around anywhere?
I'll explain on the condition that someone actually documents this ;-).

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).
Yes that helps. So it looks as if today there is not a means to point to SDK prebuilt toolchain via this means.

- k


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:

On Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote:
On Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:

On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:
Bug submitted:

http://bugzilla.pokylinux.org/show_bug.cgi?id=1323

My question still stands even w/o it being in formal docs.
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.
Ok, but how does one use TCMODE? :)

is there an example around anywhere?
I'll explain on the condition that someone actually documents this ;-).

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).
Yes that helps. So it looks as if today there is not a means to point
to SDK prebuilt toolchain via this means.
We have supported this in the past but it got messy and I'd really
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:

On Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote:
On Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:

On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:
Bug submitted:

http://bugzilla.pokylinux.org/show_bug.cgi?id=1323

My question still stands even w/o it being in formal docs.
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.
Ok, but how does one use TCMODE? :)

is there an example around anywhere?
I'll explain on the condition that someone actually documents this ;-).

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).
Yes that helps. So it looks as if today there is not a means to point
to SDK prebuilt toolchain via this means.
We have supported this in the past but it got messy and I'd really
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


Gary Thomas
 

On 2011-08-04 08:49, Richard Purdie wrote:
On Wed, 2011-08-03 at 23:59 -0500, Kumar Gala wrote:
On Aug 3, 2011, at 10:12 AM, Richard Purdie wrote:

On Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote:
On Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:

On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:
Bug submitted:

http://bugzilla.pokylinux.org/show_bug.cgi?id=1323

My question still stands even w/o it being in formal docs.
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.
Ok, but how does one use TCMODE? :)

is there an example around anywhere?
I'll explain on the condition that someone actually documents this ;-).

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).
Yes that helps. So it looks as if today there is not a means to point
to SDK prebuilt toolchain via this means.
We have supported this in the past but it got messy and I'd really
prefer people to use sstate for this.
That would be great, if only it worked for this purpose. Sadly, I've not
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
------------------------------------------------------------


Khem Raj
 

On Thursday, August 04, 2011 08:58:59 AM Gary Thomas wrote:
On 2011-08-04 08:49, Richard Purdie wrote:
On Wed, 2011-08-03 at 23:59 -0500, Kumar Gala wrote:
On Aug 3, 2011, at 10:12 AM, Richard Purdie wrote:
On Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote:
On Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:
On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:
Bug submitted:

http://bugzilla.pokylinux.org/show_bug.cgi?id=1323

My question still stands even w/o it being in formal docs.
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.
Ok, but how does one use TCMODE? :)

is there an example around anywhere?
I'll explain on the condition that someone actually documents this
;-).

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).
Yes that helps. So it looks as if today there is not a means to point
to SDK prebuilt toolchain via this means.
We have supported this in the past but it got messy and I'd really
prefer people to use sstate for this.
That would be great, if only it worked for this purpose. Sadly, I've not
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.
can you post bitbake -e of say gcc-cross gcc-runtime and eglibc
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.
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
--
Khem Raj


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:
On Wed, 2011-08-03 at 23:59 -0500, Kumar Gala wrote:
On Aug 3, 2011, at 10:12 AM, Richard Purdie wrote:
On Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote:
On Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:
On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:
Bug submitted:

http://bugzilla.pokylinux.org/show_bug.cgi?id=1323

My question still stands even w/o it being in formal docs.
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.
Ok, but how does one use TCMODE?  :)

is there an example around anywhere?
I'll explain on the condition that someone actually documents this
;-).

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).
Yes that helps.  So it looks as if today there is not a means to point
to SDK prebuilt toolchain via this means.
We have supported this in the past but it got messy and I'd really
prefer people to use sstate for this.
That would be great, if only it worked for this purpose.  Sadly, I've not
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.
can you post bitbake -e of say gcc-cross gcc-runtime and eglibc
for both machines ? We somehow need to figure what changes the signatures

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


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:
On Thursday, August 04, 2011 08:58:59 AM Gary Thomas wrote:
On 2011-08-04 08:49, Richard Purdie wrote:
On Wed, 2011-08-03 at 23:59 -0500, Kumar Gala wrote:
On Aug 3, 2011, at 10:12 AM, Richard Purdie wrote:
On Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote:
On Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:
On Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:
Bug submitted:

http://bugzilla.pokylinux.org/show_bug.cgi?id=1323

My question still stands even w/o it being in formal docs.
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.
Ok, but how does one use TCMODE? :)

is there an example around anywhere?
I'll explain on the condition that someone actually documents this
;-).

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).
Yes that helps. So it looks as if today there is not a means to point
to SDK prebuilt toolchain via this means.
We have supported this in the past but it got messy and I'd really
prefer people to use sstate for this.
That would be great, if only it worked for this purpose. Sadly, I've not
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.
can you post bitbake -e of say gcc-cross gcc-runtime and eglibc
for both machines ? We somehow need to figure what changes the signatures

No need to use bitbake -e, just use bitbake-diffsigs.
How do I use this?

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