crosstool-NG icon indicating copy to clipboard operation
crosstool-NG copied to clipboard

Does not compile on Bash for Windows 10

Open siriuspal opened this issue 7 years ago • 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`

siriuspal avatar Jun 03 '17 09:06 siriuspal

Please share the build.log from the crosstool-NG directory.

jcmvbkbc avatar Jun 03 '17 10:06 jcmvbkbc

Attached build.log, config.log and, .config files in zip as I ran make again in a fresh installation.

crosstool-NG.zip

siriuspal avatar Jun 03 '17 12:06 siriuspal

[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'...

jcmvbkbc avatar Jun 03 '17 13:06 jcmvbkbc

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. ...

siriuspal avatar Jun 03 '17 14:06 siriuspal

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.

siriuspal avatar Jun 04 '17 06:06 siriuspal

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.

jcmvbkbc avatar Jun 04 '17 07:06 jcmvbkbc

I was doing a fresh build of the toolchain itself.

siriuspal avatar Jun 04 '17 09:06 siriuspal