> On Jun 14, 2016, at 2:10 AM, Anuj Mittal <anujx.mit...@intel.com> wrote: > > We're setting the native header paths in do_configure_prepend, > and don't need to set them again here. > > This results in gcc-target not being able to locate the headers > and not being able to detect glibc version, which in turn > results in SSP support not getting detected even though it's available > in libc. >
what is this being set to in do_conigure_prepend ? that value may not be right for target recipe. For target we are setting sysroot to / and if we do not have this option set then it will set native-system-headers dir to be / relative and not cross sysroot relative. So it will use your build hosts installation for these headers which is not correct either. Have you looked deeper into why its not finding ssp support inside the cross sysroot? > Signed-off-by: Anuj Mittal <anujx.mit...@intel.com> > --- > meta/recipes-devtools/gcc/gcc-target.inc | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/meta/recipes-devtools/gcc/gcc-target.inc > b/meta/recipes-devtools/gcc/gcc-target.inc > index a960ed4..37c5c62 100644 > --- a/meta/recipes-devtools/gcc/gcc-target.inc > +++ b/meta/recipes-devtools/gcc/gcc-target.inc > @@ -4,7 +4,6 @@ require gcc-configure-common.inc > EXTRA_OECONF_PATHS = "\ > --with-sysroot=/ \ > --with-build-sysroot=${STAGING_DIR_TARGET} \ > - > --with-native-system-header-dir=${STAGING_DIR_TARGET}${target_includedir} \ > --with-gxx-include-dir=${includedir}/c++/${BINV} \ > " > > -- > 1.9.1 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core