Update buildroot 2018.11 (#274)

This commit is contained in:
Pascal Vizeli
2018-12-02 16:25:21 +01:00
committed by GitHub
parent d6ad746fda
commit 76fad70ebe
86 changed files with 1185 additions and 268 deletions

View File

@@ -0,0 +1,49 @@
From 1fd5a3d2adf04bad6ae6e9eef9caead7d46d9307 Mon Sep 17 00:00:00 2001
From: Peter Seiderer <ps.report@gmx.net>
Date: Thu, 8 Nov 2018 23:55:30 +0100
Subject: [PATCH] configure.ac: disable gcc march mips64r2 detection
Disable gcc march mips64r2 detection, compile flags already
set by buildroot, fixes [1]:
error: '-mips64r2' conflicts with the other architecture options, which specify a mips64 processor
[1] http://autobuild.buildroot.net/results/34f6e2352f1559f98c724fe5394db0035b42ddb1
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: remove code instead of commenting it]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
configure.ac | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/configure.ac b/configure.ac
index 289514ff1..18cf97ffe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1768,22 +1768,7 @@ case "${host_cpu}" in
AC_SUBST(FLAG_M32)
- # does this compiler support -march=mips64r2 (mips64r2 default) ?
- AC_MSG_CHECKING([if gcc accepts -march=mips64r2 -mabi=64])
-
- safe_CFLAGS=$CFLAGS
- CFLAGS="$CFLAGS -march=mips64r2 -mabi=64 -Werror"
-
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
- return 0;
- ]])], [
- FLAG_M64="-march=mips64r2 -mabi=64"
- AC_MSG_RESULT([yes])
- ], [
FLAG_M64=""
- AC_MSG_RESULT([no])
- ])
- CFLAGS=$safe_CFLAGS
AC_SUBST(FLAG_M64)
;;
--
2.19.1

View File

@@ -2,7 +2,9 @@ config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS
bool
default y if BR2_aarch64
default y if BR2_ARM_CPU_ARMV7A
default y if BR2_mips || BR2_mipsel
# MIPS32 R6 is unsupported
default y if BR2_mips && !BR2_mips_32r6
default y if BR2_mipsel && !BR2_mips_32r6
# MIPS64 R6 is unsupported
default y if BR2_mips64 && !BR2_mips_64r6
default y if BR2_mips64el && !BR2_mips_64r6

View File

@@ -13,6 +13,9 @@ VALGRIND_CONF_OPTS = \
--disable-ubsan \
--without-mpicc
VALGRIND_INSTALL_STAGING = YES
# Patch 0003-configure.ac-disable-gcc-march-mips64r2-detection.patch
# touches configure.ac
VALGRIND_AUTORECONF = YES
# Valgrind must be compiled with no stack protection, so forcefully
# pass -fno-stack-protector to override what Buildroot may have in