Created attachment 116264 [details] [RFC PATCH] configure.ac: disable gcc march mips64r2 detection Cross-compiling valgrind using Buildroot for mips64 fails with (see [1], [2] for details): error: '-mips64r2' conflicts with the other architecture options, which specify a mips64 processor Disabling the gcc march mips64r2 detection in configure.ac and simple using the provided compile flags (e.g. set by buildroot) avoids double settings like '-march=mips64 ... -march=mips64r2 -mabi=64' (see attached RFC patch). 'Fix' only compile tested (not run time tested)... [1] http://autobuild.buildroot.net/results/34f6e2352f1559f98c724fe5394db0035b42ddb1 [2] http://lists.busybox.net/pipermail/buildroot/2018-November/235325.html
I hope this is fixed with https://sourceware.org/git/?p=valgrind.git;a=commit;h=e61d13087096139024788393218367572751b4b6 Peter, can you check with Valgrind ToT?
Yes, works for the buildroot testcase (tested with valgrind-3.14.0 and commit e61d13087096139024788393218367572751b4b6 applied as patch)