PSRAM toolchain patch build error
Posted: Sat Sep 09, 2017 2:27 pm
Hello,
I am facing some issues with PSRAM toolchain build with linux 64 bits PC.
[1]
-> I downloaded .zip crosstool-ng from https://github.com/espressif/crosstool- ... _ram_patch in windows PC.
-> Try to build it into linux PC with steps provided into doc.
-> Configured menuconfig same as given samples/xtensa-esp32-elf/crosstool.config
-> Followed steps given in docs.
-> With ./ct-ng build command I got following error at Installing pass-2 core C gcc compiler, all the steps before that successfully build,
ERROR LOGS :
Installing pass-2 core C gcc compiler
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] make[2]: *** [_muldi3.o] Error 1
[ERROR] make[2]: *** [_negdi2.o] Error 1
[ERROR] make[2]: *** [_ucmpdi2.o] Error 1
[ERROR] make[2]: *** [_cmpdi2.o] Error 1
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] make[2]: *** [_clear_cache.o] Error 1
[ERROR] make[1]: *** [all-target-libgcc] 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@257]
[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] >> 'share/doc/crosstool-ng//B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 4:05.03)
[04:05] / ct-ng:152: recipe for target 'build' failed
[2]
-> I cloned toolchain in linux 64 bits pc.
->followed steps given in http://esp-idf.readthedocs.io/en/latest ... ratch.html
-> With ./ct-ng build, I got error as below at first step in retrieving tarballs,
ERROR LOGS:
Building environment variables
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Retrieving needed toolchain components' tarballs'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: do_isl_get[scripts/build/companion_libs/121-isl.sh@741]
[ERROR] >> called from: do_companion_libs_get[scripts/build/companion_libs.sh@15]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@591]
[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: 4:35.22)
[04:35] / ct-ng:152: recipe for target 'build' failed .
Little help will be appreciated.
Thanks
I am facing some issues with PSRAM toolchain build with linux 64 bits PC.
[1]
-> I downloaded .zip crosstool-ng from https://github.com/espressif/crosstool- ... _ram_patch in windows PC.
-> Try to build it into linux PC with steps provided into doc.
-> Configured menuconfig same as given samples/xtensa-esp32-elf/crosstool.config
-> Followed steps given in docs.
-> With ./ct-ng build command I got following error at Installing pass-2 core C gcc compiler, all the steps before that successfully build,
ERROR LOGS :
Installing pass-2 core C gcc compiler
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] make[2]: *** [_muldi3.o] Error 1
[ERROR] make[2]: *** [_negdi2.o] Error 1
[ERROR] make[2]: *** [_ucmpdi2.o] Error 1
[ERROR] make[2]: *** [_cmpdi2.o] Error 1
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] /data/rahul/crosstool-NG-xtensa-1.22.x-ext_ram_patch/.build/xtensa-esp32-elf/buildtools/xtensa-esp32-elf/include/machine/ieeefp.h:420:2: error: #error Endianess not declared!!
[ERROR] make[2]: *** [_clear_cache.o] Error 1
[ERROR] make[1]: *** [all-target-libgcc] 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@257]
[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] >> 'share/doc/crosstool-ng//B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 4:05.03)
[04:05] / ct-ng:152: recipe for target 'build' failed
[2]
-> I cloned toolchain in linux 64 bits pc.
->followed steps given in http://esp-idf.readthedocs.io/en/latest ... ratch.html
-> With ./ct-ng build, I got error as below at first step in retrieving tarballs,
ERROR LOGS:
Building environment variables
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Retrieving needed toolchain components' tarballs'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: do_isl_get[scripts/build/companion_libs/121-isl.sh@741]
[ERROR] >> called from: do_companion_libs_get[scripts/build/companion_libs.sh@15]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@591]
[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: 4:35.22)
[04:35] / ct-ng:152: recipe for target 'build' failed .
Little help will be appreciated.
Thanks