Extrae version check and cross-compilation
Commit 8ce75c06 introduced a simple test which is compiled and executed to retrieve the extrae version from extrae_version.h
file.
However, the execution of such test is not possible when cross-compiling Nanos++.
Configure line:
jbosch@jboschComputer:/tmp/build-test$ ~/gitrepos/nanox/configure --host=aarch64-linux-gnu --with-extrae=/opt/install-arm64/extrae host_alias=aarch64-linux-gnu --disable-performance --disable-debug
Configure error:
checking for Extrae... /opt/install-arm64/extrae
checking for Extrae version... /home/jbosch/gitrepos/nanox/configure: line 23790: ./conftest: cannot execute binary file: Exec format error
configure: error: could not find Extrae installation
Until the mentioned commit the check was done parsing the header file.