bouffalolab / bl808_linux

Apache License 2.0
128 stars 39 forks source link

Toolchain URL broken #27

Open parthitce opened 7 months ago

parthitce commented 7 months ago

Toolchain URL provided in the README is broken.

$ wget https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1663142514282/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1-20220906.tar
--2024-02-29 20:34:27--  https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1663142514282/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1-20220906.tar                                                    
Resolving occ-oss-prod.oss-cn-hangzhou.aliyuncs.com (occ-oss-prod.oss-cn-hangzhou.aliyuncs.com)... 47.110.177.19                                                                                                    
Connecting to occ-oss-prod.oss-cn-hangzhou.aliyuncs.com (occ-oss-prod.oss-cn-hangzhou.aliyuncs.com)|47.110.177.19|:443... connected.                                                                                
HTTP request sent, awaiting response... 404 Not Found                                                                                                                                                               
2024-02-29 20:34:30 ERROR 404: Not Found.                                                                                                                                                                           

$ curl https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1663142514282/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1-20220906.tar.gz | tar xz -C toolchain/linux_toolchain/ --strip-components=1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to occ-oss-prod.oss-cn-hangzhou.aliyuncs.com:443 

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

But the following works in my end,

wget 'https://datashare.ed.ac.uk/bitstream/handle/10283/4835/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.1-20220906.tar.gz?sequence=4&isAllowed=y'

This also breaks the buidroot building.