Skip to content

make c++ include path relative to --sysroot

Kevin Tian poky 1 version In review

Get series with b4
b4 am '[email protected]'

Versions newest first

  1. v1 Latest0 of 1 patch 1 replyIn review

Patches in v1 No applies recorded yet

The patch the cover letter announces is not in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] make c++ include path relative to --sysroot

with this fix, now gcc installed from sstate packages can find c++ standard header files correctly in the new build directory, e.g when building libproxy. There's still one remaining issue in meta-toolchain part, that a complex c++ project compilation still fails being unable to find <algorithm>, if meta-toolchain is installed in a location different from the default assumption.

Having said that, this patch doesn't break normal usage w/o causing regression. I verified Sato build for qemuarm/qemuppc, and Lianhao helped verify qemumips and corresonding normal meta-toolchain usage. So it'd be good to get it merged earlier to remove one more road blocker for sstate.

Thanks to RP for suggesting the solution here.

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: tk/cplusplus
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=tk/cplusplus

Thanks,
Kevin Tian <[email protected]>
---

Kevin Tian (1):
gcc-4.5.1: make c++ include path relative to "--sysroot"

 meta/recipes-devtools/gcc/gcc-4.5.1.inc            |    1 +
 .../GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch       |   33 ++++++++++++++++++++
 meta/recipes-devtools/gcc/gcc-configure-cross.inc  |    2 +-
 meta/recipes-devtools/gcc/gcc-configure-sdk.inc    |    2 +-
 .../gcc/gcc-cross-canadian_4.5.1.bb                |    2 +-
 .../gcc/gcc-cross-initial_4.5.1.bb                 |    2 +-
 .../gcc/gcc-cross-intermediate_4.5.1.bb            |    2 +-
 meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb       |    2 +-
 .../gcc/gcc-crosssdk-initial_4.5.1.bb              |    2 +-
 .../gcc/gcc-crosssdk-intermediate_4.5.1.bb         |    2 +-
 meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb    |    2 +-
 meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb     |    2 +-
 meta/recipes-devtools/gcc/gcc_4.5.1.bb             |    2 +-
 13 files changed, 45 insertions(+), 11 deletions(-)
 create mode 100644 meta/recipes-devtools/gcc/gcc-4.5.1/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch