generic-poky/meta/recipes-devtools/gcc
Richard Purdie 22aac28f28 gcc-4.6: Add fix for relocation problem and ccache
If the toolchain is reused from sstate and ccache is installed, build failures
were occuring due to gcc trying to access the original sysroot rather than the
new one, particularly if the old sysroot existed but was not readable by the
current user.

This turns out of the an issue inside gcc to do with preservation of the sysroot
option. See the gcc patch for more details. It only triggers when preprocessed
sources are used which happens when ccache is used.

The same issue occurs with c++ and c++-cpp-output so the same fix is applied there.

[YOCTO #2074]

(From OE-Core rev: d3a3e81869631ba69874f6fc172240e3aac388f5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-13 14:26:52 +01:00
..
gcc-4.6 gcc-4.6: Add fix for relocation problem and ccache 2012-04-13 14:26:52 +01:00
gcc-csl-arm gcc: remove unused patches and move patches in proper dir 2011-05-18 14:32:47 +01:00
gcc-4.6.inc gcc-4.6: Add fix for relocation problem and ccache 2012-04-13 14:26:52 +01:00
gcc-common.inc meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx) 2012-03-05 10:23:53 -08:00
gcc-configure-common.inc meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True) 2012-03-05 10:22:56 -08:00
gcc-configure-cross.inc gcc-4.6: Let G++ relocate gxx-include-dir when using --sysroot option 2011-12-19 09:29:18 +00:00
gcc-configure-runtime.inc gcc: Fix file ownership 2011-06-28 13:55:40 +01:00
gcc-configure-sdk.inc gcc-4.6: Let G++ relocate gxx-include-dir when using --sysroot option 2011-12-19 09:29:18 +00:00
gcc-configure-target.inc gcc: Fix c++ search path for target system compiler making everything consistent 2010-10-07 11:06:32 +01:00
gcc-cross-canadian.inc Using TRANSLATED_TARGET_ARCH instead of TARGET_ARCH. 2010-12-10 15:36:48 +00:00
gcc-cross-canadian_4.6.bb gcc-4.6: Switch to using svn SRC_URI for recipe 2011-06-23 11:50:07 +01:00
gcc-cross-initial.inc cross-recipes: Disable nls in gettext bbclass 2011-12-15 14:36:23 +00:00
gcc-cross-initial_4.6.bb gcc-4.6: Switch to using svn SRC_URI for recipe 2011-06-23 11:50:07 +01:00
gcc-cross-initial_csl-arm-2008q1.bb Major layout change to the packages directory 2010-08-27 15:29:45 +01:00
gcc-cross-intermediate.inc gcc-cross-intermediate: fix do_install for x32 2012-04-04 17:17:52 +01:00
gcc-cross-intermediate_4.6.bb gcc-4.6: Switch to using svn SRC_URI for recipe 2011-06-23 11:50:07 +01:00
gcc-cross-intermediate_csl-arm-2008q1.bb Major layout change to the packages directory 2010-08-27 15:29:45 +01:00
gcc-cross-kernel.inc gcc-cross-kernel: update to match new toolchain sysroot layout 2011-06-28 15:06:53 +01:00
gcc-cross.inc gcc-cross.inc: Fix cross testing scripts to work with dash 2012-03-04 05:41:10 -08:00
gcc-cross4.inc gcc-4.6: fix toolchain build for SH4 2011-11-16 17:32:45 +00:00
gcc-cross_4.6.bb gcc-4.6: Switch to using svn SRC_URI for recipe 2011-06-23 11:50:07 +01:00
gcc-cross_csl-arm-2008q1.bb gcc: Various fixups to ensure consistent gcc builds 2011-08-11 19:08:02 +01:00
gcc-crosssdk-initial.inc gcc-crosssdk-initial: Ensure native dependencies are built, these can differ accross different gcc versions causing build failures 2010-09-06 22:55:49 +01:00
gcc-crosssdk-initial_4.6.bb gcc-4.6: Switch to using svn SRC_URI for recipe 2011-06-23 11:50:07 +01:00
gcc-crosssdk-intermediate.inc gcc: fix possible problems with nscd compilation during eglibc-nativesdk build 2011-09-28 14:58:48 +01:00
gcc-crosssdk-intermediate_4.6.bb gcc-4.6: Switch to using svn SRC_URI for recipe 2011-06-23 11:50:07 +01:00
gcc-crosssdk.inc Share gcc work directories 2011-06-30 20:56:33 +01:00
gcc-crosssdk_4.6.bb gcc-4.6: Switch to using svn SRC_URI for recipe 2011-06-23 11:50:07 +01:00
gcc-csl-arm-2005q3.inc recipes: Delete patch=1, its default and replace pnum with striplevel 2011-08-23 18:23:30 -07:00
gcc-csl-arm-2008q1.inc recipes: Delete patch=1, its default and replace pnum with striplevel 2011-08-23 18:23:30 -07:00
gcc-package-cross.inc Revert "gcc-cross: aviod creating invalid symlinks" 2012-03-14 15:23:46 +00:00
gcc-package-runtime.inc gcc: move shared .a to their own package 2012-01-24 11:54:21 +00:00
gcc-package-sdk.inc gcc-cross-canadian: Clean non shipped empty directories. 2012-03-27 13:26:35 +01:00
gcc-package-target.inc gcc-package-target.inc: add the symbol link /lib/cpp 2011-11-24 23:33:35 +00:00
gcc-runtime_4.6.bb gcc-runtime: fix override from poky-lsb to linuxstdbase 2012-02-01 15:07:44 +00:00
gcc_4.6.bb gcc_4.6.bb: Drop duplicated SRC_URI component 2012-01-24 10:20:09 +00:00
gcc_csl-arm-2008q1.bb gcc: Various fixups to ensure consistent gcc builds 2011-08-11 19:08:02 +01:00
libgcc_4.6.bb libgcc: corrected -nativesdk package namings. 2012-03-23 12:13:07 +00:00