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

Q: Is Canadian Cross supported? #376

Open
4ntoine opened this issue Jun 17, 2020 · 2 comments
Open

Q: Is Canadian Cross supported? #376

4ntoine opened this issue Jun 17, 2020 · 2 comments

Comments

@4ntoine
Copy link

4ntoine commented Jun 17, 2020

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

4ntoine commented Jun 17, 2020

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

  • canadian cross
  • host "arm-androideabi" (and add it's bin from android ndk 21 exported as standalone toolchain to PATH)

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

4ntoine commented Jun 17, 2020

fixed by using isl version 0.15:

CT_ISL_VERSION="0.15"

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

1 participant