Re: [OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

2011-11-30 Thread Saul Wold
On 11/29/2011 07:58 AM, Julian Pidancet wrote: On Tue, Nov 29, 2011 at 3:48 PM, Saul Wold wrote: Julian, Thanks for your patience, this is merged into OE-Core Thanks Sau! Saul, I believe you applied the wrong version of the patch. According to: http://git.openembedded.org/openembe

Re: [OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

2011-11-29 Thread McClintock Matthew-B29882
On Tue, Nov 29, 2011 at 3:47 PM, Matthew McClintock wrote: > On Tue, Nov 29, 2011 at 10:10 AM, Matthew McClintock > wrote: >> On Tue, Nov 29, 2011 at 6:30 AM, Richard Purdie >> wrote: >>> If you depend just on lib32-libgcc:do_populate_sysroot, it shouldn't >>> build eglibc. You can do that with

Re: [OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

2011-11-29 Thread McClintock Matthew-B29882
On Tue, Nov 29, 2011 at 10:10 AM, Matthew McClintock wrote: > On Tue, Nov 29, 2011 at 6:30 AM, Richard Purdie > wrote: >> If you depend just on lib32-libgcc:do_populate_sysroot, it shouldn't >> build eglibc. You can do that with something like: >> >> do_compile[depends] += "lib32-libgcc:do_popula

Re: [OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

2011-11-29 Thread McClintock Matthew-B29882
On Tue, Nov 29, 2011 at 6:30 AM, Richard Purdie wrote: > If you depend just on lib32-libgcc:do_populate_sysroot, it shouldn't > build eglibc. You can do that with something like: > > do_compile[depends] += "lib32-libgcc:do_populate_sysroot" Thanks, I'll give this a try. -M _

Re: [OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

2011-11-29 Thread Julian Pidancet
On Tue, Nov 29, 2011 at 3:48 PM, Saul Wold wrote: > > Julian, > > Thanks for your patience, this is merged into OE-Core > > Thanks >        Sau! > Saul, I believe you applied the wrong version of the patch. According to: http://git.openembedded.org/openembedded-core/commit/?id=99e295ef30ba02db396

Re: [OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

2011-11-29 Thread Saul Wold
On 11/25/2011 04:29 AM, Julian Pidancet wrote: This patch introduces a distro feature which enables gcc to produce both 32bit and 64bit code, and enables binutils to operate on both 32bit and 64bit binaries. v3: - Make get_gcc_multiarch_setting more elegant. Use a dictionnary to store the config

Re: [OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

2011-11-29 Thread Richard Purdie
On Mon, 2011-11-28 at 23:00 +, McClintock Matthew-B29882 wrote: > On Mon, Nov 28, 2011 at 4:56 PM, Richard Purdie > wrote: > > On Mon, 2011-11-28 at 21:32 +, McClintock Matthew-B29882 wrote: > >> On Fri, Nov 25, 2011 at 5:40 PM, Richard Purdie > >> > What specific problem are you trying to

Re: [OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

2011-11-28 Thread McClintock Matthew-B29882
On Mon, Nov 28, 2011 at 4:56 PM, Richard Purdie wrote: > On Mon, 2011-11-28 at 21:32 +, McClintock Matthew-B29882 wrote: >> On Fri, Nov 25, 2011 at 5:40 PM, Richard Purdie >> > What specific problem are you trying to solve? >> >> The specific issue I'm having is for our 64-bit part that still

Re: [OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

2011-11-28 Thread Richard Purdie
On Mon, 2011-11-28 at 21:32 +, McClintock Matthew-B29882 wrote: > On Fri, Nov 25, 2011 at 5:40 PM, Richard Purdie > > What specific problem are you trying to solve? > > The specific issue I'm having is for our 64-bit part that still uses a > 32-bit u-boot. Not sure the best approach really is.

Re: [OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

2011-11-28 Thread McClintock Matthew-B29882
On Mon, Nov 28, 2011 at 4:22 PM, Khem Raj wrote: > I think we should make it inclusive > ideally we should have bi-arch/tri-arch toolchain building multilib userspace. > in which case we have single compiler for multilib as well as archness I would like to see this as well. -M _

Re: [OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

2011-11-28 Thread Khem Raj
On Mon, Nov 28, 2011 at 2:14 PM, Julian Pidancet wrote: > On Mon, Nov 28, 2011 at 9:32 PM, McClintock Matthew-B29882 > wrote: >> On Fri, Nov 25, 2011 at 5:40 PM, Richard Purdie >> wrote: >>> This is firmly in multilib territory as its not just libgcc but libc as >>> well and so it goes on. >>> >

Re: [OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

2011-11-28 Thread Julian Pidancet
On Mon, Nov 28, 2011 at 9:32 PM, McClintock Matthew-B29882 wrote: > On Fri, Nov 25, 2011 at 5:40 PM, Richard Purdie > wrote: >> This is firmly in multilib territory as its not just libgcc but libc as >> well and so it goes on. >> >> One of the reasons I'm nervous of the patch you're replying to i

Re: [OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

2011-11-28 Thread McClintock Matthew-B29882
On Fri, Nov 25, 2011 at 5:40 PM, Richard Purdie wrote: > This is firmly in multilib territory as its not just libgcc but libc as > well and so it goes on. > > One of the reasons I'm nervous of the patch you're replying to is that > people are now going to try and cross the two and we'll end up wit

Re: [OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

2011-11-25 Thread Richard Purdie
On Fri, 2011-11-25 at 19:07 +, McClintock Matthew-B29882 wrote: > On Fri, Nov 25, 2011 at 6:29 AM, Julian Pidancet > wrote: > > This patch introduces a distro feature which enables gcc to produce > > both 32bit and 64bit code, and enables binutils to operate on both > > 32bit and 64bit binarie

Re: [OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

2011-11-25 Thread McClintock Matthew-B29882
On Fri, Nov 25, 2011 at 6:29 AM, Julian Pidancet wrote: > This patch introduces a distro feature which enables gcc to produce > both 32bit and 64bit code, and enables binutils to operate on both > 32bit and 64bit binaries. > > v3: - Make get_gcc_multiarch_setting more elegant. Use a dictionnary >

[OE-core] [PATCH v3] Introduce multiarch DISTRO_FEATURE

2011-11-25 Thread Julian Pidancet
This patch introduces a distro feature which enables gcc to produce both 32bit and 64bit code, and enables binutils to operate on both 32bit and 64bit binaries. v3: - Make get_gcc_multiarch_setting more elegant. Use a dictionnary to store the config options and replace bb.data.getVar with d.getVar