Please verify the value of the XCXX environment variable:
Does it contain both the cross-compiler name as well as the --sysroot switch?
The XCXX setting should be limited to the compiler executable itself (aarch64-gnu-linux-g++ in above example). Additional switches should be specified via the CXXFLAGS switch:
We would like to use Google Analytics to get a better understanding of how
you use the website.
By agreeing to this, your usage data will be stored in the USA and processed
by Google LLC. Both Google as well as federal US agencies can access this data
and combine it with any other data about you, such as your search history,
personal accounts or any other data known to Google.