[LEDE-DEV] [BUG] package/devel/valgrind: cannot build for sunxi

Felix Fietkau nbd at nbd.name
Tue Jul 5 01:26:36 PDT 2016


On 2016-07-05 00:27, Heinrich Schuchardt wrote:
> 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"
>         ;;
> 
> I guess host_cpu should be set to arm_v7 for sunxi and i.mx6 targets.
I've pushed an update of the valgrind package along with some fixes for
architecture detection to my staging tree at:
https://git.lede-project.org/?p=lede/nbd/staging.git;a=summary

It builds fine for me on sunxi - if you have some time, please test it.

- Felix




More information about the Lede-dev mailing list