Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers. #151

Closed
skychengzhixing opened this issue May 25, 2022 · 7 comments

Comments

@skychengzhixing
Copy link

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

@rofl0r
Copy link
Contributor

rofl0r commented May 25, 2022

see solutions mentioned here #128

or just try again, the server is online now.

@richfelker
Copy link
Owner

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.

@rofl0r
Copy link
Contributor

rofl0r commented May 25, 2022

@skychengzhixing
Copy link
Author

see solutions mentioned here #128

or just try again, the server is online now.

  1. 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!

  2. 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:

    1. In makeflie at the top,modify GCC_VER = 10.3.1 MUSL_VER = 1.2.0;
    2. then run make TARGET=aarch64-linux-musl install
      So I can output the tool chain I want?

We look forward to your reply!

@rofl0r
Copy link
Contributor

rofl0r commented May 26, 2022

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.

@skychengzhixing
Copy link
Author

Thank you for your answer. Your answer is very helpful to me.

Good wishes to you!

@skychengzhixing
Copy link
Author

This problem has been solved perfectly, so close it now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants