HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
skychengzhixing opened this issue · comments
hi,I run the following command:make TARGET=x86_64-linux-musl install ,but I encountered the following problems:
--2022-05-25 11:15:30-- (try:20) http://ftp.barfooze.de/pub/sabotage/tarballs/
Found ftp.barfooze.de in host_name_addresses_map (0x555d60601a40)
Connecting to ftp.barfooze.de (ftp.barfooze.de)|5.9.157.210|:80... connected.
Created socket 3.
Releasing 0x0000555d60601a40 (new refcount 1).
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Closed fd 3
How can I solve this problem
I think we should probably change the default either to use the full kernel source or to download from a mirror on github or something, just to reduce the number of sites whose uptime we depend on if nothing else.
good call. i uploaded the tarball here: https://github.com/sabotage-linux/kernel-headers/releases/download/v4.19.88-1/linux-headers-4.19.88-1.tar.xz
see solutions mentioned here #128
or just try again, the server is online now.
-
Thank you very much for your reply. I solved the problem I encountered, according to your method!
I made the following changes:
In makeflie at the top, I modified the site to get Linux headers:
+LINUX_HEADERS_SITE = http://mirrors.2f30.org/sabotage/tarballs/
+#LINUX_HEADERS_SITE = http://ftp.barfooze.de/pub/sabotage/tarballs/
Then it can run normally! -
I have another question for you to answer:
I want to compile a cross tool chain. The requirements are as follows:
(1)gcc version:10.3.1
(2)musl version:1.2.0
(3)Architecture: aarch64
Then I just need to make the following modifications:- In makeflie at the top,modify GCC_VER = 10.3.1 MUSL_VER = 1.2.0;
- then run make TARGET=aarch64-linux-musl install
So I can output the tool chain I want?
We look forward to your reply!
modify GCC_VER = 10.3.1
from what i can tell there's no gcc version 10.3.1, only 10.3.0. in any case, only gcc versions listed in patches/ directory are supported. but with that changed, what you wrote above should work.
Thank you for your answer. Your answer is very helpful to me.
Good wishes to you!
This problem has been solved perfectly, so close it now!