Skip to contentSkip to conversation

Error with external mips toolchain

Buildroot Jean-Mickael Guerin 1 participant 2 messages Oct 10, 2012 – Oct 11, 2012

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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 no BR2_TARGET_LDFLAGS.

Thanks,
Jean-Mickael