Building crosstool-NG toolchain error on mac os x 10.12
Posted: Tue Oct 17, 2017 7:52 pm
I followed http://esp-idf.readthedocs.io/en/latest ... rom-source instructions to setup toolchain for Mac OS. But when i try to build the toolchain it gives me below error,
Here i have attached the build.log file for your reference.
Any help would really appreciated.
PS: Please let me know if you need any other information.
Thank you!
Code: Select all
Prasads-MacBook-Pro-2:crosstool-NG Prasad$ ./ct-ng build
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20171018.004843
[INFO ] Building environment variables
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[INFO ] Retrieving needed toolchain components' tarballs: done in 0.00s (at 00:03)
[INFO ] =================================================================
[INFO ] Extracting and patching toolchain components
[INFO ] Extracting and patching toolchain components: done in 0.00s (at 00:03)
[INFO ] =================================================================
[INFO ] Installing ncurses for build
[INFO ] Installing ncurses for build: done in 38.00s (at 00:41)
[INFO ] =================================================================
[INFO ] Installing GMP for host
[INFO ] Installing GMP for host: done in 55.00s (at 01:36)
[INFO ] =================================================================
[INFO ] Installing MPFR for host
[INFO ] Installing MPFR for host: done in 33.00s (at 02:09)
[INFO ] =================================================================
[INFO ] Installing ISL for host
[INFO ] Installing ISL for host: done in 23.00s (at 02:32)
[INFO ] =================================================================
[INFO ] Installing MPC for host
[INFO ] Installing MPC for host: done in 16.00s (at 02:48)
[INFO ] =================================================================
[INFO ] Installing expat for host
[INFO ] Installing expat for host: done in 10.00s (at 02:58)
[INFO ] =================================================================
[INFO ] Installing binutils for host
[INFO ] Installing binutils for host: done in 68.00s (at 04:06)
[INFO ] =================================================================
[INFO ] Installing C library headers & start files
[INFO ] Installing C library headers & start files: done in 0.00s (at 04:06)
[INFO ] =================================================================
[INFO ] Installing pass-2 core C gcc compiler
[ERROR] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/functional:1398:2: error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'?
[ERROR] make[2]: *** [auto-profile.o] Error 1
[ERROR] make[1]: *** [all-gcc] Error 2
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Installing pass-2 core C gcc compiler'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@216]
[ERROR] >> called from: do_gcc_core_backend[scripts/build/cc/100-gcc.sh@545]
[ERROR] >> called from: do_gcc_core_pass_2[scripts/build/cc/100-gcc.sh@160]
[ERROR] >> called from: do_cc_core_pass_2[scripts/build/cc.sh@42]
[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] >> 'docs/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 5:52.00)
[05:53] / make: *** [build] Error 1
Prasads-MacBook-Pro-2:crosstool-NG Prasad$ ct-ng clean
-bash: ct-ng: command not found
Prasads-MacBook-Pro-2:crosstool-NG Prasad$
Any help would really appreciated.
PS: Please let me know if you need any other information.
Thank you!