someburner / crosstool-ng

Other
1 stars 0 forks source link

isl-0.20 fails to download #4

Open slonopotamus opened 1 year ago

slonopotamus commented 1 year ago

I'm trying to run make in someburner/esp-open-sdk but it fails with:

[INFO ]  Retrieving needed toolchain components' tarballs
[EXTRA]    Retrieving 'isl-0.20'
[ERROR]    isl: download failed
[ERROR]   
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Retrieving needed toolchain components' tarballs'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_Abort[scripts/functions@485]
[ERROR]  >>        called from: CT_DoFetch[scripts/functions@2063]
[ERROR]  >>        called from: CT_PackageRun[scripts/functions@2033]
[ERROR]  >>        called from: CT_Fetch[scripts/functions@2134]
[ERROR]  >>        called from: do_isl_get[scripts/build/companion_libs/121-isl.sh@16]
[ERROR]  >>        called from: do_companion_libs_get[scripts/build/companion_libs.sh@15]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@634]

This issue was fixed upstream in 1.25 release: https://github.com/crosstool-ng/crosstool-ng/issues/1625#issuecomment-1126829434

So looks like update is required.

Bonus: for some reason issues are disabled in someburner/esp-open-sdk repo.

someburner commented 1 year ago

@slonopotamus

Thanks. I had just forked esp-open-sdk and I guess issues were disabled, so i re-enabled.

I believe my sdk2-lwip213-m1 has updated crosstool-ng and should work up to GCC 7.4 on linux/mac. I will probably merge that in at some point.

It is a little tricky with crosstool-ng, the release cycle is pretty variable and at certain points updating it would cause some of the "hacks" used by esp-open-sdk and my own hacks would break. For mac m1 I had to disable LTO to get it to work but maybe not necessary for linux.