Wranglers: this belongs to embedded@ The uclibc ebuilds define uclibc_endian() to detect the arch endianess to pass this to the uclibc config. Problem is uclibc_endian uses tc-getAS in the wrong way to check this out, for instance building an arm-unknown-linux-uclibc (armle) toolchain on a powerpc (be) host with crossdev breaks things up. You should just use tc-endian() and ditch uclibc_endian() in the uclibc ebuilds.
i specifically changed it to not use tc-endian as that function should not exist ive fixed uclibc_endian instead