GCC Newspaper
JUNE 15, 2026
gcc Proposed

Reports download_prerequisites failing from AWS

Haochen Jiang reports that `download_prerequisites` script fails with a 403 Forbidden error when run on AWS systems, suspecting potential IP blocking.

Haochen Jiang reports that the download_prerequisites script fails with a 403 Forbidden error when trying to download GMP from gcc.gnu.org while building GCC on AWS. The issue seems to occur only on certain days, leading to the suspicion that some AWS IPs might be temporarily prohibited due to potential bot attacks. This could impact GCC builds performed on AWS infrastructure.

In the Thread 3 participants
  1. Jiang, Haochen <haochen.jiang@intel.com> proposer

    Reports encountering 403 Forbidden errors when using `download_prerequisites` on AWS systems and suspects potential IP blocking.

    “https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.3.0.tar.bz2: 2026-05-18 08:02:11 ERROR 403: Forbidden. error: Cannot download gmp-6.3.0.tar.bz2 from https://gcc.gnu.org/pub/gcc/infrastructure/”
  2. Mark Wielaard <mark@klomp.org> other

    Suggests checking with system administrators to rule out intentional blocking and to investigate further.

  3. Jiang, Haochen <haochen.jiang@intel.com> other

    Acknowledges the suggestion and mentions having reported the issue internally.

In Details

The download_prerequisites script is used to download necessary libraries (like GMP, MPFR, and MPC) required to build GCC. A 403 Forbidden error indicates that the server is refusing access, possibly due to IP-based blocking or rate limiting. This can impact automated build processes relying on external dependencies.

For Context

Building GCC often requires external libraries. The download_prerequisites script automates the process of downloading these dependencies. A 403 Forbidden error suggests the server is blocking the request, preventing the build from proceeding. This might happen if the server detects suspicious activity from the requesting IP address, such as automated bots or excessive requests.

Filed Under: buildprerequisitesAWSGMPnetworking