Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile on Bash for Windows 10 #43

Open
siriuspal opened this issue Jun 3, 2017 · 7 comments
Open

Does not compile on Bash for Windows 10 #43

siriuspal opened this issue Jun 3, 2017 · 7 comments

Comments

@siriuspal
Copy link

siriuspal commented Jun 3, 2017

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`

@jcmvbkbc
Copy link
Owner

jcmvbkbc commented Jun 3, 2017

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

@siriuspal
Copy link
Author

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

crosstool-NG.zip

@jcmvbkbc
Copy link
Owner

jcmvbkbc commented Jun 3, 2017

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

@siriuspal
Copy link
Author

siriuspal commented Jun 3, 2017

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
Copy link
Author

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.

@jcmvbkbc
Copy link
Owner

jcmvbkbc commented Jun 4, 2017

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.

@siriuspal
Copy link
Author

I was doing a fresh build of the toolchain itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants