Enable workaround for AArch64 Cortex-A53 erratum 835769 84/39284/1
authorNikolai Bozhenov <n.bozhenov@samsung.com>
Wed, 6 May 2015 13:55:05 +0000 (16:55 +0300)
committerNikolai Bozhenov <n.bozhenov@samsung.com>
Tue, 12 May 2015 12:49:52 +0000 (15:49 +0300)
Added --enable-fix-cortex-a53-835769 option to configure
because the erratum affects all produced Cortex-A53 CPUs.

Change-Id: I86308ad1fdd1bfaacb4588d44b8e846ea736b72f

packaging/cross-aarch64-gcc49.spec
packaging/cross-armv7hl-gcc49.spec
packaging/cross-armv7l-gcc49.spec
packaging/gcc.spec.in
packaging/gcc49.spec

index a79c3b4..92628f5 100644 (file)
@@ -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"
index 770546c..7d6e48b 100644 (file)
@@ -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"
index 6c863a5..37b81dd 100644 (file)
@@ -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"
index 34e4776..b429fd5 100644 (file)
@@ -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"
index fb8e2cf..d258b73 100644 (file)
@@ -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"