Open l0ud opened 3 years ago
Tried to compile hello_world example on newest esp8266-rtos-sdk (master branch), got error about compiler version being 5.2.0 instead of 8.4.0 and linking fail: xtensa-lx106-elf/bin/ld: cannot find -lc_nano
This is probably effect of this change: espressif/ESP8266_RTOS_SDK@28f466d
Can you please update provided binaries for newest version which contains that library? Thanks
In this case, you may want to check their repo on https://github.com/espressif/crosstool-NG for the updated toolchain. Then recompile it on Rpi. They don't always provide the source for the offical version but you can still use their source. The only problem is it will show warning for the mismatch version but it works fine.
After many hours trying to build toolchain on my rpi, unfortunately I'm stuck at
[INFO ] Extracting and patching toolchain components
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Extracting and patching toolchain components'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExtractPatch[scripts/functions@2074]
[ERROR] >> called from: CT_PackageRun[scripts/functions@1924]
[ERROR] >> called from: CT_ExtractPatch[scripts/functions@2230]
[ERROR] >> called from: do_companion_tools_autoconf_extract[scripts/build/companion_tools/200-autoconf.sh@8]
[ERROR] >> called from: do_companion_tools_extract[scripts/build/companion_tools.sh@28]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@645]
...without apparent error. I found this issue: https://github.com/crosstool-ng/crosstool-ng/issues/1288
However adding CT_EXTRA_CFLAGS in .config located in place I try to build toolchain does not change anything, still the same error. Did you really managed to build toolchain on rpi without any adjustments and hacks?
After many hours trying to build toolchain on my rpi, unfortunately I'm stuck at
[INFO ] Extracting and patching toolchain components [ERROR] [ERROR] >> [ERROR] >> Build failed in step 'Extracting and patching toolchain components' [ERROR] >> called in step '(top-level)' [ERROR] >> [ERROR] >> Error happened in: CT_DoExtractPatch[scripts/functions@2074] [ERROR] >> called from: CT_PackageRun[scripts/functions@1924] [ERROR] >> called from: CT_ExtractPatch[scripts/functions@2230] [ERROR] >> called from: do_companion_tools_autoconf_extract[scripts/build/companion_tools/200-autoconf.sh@8] [ERROR] >> called from: do_companion_tools_extract[scripts/build/companion_tools.sh@28] [ERROR] >> called from: main[scripts/crosstool-NG.sh@645]
...without apparent error. I found this issue: crosstool-ng/crosstool-ng#1288
However adding CT_EXTRA_CFLAGS in .config located in place I try to build toolchain does not change anything, still the same error. Did you really managed to build toolchain on rpi without any adjustments and hacks?
Could you let me know which branch/release you use? Did Espressif include the update of gcc 8.4.0 in their repo?
BTW, I have compiled the latest master branch (https://github.com/espressif/crosstool-NG) and their is no error. If you want to compile it without any custom customization, I think the only thing you need to check is the networking issue when downloading toolchain components' tarballs (e.g. source of gcc).
Tried to compile hello_world example on newest esp8266-rtos-sdk (master branch), got error about compiler version being 5.2.0 instead of 8.4.0 and linking fail: xtensa-lx106-elf/bin/ld: cannot find -lc_nano
This is probably effect of this change: https://github.com/espressif/ESP8266_RTOS_SDK/commit/28f466d12eb00ba8569cc11188a94547a5f8e913
Can you please update provided binaries for newest version which contains that library? Thanks