Re: [OpenWrt-Devel] [BUG] package/devel/valgrind: cannot build for sunxi

2016-07-04 Thread Heinrich Schuchardt
Debian has the following patch in http://http.debian.net/debian/pool/main/v/valgrind/valgrind_3.11.0-1.debian.tar.xz Description: Fix FTBFS on armhf by correctly detecting the architecture Origin: vendor Bug-Debian: http://bugs.debian.org/730844 Author: Alessandro Ghedini

[OpenWrt-Devel] [BUG] package/devel/valgrind: cannot build for sunxi

2016-07-04 Thread Heinrich Schuchardt
Sunxi Lamobo R1 is a subarchitecture of arm_v7. So valgrind should build out of the box. Unfortunately it is disabled, because host_cpu = arm and not arm_v7. A messy workaround is to patch configure.ac adding arm*) AC_MSG_RESULT([ok (${host_cpu})]) ARCH_MAX="arm" ;;