Issue 0049
- Summary
- Some tests fail to compile on aarch64 (ren1 board)
- Owner
- Tim
- Reporter
- Tim
- Status
- closed
- Priority
- high
Description [edit section]
The following tests have problem in the build phase with the Renesas R-Car board in Tim's lab:- Benchmark.ffsb
- Benchmark.netperf
- Functional.glib
- Functional.expat
Here's what the error looks like:
+ ./configure --build=x86_64-unknown-linux-gnu --host=aarch64-poky-linux \ 'CC=aarch64-poky-linux-gcc -march=armv8-a -mtune=cortex-a57.cortex-a53 \ --sysroot=/opt/poky/2.1.2/sysroots/aarch64-poky-linux' AR=aarch64-poky-linux-ar \ RANLIB=aarch64-poky-linux-ranlib 'CXX=aarch64-poky-linux-g++ -march=armv8-a \ -mtune=cortex-a57.cortex-a53 --sysroot=/opt/poky/2.1.2/sysroots/aarch64-poky-linux' \ 'CPP=aarch64-poky-linux-gcc -E -march=armv8-a -mtune=cortex-a57.cortex-a53 \ --sysroot=/opt/poky/2.1.2/sysroots/aarch64-poky-linux' CXXCPP= --config-cache configure: loading site script /opt/poky/2.1.2/site-config-aarch64-poky-linux configure: loading cache config.cache checking build system type... x86_64-unknown-linux-gnu checking host system type... Invalid configuration `aarch64-poky-linux': machine `aarch64-poky' not recognized configure: error: /bin/sh ./config.sub aarch64-poky-linux failed
Notes [edit section]
This was a problem the automake system for some tests using ancient versions of config.sub and config.guess.The fix was to replace the config.sub and config.guess files for these tests with ones from the Debian release in the Docker container.
See https://bitbucket.org/fuegotest/fuego-core/commits/1b72a7fd12b6d4dd42cc717314737eb91b9d437c
- backlink