* gcc-configure-common: Use build time sysroot for target gcc
@ 2012-06-13 8:20 Bogdan Marinescu
2012-06-13 8:23 ` Marinescu, Bogdan A
0 siblings, 1 reply; 5+ messages in thread
From: Bogdan Marinescu @ 2012-06-13 8:20 UTC (permalink / raw)
To: openembedded-core
From: Khem Raj <raj.khem@gmail.com>
From: Khem Raj <raj.khem@gmail.com>
Otherwise it assumes / as sysroot on build host and starts
searching for directories in there.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc
index 1ee7504..5bca2b7 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-target.inc
@@ -1,4 +1,6 @@
require gcc-configure-common.inc
EXTRA_OECONF_PATHS = " \
+ --with-sysroot \
+ --with-build-sysroot=${STAGING_DIR_TARGET} \
--with-gxx-include-dir=${includedir}/c++/"
--
cgit v0.9.0.2-39-g756e
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: gcc-configure-common: Use build time sysroot for target gcc
2012-06-13 8:20 gcc-configure-common: Use build time sysroot for target gcc Bogdan Marinescu
@ 2012-06-13 8:23 ` Marinescu, Bogdan A
0 siblings, 0 replies; 5+ messages in thread
From: Marinescu, Bogdan A @ 2012-06-13 8:23 UTC (permalink / raw)
To: openembedded-core
Apologies for the double "From:" line, will resend.
On Wed, Jun 13, 2012 at 11:20 AM, Bogdan Marinescu
<bogdan.a.marinescu@intel.com> wrote:
> From: Khem Raj <raj.khem@gmail.com>
>
> From: Khem Raj <raj.khem@gmail.com>
>
> Otherwise it assumes / as sysroot on build host and starts
> searching for directories in there.
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc
> index 1ee7504..5bca2b7 100644
> --- a/meta/recipes-devtools/gcc/gcc-configure-target.inc
> +++ b/meta/recipes-devtools/gcc/gcc-configure-target.inc
> @@ -1,4 +1,6 @@
> require gcc-configure-common.inc
>
> EXTRA_OECONF_PATHS = " \
> + --with-sysroot \
> + --with-build-sysroot=${STAGING_DIR_TARGET} \
> --with-gxx-include-dir=${includedir}/c++/"
> --
> cgit v0.9.0.2-39-g756e
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gcc-configure-common: Use build time sysroot for target gcc
2012-06-14 17:14 ` Saul Wold
@ 2012-06-14 18:51 ` Richard Purdie
0 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2012-06-14 18:51 UTC (permalink / raw)
To: Saul Wold; +Cc: Patches and discussions about the oe-core layer
On Thu, 2012-06-14 at 10:14 -0700, Saul Wold wrote:
> On 06/13/2012 01:26 AM, Bogdan Marinescu wrote:
> > From: Khem Raj<raj.khem@gmail.com>
> >
> > Otherwise it assumes / as sysroot on build host and starts
> > searching for directories in there.
> >
> > Signed-off-by: Khem Raj<raj.khem@gmail.com>
> > ---
> > diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc
> > index 1ee7504..5bca2b7 100644
> > --- a/meta/recipes-devtools/gcc/gcc-configure-target.inc
> > +++ b/meta/recipes-devtools/gcc/gcc-configure-target.inc
> > @@ -1,4 +1,6 @@
> > require gcc-configure-common.inc
> >
> > EXTRA_OECONF_PATHS = " \
> > + --with-sysroot \
>
> I can't seem to find the reply to this, but RP added a "=" to the
> end of this and that seems to have re-introduced the problem we were
> attempting to fix.
>
> Apparently this is a bug in the configure script then also.
I screwed up, I've fixed it. Sorry about that.
Cheers,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gcc-configure-common: Use build time sysroot for target gcc
2012-06-13 8:26 Bogdan Marinescu
@ 2012-06-14 17:14 ` Saul Wold
2012-06-14 18:51 ` Richard Purdie
0 siblings, 1 reply; 5+ messages in thread
From: Saul Wold @ 2012-06-14 17:14 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer, Richard Purdie,
Khem Raj
On 06/13/2012 01:26 AM, Bogdan Marinescu wrote:
> From: Khem Raj<raj.khem@gmail.com>
>
> Otherwise it assumes / as sysroot on build host and starts
> searching for directories in there.
>
> Signed-off-by: Khem Raj<raj.khem@gmail.com>
> ---
> diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc
> index 1ee7504..5bca2b7 100644
> --- a/meta/recipes-devtools/gcc/gcc-configure-target.inc
> +++ b/meta/recipes-devtools/gcc/gcc-configure-target.inc
> @@ -1,4 +1,6 @@
> require gcc-configure-common.inc
>
> EXTRA_OECONF_PATHS = " \
> + --with-sysroot \
I can't seem to find the reply to this, but RP added a "=" to the
end of this and that seems to have re-introduced the problem we were
attempting to fix.
Apparently this is a bug in the configure script then also.
Sau!
> + --with-build-sysroot=${STAGING_DIR_TARGET} \
> --with-gxx-include-dir=${includedir}/c++/"
> --
> cgit v0.9.0.2-39-g756e
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* gcc-configure-common: Use build time sysroot for target gcc
@ 2012-06-13 8:26 Bogdan Marinescu
2012-06-14 17:14 ` Saul Wold
0 siblings, 1 reply; 5+ messages in thread
From: Bogdan Marinescu @ 2012-06-13 8:26 UTC (permalink / raw)
To: openembedded-core
From: Khem Raj <raj.khem@gmail.com>
Otherwise it assumes / as sysroot on build host and starts
searching for directories in there.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc
index 1ee7504..5bca2b7 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-target.inc
@@ -1,4 +1,6 @@
require gcc-configure-common.inc
EXTRA_OECONF_PATHS = " \
+ --with-sysroot \
+ --with-build-sysroot=${STAGING_DIR_TARGET} \
--with-gxx-include-dir=${includedir}/c++/"
--
cgit v0.9.0.2-39-g756e
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-06-14 19:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-13 8:20 gcc-configure-common: Use build time sysroot for target gcc Bogdan Marinescu
2012-06-13 8:23 ` Marinescu, Bogdan A
2012-06-13 8:26 Bogdan Marinescu
2012-06-14 17:14 ` Saul Wold
2012-06-14 18:51 ` Richard Purdie
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.