A cross-compilation build from sources runs fails when the
XCXX cross-compiler variable contains a --sysroot argument:
Possible Cause and Suggested Solution¶
Please verify the value of the
XCXX environment variable:
Does it contain both the cross-compiler name as well as the --sysroot switch?
XCXX setting should be limited to the compiler executable itself (
aarch64-gnu-linux-g++ in above example). Additional switches should be specified via the