Failed to build linux tool chain from scratch
Posted: Sat Jan 30, 2021 7:01 pm
Hi all,
I was trying to build the tool chain from scratch but failed to build in ubuntu 16.04 / 20.04.1.
I was trying to build the tool chain to support 64bit time_t and i followed as below steps explained in espressif documents.
Could any one share how you fix the problem. I have attached build log.
Thanks
Ganesh
I was trying to build the tool chain from scratch but failed to build in ubuntu 16.04 / 20.04.1.
Code: Select all
[ERROR] error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Retrieving needed toolchain components' tarballs'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@373]
[ERROR] >> called from: CT_Download_git[scripts/functions@1873]
[ERROR] >> called from: CT_DoFetch[scripts/functions@1997]
[ERROR] >> called from: CT_PackageRun[scripts/functions@1924]
[ERROR] >> called from: CT_Fetch[scripts/functions@2023]
[ERROR] >> called from: do_binutils_get[scripts/build/binutils/binutils.sh@7]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@631]
[ERROR] >>
Code: Select all
git clone https://github.com/espressif/crosstool-NG.git
cd crosstool-NG
git checkout esp-2020r3
git submodule update --init
./bootstrap && ./configure --enable-local && make
Thanks
Ganesh