Re: [gentoo-dev] [PATCH] toolchain.eclass: set CHOST for gcc-config calls

2016-12-27 Thread James Le Cuirot
On Tue, 27 Dec 2016 12:04:04 -0500 Mike Gilbert wrote: > For a typical cross-compiler build, CHOST is unchanged from the value > typically in make.conf, but CTARGET gets set to the "cross" arch. Yep. > In the case where we are cross-compiling a native compiler, CHOST >

Re: [gentoo-dev] [PATCH] toolchain.eclass: set CHOST for gcc-config calls

2016-12-27 Thread A. Wilcox
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 27/12/16 11:04, Mike Gilbert wrote: > What I'm very unsure of is cross-compiling a cross-compiler CBUILD > != CHOST != CTARGET. That requires a bit of thought. I'm not sure > we even really support that in toolchain.eclass though. > Having

Re: [gentoo-dev] [PATCH] toolchain.eclass: set CHOST for gcc-config calls

2016-12-27 Thread Mike Gilbert
On Tue, Dec 27, 2016 at 6:10 AM, Joakim Tjernlund wrote: > On Tue, 2016-12-27 at 00:22 -0800, Daniel Campbell wrote: >> On 12/26/2016 12:22 PM, Mike Gilbert wrote: >> > Bug: https://bugs.gentoo.org/603776 >> > --- >> > eclass/toolchain.eclass | 8 >> > 1

Re: [gentoo-dev] [PATCH] toolchain.eclass: set CHOST for gcc-config calls

2016-12-27 Thread Mike Gilbert
On Tue, Dec 27, 2016 at 3:22 AM, Daniel Campbell wrote: > On 12/26/2016 12:22 PM, Mike Gilbert wrote: >> Bug: https://bugs.gentoo.org/603776 >> --- >> eclass/toolchain.eclass | 8 >> 1 file changed, 4 insertions(+), 4 deletions(-) >> >> diff --git

Re: [gentoo-dev] [PATCH] toolchain.eclass: set CHOST for gcc-config calls

2016-12-27 Thread Joakim Tjernlund
On Tue, 2016-12-27 at 00:22 -0800, Daniel Campbell wrote: > On 12/26/2016 12:22 PM, Mike Gilbert wrote: > > Bug: https://bugs.gentoo.org/603776 > > --- > >  eclass/toolchain.eclass | 8 > >  1 file changed, 4 insertions(+), 4 deletions(-) > > > > diff --git a/eclass/toolchain.eclass

Re: [gentoo-dev] [PATCH] toolchain.eclass: set CHOST for gcc-config calls

2016-12-27 Thread Daniel Campbell
On 12/26/2016 12:22 PM, Mike Gilbert wrote: > Bug: https://bugs.gentoo.org/603776 > --- > eclass/toolchain.eclass | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass > index 55249b00249b..97511ee12440 100644 > ---

[gentoo-dev] [PATCH] toolchain.eclass: set CHOST for gcc-config calls

2016-12-26 Thread Mike Gilbert
Bug: https://bugs.gentoo.org/603776 --- eclass/toolchain.eclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 55249b00249b..97511ee12440 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@