Error with external mips toolchain
Hello,
Using Cavium's toolchain I get "Incorrect selection of the C library", because the helper.mk can't find ld.linux in $SYSROOT/lib/. But in this toolchain ld.linux can be found in $SYSROOT/lib64 or $SYSROOT/lib32 only. How to workaround this check?
And maybe related, how to tune cpu cflags like -mabi or -march, I have seen BR2_TARGET_LDFLAGS, but no BR2_TARGET_LDFLAGS.
Thanks,
Jean-Mickael
This is BR2_TARGET_ARCH I need to tune (to pass -march=octeon2). But it does not show up when running make menuconfig, not even present in .config. I'm doing something wrong or I need to patch to enable the choice for mips64?
Thanks,
Jean-Mickael
Quoted 12 lines · Jean-Mickael Guerin
Hello,
Using Cavium's toolchain I get "Incorrect selection of the C library", because the helper.mk can't find ld.linux in $SYSROOT/lib/. But in this toolchain ld.linux can be found in $SYSROOT/lib64 or $SYSROOT/lib32 only. How to workaround this check?
And maybe related, how to tune cpu cflags like -mabi or -march, I have seen
BR2_TARGET_LDFLAGS, but noBR2_TARGET_LDFLAGS.Thanks,
Jean-Mickael