gcc: fix possible problems with nscd compilation during eglibc-nativesdk build
Long time ago a066e7ca90a28d5681c5fa895a29e999ed7c88b was committed to address possible problems with compilation of nscd during eglibc-nativesdk build. Problems were related to the way gcc searches for headers to check if it should enable it's own stack smash protection bits or it can relay on eglibc for it. However after 934d38530c9a67562e53d4034aee5531f0f26750 things got broken, as for gcc-crosssdk-intermediate packages: 1) EXTRA_OECONF is ignored 2) headers are installed in a different location than expected by that patch. This results in eglibc-nativesdk build broken on some systems (e.g. mine Debian x86_64 squeeze). Fix that by providing with-headers options to crosssdk-intermediate gcc configuration. (From OE-Core rev: 63494d638b7a9b88a5b7d7a02d2afcb3aa0fa064) (From OE-Core rev: b4a686061f27f663321674fb42aa93dbd20c5b3a) Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
0e9001afd5
commit
09ab224a2f
|
@ -1,6 +1,6 @@
|
||||||
require gcc-common.inc
|
require gcc-common.inc
|
||||||
|
|
||||||
PR = "r10"
|
PR = "r11"
|
||||||
|
|
||||||
DEPENDS =+ "mpfr gmp libmpc elfutils"
|
DEPENDS =+ "mpfr gmp libmpc elfutils"
|
||||||
NATIVEDEPS = "mpfr-native gmp-native gettext-native libmpc-native elfutils-native"
|
NATIVEDEPS = "mpfr-native gmp-native gettext-native libmpc-native elfutils-native"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
require gcc-common.inc
|
require gcc-common.inc
|
||||||
|
|
||||||
PR = "r11"
|
PR = "r12"
|
||||||
|
|
||||||
# Third digit in PV should be incremented after a minor release
|
# Third digit in PV should be incremented after a minor release
|
||||||
# happens from this branch on gcc e.g. currently its 4.6.0
|
# happens from this branch on gcc e.g. currently its 4.6.0
|
||||||
|
|
|
@ -7,3 +7,5 @@ SYSTEMLIBS1 = "${SDKPATHNATIVE}${libdir_nativesdk}/"
|
||||||
DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native"
|
DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native"
|
||||||
DEPENDS += "virtual/${TARGET_PREFIX}libc-initial-nativesdk"
|
DEPENDS += "virtual/${TARGET_PREFIX}libc-initial-nativesdk"
|
||||||
PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate-crosssdk"
|
PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate-crosssdk"
|
||||||
|
|
||||||
|
EXTRA_OECONF += " --with-headers=${STAGING_DIR_TCBOOTSTRAP}${SYSTEMHEADERS} "
|
||||||
|
|
Loading…
Reference in New Issue