diff mbox series

[1/6] gcc-runtime: Remove -mcpu=cortex-a7 when building for -march=armv7ve

Message ID 27e273fe5fe880eac584023153ccef33b65bf859.1527656441.git.raj.khem@gmail.com
State New
Headers show
Series Add GCC-8 and make it default | expand

Commit Message

Khem Raj May 30, 2018, 5:04 a.m. UTC
This fixes conflicts like
cc1: error: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch [-Werror]

Signed-off-by: Khem Raj <raj.khem@gmail.com>

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-devtools/gcc/gcc-runtime.inc | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.17.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Andre McCurdy June 12, 2018, 5:36 p.m. UTC | #1
On Tue, May 29, 2018 at 10:04 PM, Khem Raj <raj.khem@gmail.com> wrote:
> This fixes conflicts like

> cc1: error: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch [-Werror]


Ross, this patch still seems to be living on in mut, even after the
latest rebase. It should be dropped as the latest gcc8 patchset
contained a better fix.

> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> Signed-off-by: Ross Burton <ross.burton@intel.com>

> ---

>  meta/recipes-devtools/gcc/gcc-runtime.inc | 2 ++

>  1 file changed, 2 insertions(+)

>

> diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc

> index 72b8081cd3..22617a2838 100644

> --- a/meta/recipes-devtools/gcc/gcc-runtime.inc

> +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc

> @@ -14,6 +14,8 @@ EXTRA_OECONF_PATHS = "\

>      --with-build-sysroot=${STAGING_DIR_TARGET} \

>  "

>

> +TUNE_FEATURES_remove_armv7ve = "cortexa7"

> +

>  EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"

>

>  RUNTIMELIBITM = "libitm"

> --

> 2.17.0

>

> --

> _______________________________________________

> Openembedded-core mailing list

> Openembedded-core@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 72b8081cd3..22617a2838 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -14,6 +14,8 @@  EXTRA_OECONF_PATHS = "\
     --with-build-sysroot=${STAGING_DIR_TARGET} \
 "
 
+TUNE_FEATURES_remove_armv7ve = "cortexa7"
+
 EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
 
 RUNTIMELIBITM = "libitm"