http://bugs.openembedded.net/show_bug.cgi?id=4859
Summary: G++ in SDK is non-functional
Classification: Unclassified
Product: Openembedded
Version: unspecified
Platform: All
OS/Version: Linux
Status: UNCONFIRMED
Keywords: patch
Severity: critical
Priority: P3
Component: org.openembedded.dev
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: trini at embeddedalley.com
Created an attachment (id=13153)
--> (http://bugs.openembedded.net/attachment.cgi?id=13153)
Change gxx-include path being passed in to be ...sysroot.../usr/include/c++
Inside of gcc-configure-sdk.inc we have:
EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix}
\
--with-gxx-includedir=${STAGING_DIR_TARGET}/${layout_includedir}/c++ \
--with-sysroot=${prefix}/${TARGET_SYS} \
--with-build-time-tools=${CROSS_DIR}/${TARGET_SYS}/bin \
--with-build-sysroot=${STAGING_DIR_TARGET}"
This means that once the SDK compiler is installed, it looks for c++ headers in
the build directory's staging directory NOT the installed SDK. There is a
similar (but I believe harmless) problem with local-prefix.
The patch attached to this bug fixes things so that gxx-includedir is within
the sysroot instead. (Leaving this option totally unset did not work).
--
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.