pfalcon / esp-open-sdk

Free and open (as much as possible) integrated SDK for ESP8266/ESP8285 chips
1.97k stars 623 forks source link

Q: Is Canadian Cross supported? #376

Open 4ntoine opened 4 years ago

4ntoine commented 4 years ago

I have some issue building a toolchain on a x86_64 linux [build] with original repo that runs on arm-linux-androideabi [host] targeting obviously xtensa-lx106-elf [target]. Probably i'm doing smth wrong, but is it smth checked here? I'm happy to share the details if anybody volunteers to help. Also please direct me to the instructions or any links that can help with it.

4ntoine commented 4 years ago

Yup, same issues here too. I've used ./ct-ng menuconfig to change the configuration to:

got an error:

[INFO ]  =================================================================
[INFO ]  Installing ISL for build
[ERROR]    make[1]: *** [/home/anton/esp-open-sdk/crosstool-NG-android/.build/src/isl-0.14/aclocal.m4] Error 127
[ERROR]   
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing ISL for build'
[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_build[scripts/build/companion_libs/121-isl.sh@50]
[ERROR]  >>        called from: do_companion_libs_for_build[scripts/build/companion_libs.sh@29]
[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]  >>      '/home/anton/esp-open-sdk/crosstool-NG/share/doc/crosstool-ng/crosstool-ng-1.22.0-60-g37b07f6f/B - Known issues.txt'
[ERROR]   
[ERROR]  (elapsed: 0:53.34)
[00:53] / ct-ng:152: recipe for target 'build' failed
make: *** [build] Error 2

build.zip config.zip Let me know if i miss anything.

PS. I have aclocal 1.15.1 installed and it failed to find aclocal 1.14:

CDPATH="${ZSH_VERSION+.}:" && cd /home/anton/esp-open-sdk/crosstool-NG-android/.build/src/isl-0.14 && /bin/bash /home/anton/esp-open-sdk/crosstool-NG-android/.build/src/isl-0.14/missing aclocal-1.14 -I m4
[ALL  ]    /home/anton/esp-open-sdk/crosstool-NG-android/.build/src/isl-0.14/missing: line 81: aclocal-1.14: command not found
[ALL  ]    WARNING: 'aclocal-1.14' is missing on your system.
[ALL  ]             You should only need it if you modified 'acinclude.m4' or
[ALL  ]             'configure.ac' or m4 files included by 'configure.ac'.
[ALL  ]             The 'aclocal' program is part of the GNU Automake package:
[ALL  ]             <http://www.gnu.org/software/automake>
[ALL  ]             It also requires GNU Autoconf, GNU m4 and Perl in order to run:
[ALL  ]             <http://www.gnu.org/software/autoconf>
[ALL  ]             <http://www.gnu.org/software/m4/>
[ALL  ]             <http://www.perl.org/>
[ALL  ]    Makefile:1076: recipe for target '/home/anton/esp-open-sdk/crosstool-NG-android/.build/src/isl-0.14/aclocal.m4' failed
[ERROR]    make[1]: *** [/home/anton/esp-open-sdk/crosstool-NG-android/.build/src/isl-0.14/aclocal.m4] Error 127
[ALL  ]    make[1]: Leaving directory '/home/anton/esp-open-sdk/crosstool-NG-android/.build/xtensa-lx106-elf/build/build-isl-build-x86_64-build_pc-linux-gnu'
...
~/esp-open-sdk/crosstool-NG-android anton$aclocal --version
aclocal (GNU automake) 1.15.1
4ntoine commented 4 years ago

fixed by using isl version 0.15:

CT_ISL_VERSION="0.15"