Does not compile on Bash for Windows 10
siriuspal opened this issue · 7 comments
In new version of WSL, Ubuntu 16.04.1 LTS, making toolchain fail in step 'Installing ISL for host'
================================================================
[INFO ] Installing ISL for host
[ERROR] make[3]: *** [/mnt/d/ESP82/esp-open-sdk/crosstool-NG/.build/src/isl-0.14/Makefile.in] Error 1
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Installing ISL for host'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR] >> called from: do_isl_backend[scripts/build/companion_libs/121-isl.sh@125]
[ERROR] >> called from: do_isl_for_host[scripts/build/companion_libs/121-isl.sh@73]
[ERROR] >> called from: do_companion_libs_for_host[scripts/build/companion_libs.sh@36]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@646]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> 'share/doc/crosstool-ng/crosstool-ng-1.22.0-55-gecfc19a/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 19:03.90)
[19:06] / ct-ng:152: recipe for target 'build' failed
make[2]: *** [build] Error 2
make[2]: Leaving directory '/mnt/d/ESP82/esp-open-sdk/crosstool-NG'
../Makefile:130: recipe for target '_toolchain' failed
make[1]: *** [_toolchain] Error 2
make[1]: Leaving directory '/mnt/d/ESP82/esp-open-sdk/crosstool-NG'
Makefile:126: recipe for target '/mnt/d/ESP82/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc' failed
make: *** [/mnt/d/ESP82/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc] Error 2`
Please share the build.log from the crosstool-NG directory.
Attached build.log, config.log and, .config files in zip as I ran make again in a fresh installation.
[ALL ] /mnt/d/Embedded/esp-open-sdk/crosstool-NG/.build/src/isl-0.14/missing: line 81: automake-1.14: command not found
[ALL ] WARNING: 'automake-1.14' is missing on your system.
I'd say 'just do the obvious'...
Automake 1.15 is installed and recognized. Is version 1.14 a requirement?
automake --version
automake (GNU automake) 1.15
Copyright (C) 2014 Free Software Foundation, Inc.
...
Installed automake-1.14 from source. That eliminated the error.
Ubuntu 16.04 does not have automake-1.14 in apt repository.
Request including support for newer versions of automake.
Automake 1.15 is installed and recognized. Is version 1.14 a requirement?
Well, AFAIK automake shouldn't be invoked at all unless parts of the project build system are changed. It's definitely not called for ISL in the builds that I run.
I was doing a fresh build of the toolchain itself.