1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00:00

gcc: upgrade gcc for powerpc to version 4.5.0

Fix one parameter order issue for base_contains function,
which impacts glibc build under new gcc.

Add new judge code to determine whether <altivec.h> is needed.
This fixes the mpeg2dec build failure under new gcc.

Use O2 as the optimization flag to tinylogin as it will meet
segfault if compiled by gcc-4.5.0 when enable both frename-registers
and Os options. Use O2 instead.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
This commit is contained in:
Dongxiao Xu
2010-09-16 13:51:09 +08:00
committed by Saul Wold
parent 8e9caafd0b
commit 0ff070bbf1
27 changed files with 89 additions and 27 deletions
@@ -17,7 +17,8 @@ LANGUAGES ?= "c,c++${FORTRAN}${JAVA}"
# hidden symbols in libgcc.a which linker complains
# when linking shared libraries further in the build like (gnutls)
OPTSPACE = "${@base_contains('TARGET_ARCH', ['powerpc', 'arm'], '', '--enable-target-optspace',d)}"
SPECIAL_ARCH_LIST = "powerpc arm"
OPTSPACE = ${@base_contains("SPECIAL_ARCH_LIST", "${TARGET_ARCH}", "", "--enable-target-optspace",d)}
EXTRA_OECONF_BASE ?= ""
EXTRA_OECONF_PATHS ?= ""
@@ -5,7 +5,7 @@ require gcc-cross-canadian.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
PR = "r17"
PR = "r18"
DEPENDS += "gmp-nativesdk mpfr-nativesdk"
RDEPENDS_${PN} += "mpfr-nativesdk"
@@ -5,7 +5,7 @@ require gcc-cross-canadian.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
PR = "r6"
PR = "r7"
DEPENDS += "gmp-nativesdk mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk"
RDEPENDS_${PN} += "mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk"
@@ -1,5 +1,5 @@
require gcc-cross_${PV}.bb
require gcc-cross-initial.inc
PR = "r2"
PR = "r3"
@@ -1,5 +1,5 @@
require gcc-cross_${PV}.bb
require gcc-cross-initial.inc
PR = "r7"
PR = "r8"
@@ -1,4 +1,4 @@
require gcc-cross_${PV}.bb
require gcc-cross-intermediate.inc
PR = "r2"
PR = "r3"
@@ -1,4 +1,4 @@
require gcc-cross_${PV}.bb
require gcc-cross-intermediate.inc
PR = "r7"
PR = "r8"
@@ -9,7 +9,7 @@ require gcc-cross-kernel.inc
DEFAULT_PREFERENCE = "-1"
PR = "r2"
PR = "r3"
SRC_URI += "file://gcc-3.4.4-makefile-fix.patch;patch=1"
+1 -1
View File
@@ -1,4 +1,4 @@
PR = "r15"
PR = "r16"
require gcc-${PV}.inc
require gcc-cross4.inc
+1 -1
View File
@@ -1,4 +1,4 @@
PR = "r7"
PR = "r8"
require gcc-${PV}.inc
require gcc-cross4.inc
@@ -1,4 +1,4 @@
PR = "r3"
PR = "r4"
require gcc-csl-arm-2008q1.inc
require gcc-cross4.inc
@@ -1,3 +1,3 @@
require gcc-cross-initial_${PV}.bb
require gcc-crosssdk-initial.inc
PR = "r3"
PR = "r4"
@@ -1,4 +1,4 @@
require gcc-cross-initial_${PV}.bb
require gcc-crosssdk-initial.inc
PR = "r7"
PR = "r8"
@@ -1,3 +1,3 @@
require gcc-cross-intermediate_${PV}.bb
require gcc-crosssdk-intermediate.inc
PR = "r6"
PR = "r7"
@@ -1,4 +1,4 @@
require gcc-cross-intermediate_${PV}.bb
require gcc-crosssdk-intermediate.inc
PR = "r7"
PR = "r8"
@@ -1,3 +1,3 @@
require gcc-cross_${PV}.bb
require gcc-crosssdk.inc
PR="r1"
PR="r2"
@@ -1,4 +1,4 @@
require gcc-cross_${PV}.bb
require gcc-crosssdk.inc
PR = "r7"
PR = "r8"
@@ -1,4 +1,4 @@
PR = "r15"
PR = "r16"
require gcc-${PV}.inc
require gcc-configure-runtime.inc
@@ -1,4 +1,4 @@
PR = "r6"
PR = "r7"
require gcc-${PV}.inc
require gcc-configure-runtime.inc
+1 -1
View File
@@ -1,4 +1,4 @@
PR = "r8"
PR = "r9"
require gcc-${PV}.inc
require gcc-configure-target.inc
+1 -1
View File
@@ -1,4 +1,4 @@
PR = "r6"
PR = "r7"
require gcc-${PV}.inc
require gcc-configure-target.inc
@@ -1,4 +1,4 @@
PR = "r1"
PR = "r2"
require gcc-${PV}.inc
require gcc-configure-target.inc