From: Nikolai Bozhenov Date: Wed, 6 May 2015 13:55:05 +0000 (+0300) Subject: Enable workaround for AArch64 Cortex-A53 erratum 835769 X-Git-Tag: accepted/tizen/3.0.2015.q2/common/20150615.160009~24^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5333b444b9ebcddf5dd6a5cb0b2dafd886972be7;p=platform%2Fupstream%2Fgcc49.git Enable workaround for AArch64 Cortex-A53 erratum 835769 Added --enable-fix-cortex-a53-835769 option to configure because the erratum affects all produced Cortex-A53 CPUs. Change-Id: I86308ad1fdd1bfaacb4588d44b8e846ea736b72f --- diff --git a/packaging/cross-aarch64-gcc49.spec b/packaging/cross-aarch64-gcc49.spec index a79c3b4..92628f5 100644 --- a/packaging/cross-aarch64-gcc49.spec +++ b/packaging/cross-aarch64-gcc49.spec @@ -386,6 +386,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS $GCJ_EXTRA_FLAGS" \ %if "%{TARGET_ARCH}" == "aarch64" --with-arch=armv8-a \ --disable-sjlj-exceptions \ + --enable-fix-cortex-a53-835769 \ %endif %if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" %if "%{TARGET_ARCH}" == "powerpc" diff --git a/packaging/cross-armv7hl-gcc49.spec b/packaging/cross-armv7hl-gcc49.spec index 770546c..7d6e48b 100644 --- a/packaging/cross-armv7hl-gcc49.spec +++ b/packaging/cross-armv7hl-gcc49.spec @@ -386,6 +386,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS $GCJ_EXTRA_FLAGS" \ %if "%{TARGET_ARCH}" == "aarch64" --with-arch=armv8-a \ --disable-sjlj-exceptions \ + --enable-fix-cortex-a53-835769 \ %endif %if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" %if "%{TARGET_ARCH}" == "powerpc" diff --git a/packaging/cross-armv7l-gcc49.spec b/packaging/cross-armv7l-gcc49.spec index 6c863a5..37b81dd 100644 --- a/packaging/cross-armv7l-gcc49.spec +++ b/packaging/cross-armv7l-gcc49.spec @@ -386,6 +386,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS $GCJ_EXTRA_FLAGS" \ %if "%{TARGET_ARCH}" == "aarch64" --with-arch=armv8-a \ --disable-sjlj-exceptions \ + --enable-fix-cortex-a53-835769 \ %endif %if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" %if "%{TARGET_ARCH}" == "powerpc" diff --git a/packaging/gcc.spec.in b/packaging/gcc.spec.in index 34e4776..b429fd5 100644 --- a/packaging/gcc.spec.in +++ b/packaging/gcc.spec.in @@ -1240,6 +1240,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS $GCJ_EXTRA_FLAGS" \ %if "%{TARGET_ARCH}" == "aarch64" --with-arch=armv8-a \ --disable-sjlj-exceptions \ + --enable-fix-cortex-a53-835769 \ %endif %if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" %if "%{TARGET_ARCH}" == "powerpc" diff --git a/packaging/gcc49.spec b/packaging/gcc49.spec index fb8e2cf..d258b73 100644 --- a/packaging/gcc49.spec +++ b/packaging/gcc49.spec @@ -1773,6 +1773,7 @@ TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS $GCJ_EXTRA_FLAGS" \ %if "%{TARGET_ARCH}" == "aarch64" --with-arch=armv8-a \ --disable-sjlj-exceptions \ + --enable-fix-cortex-a53-835769 \ %endif %if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" %if "%{TARGET_ARCH}" == "powerpc"