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

Update to GCC 14.1.0 #171243

Merged
merged 12 commits into from
May 10, 2024
7 changes: 3 additions & 4 deletions Formula/a/aarch64-elf-gcc.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
class Aarch64ElfGcc < Formula
desc "GNU compiler collection for aarch64-elf"
homepage "https://gcc.gnu.org"
url "https://ftp.gnu.org/gnu/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz"
mirror "https://ftpmirror.gnu.org/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz"
sha256 "e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da"
url "https://ftp.gnu.org/gnu/gcc/gcc-14.1.0/gcc-14.1.0.tar.xz"
mirror "https://ftpmirror.gnu.org/gcc/gcc-14.1.0/gcc-14.1.0.tar.xz"
sha256 "e283c654987afe3de9d8080bc0bd79534b5ca0d681a73a11ff2b5d3767426840"
license "GPL-3.0-or-later" => { with: "GCC-exception-3.1" }
revision 1

livecheck do
formula "gcc"
Expand Down
6 changes: 3 additions & 3 deletions Formula/a/arm-none-eabi-gcc.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class ArmNoneEabiGcc < Formula

Check notice on line 1 in Formula/a/arm-none-eabi-gcc.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Installed previously built bottle for arm-none-eabi-gcc from

:40f6a7fb5f6 (Merge 191a54d7a446b4802fdadc566fff2fca367bb082 into cedb3cad5ca4c35f0dcb75e233beb16e8a1f451c, 2024-05-09)

Check notice on line 1 in Formula/a/arm-none-eabi-gcc.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

Installed previously built bottle for arm-none-eabi-gcc from

:40f6a7fb5f6 (Merge 191a54d7a446b4802fdadc566fff2fca367bb082 into cedb3cad5ca4c35f0dcb75e233beb16e8a1f451c, 2024-05-09)

Check notice on line 1 in Formula/a/arm-none-eabi-gcc.rb

View workflow job for this annotation

GitHub Actions / macOS 12-arm64

Installed previously built bottle for arm-none-eabi-gcc from

:40f6a7fb5f6 (Merge 191a54d7a446b4802fdadc566fff2fca367bb082 into cedb3cad5ca4c35f0dcb75e233beb16e8a1f451c, 2024-05-09)

Check notice on line 1 in Formula/a/arm-none-eabi-gcc.rb

View workflow job for this annotation

GitHub Actions / Linux

Installed previously built bottle for arm-none-eabi-gcc from

:40f6a7fb5f6 (Merge 191a54d7a446b4802fdadc566fff2fca367bb082 into cedb3cad5ca4c35f0dcb75e233beb16e8a1f451c, 2024-05-09)

Check notice on line 1 in Formula/a/arm-none-eabi-gcc.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

Installed previously built bottle for arm-none-eabi-gcc from

:40f6a7fb5f6 (Merge 191a54d7a446b4802fdadc566fff2fca367bb082 into cedb3cad5ca4c35f0dcb75e233beb16e8a1f451c, 2024-05-09)

Check notice on line 1 in Formula/a/arm-none-eabi-gcc.rb

View workflow job for this annotation

GitHub Actions / macOS 14-x86_64

Installed previously built bottle for arm-none-eabi-gcc from

:40f6a7fb5f6 (Merge 191a54d7a446b4802fdadc566fff2fca367bb082 into cedb3cad5ca4c35f0dcb75e233beb16e8a1f451c, 2024-05-09)

Check notice on line 1 in Formula/a/arm-none-eabi-gcc.rb

View workflow job for this annotation

GitHub Actions / macOS 12-x86_64

Installed previously built bottle for arm-none-eabi-gcc from

:40f6a7fb5f6 (Merge 191a54d7a446b4802fdadc566fff2fca367bb082 into cedb3cad5ca4c35f0dcb75e233beb16e8a1f451c, 2024-05-09)
desc "GNU compiler collection for arm-none-eabi"
homepage "https://gcc.gnu.org"
url "https://ftp.gnu.org/gnu/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz"
mirror "https://ftpmirror.gnu.org/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz"
sha256 "e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da"
url "https://ftp.gnu.org/gnu/gcc/gcc-14.1.0/gcc-14.1.0.tar.xz"
mirror "https://ftpmirror.gnu.org/gcc/gcc-14.1.0/gcc-14.1.0.tar.xz"
sha256 "e283c654987afe3de9d8080bc0bd79534b5ca0d681a73a11ff2b5d3767426840"
license "GPL-3.0-or-later" => { with: "GCC-exception-3.1" }

livecheck do
Expand Down
6 changes: 3 additions & 3 deletions Formula/i/i686-elf-gcc.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class I686ElfGcc < Formula

Check notice on line 1 in Formula/i/i686-elf-gcc.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Installed previously built bottle for i686-elf-gcc from

:40f6a7fb5f6 (Merge 191a54d7a446b4802fdadc566fff2fca367bb082 into cedb3cad5ca4c35f0dcb75e233beb16e8a1f451c, 2024-05-09)

Check notice on line 1 in Formula/i/i686-elf-gcc.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

Installed previously built bottle for i686-elf-gcc from

:40f6a7fb5f6 (Merge 191a54d7a446b4802fdadc566fff2fca367bb082 into cedb3cad5ca4c35f0dcb75e233beb16e8a1f451c, 2024-05-09)

Check notice on line 1 in Formula/i/i686-elf-gcc.rb

View workflow job for this annotation

GitHub Actions / macOS 12-arm64

Installed previously built bottle for i686-elf-gcc from

:40f6a7fb5f6 (Merge 191a54d7a446b4802fdadc566fff2fca367bb082 into cedb3cad5ca4c35f0dcb75e233beb16e8a1f451c, 2024-05-09)

Check notice on line 1 in Formula/i/i686-elf-gcc.rb

View workflow job for this annotation

GitHub Actions / Linux

Installed previously built bottle for i686-elf-gcc from

:40f6a7fb5f6 (Merge 191a54d7a446b4802fdadc566fff2fca367bb082 into cedb3cad5ca4c35f0dcb75e233beb16e8a1f451c, 2024-05-09)
desc "GNU compiler collection for i686-elf"
homepage "https://gcc.gnu.org"
url "https://ftp.gnu.org/gnu/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz"
mirror "https://ftpmirror.gnu.org/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz"
sha256 "e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da"
url "https://ftp.gnu.org/gnu/gcc/gcc-14.1.0/gcc-14.1.0.tar.xz"
mirror "https://ftpmirror.gnu.org/gcc/gcc-14.1.0/gcc-14.1.0.tar.xz"
sha256 "e283c654987afe3de9d8080bc0bd79534b5ca0d681a73a11ff2b5d3767426840"
license "GPL-3.0-or-later" => { with: "GCC-exception-3.1" }

livecheck do
Expand Down
18 changes: 3 additions & 15 deletions Formula/m/mingw-w64.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class MingwW64 < Formula

Check notice on line 1 in Formula/m/mingw-w64.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Installed previously built bottle for mingw-w64 from

:40f6a7fb5f6 (Merge 191a54d7a446b4802fdadc566fff2fca367bb082 into cedb3cad5ca4c35f0dcb75e233beb16e8a1f451c, 2024-05-09)
desc "Minimalist GNU for Windows and GCC cross-compilers"
homepage "https://sourceforge.net/projects/mingw-w64/"
url "https://downloads.sourceforge.net/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v11.0.1.tar.bz2"
Expand Down Expand Up @@ -42,21 +42,9 @@
end

resource "gcc" do
url "https://ftp.gnu.org/gnu/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz"
mirror "https://ftpmirror.gnu.org/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz"
sha256 "e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da"

# Backport fix for ctype build errors with Xcode 15.3
patch do
url "https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=9970b576b7e4ae337af1268395ff221348c4b34a"
sha256 "968bfcb58f75d889470f2f815787f6aa254fb43f1e5516e04f577dad22259905"
end

# Backport fix for libcc1 std::vector build errors with Xcode 15.3
patch do
url "https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=5213047b1d50af63dfabb5e5649821a6cb157e33"
sha256 "0d36d0d5556aefa59dbedf821f5c9dcda940a9c6f92cb3509423f524fd93351a"
end
url "https://ftp.gnu.org/gnu/gcc/gcc-14.1.0/gcc-14.1.0.tar.xz"
mirror "https://ftpmirror.gnu.org/gcc/gcc-14.1.0/gcc-14.1.0.tar.xz"
sha256 "e283c654987afe3de9d8080bc0bd79534b5ca0d681a73a11ff2b5d3767426840"
end

def target_archs
Expand Down
14 changes: 3 additions & 11 deletions Formula/r/riscv64-elf-gcc.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class Riscv64ElfGcc < Formula
desc "GNU compiler collection for riscv64-elf"
homepage "https://gcc.gnu.org"
url "https://ftp.gnu.org/gnu/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz"
mirror "https://ftpmirror.gnu.org/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz"
sha256 "e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da"
url "https://ftp.gnu.org/gnu/gcc/gcc-14.1.0/gcc-14.1.0.tar.xz"
mirror "https://ftpmirror.gnu.org/gcc/gcc-14.1.0/gcc-14.1.0.tar.xz"
sha256 "e283c654987afe3de9d8080bc0bd79534b5ca0d681a73a11ff2b5d3767426840"
license "GPL-3.0-or-later" => { with: "GCC-exception-3.1" }

livecheck do
Expand All @@ -27,14 +27,6 @@ class Riscv64ElfGcc < Formula
depends_on "mpfr"
depends_on "riscv64-elf-binutils"

# Fixes std::log2 import from math.h on Big Sur and Monterey.
# Already included upstream for next release. Remove on next release.
# gcc/config/riscv/genrvv-type-indexer.cc:118:30: error: no member named 'log2' in namespace 'std';
patch do
url "https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=87c347c2897537a6aa391efbfc5ed00c625434fe"
sha256 "470f9cd51f0ad5d6b7b8dc080f3d4830a8ae640257ed6fccc61bd46287798eb0"
end

def install
target = "riscv64-elf"
mkdir "riscv64-elf-gcc-build" do
Expand Down
6 changes: 3 additions & 3 deletions Formula/x/x86_64-elf-gcc.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class X8664ElfGcc < Formula

Check notice on line 1 in Formula/x/x86_64-elf-gcc.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Installed previously built bottle for x86_64-elf-gcc from

:40f6a7fb5f6 (Merge 191a54d7a446b4802fdadc566fff2fca367bb082 into cedb3cad5ca4c35f0dcb75e233beb16e8a1f451c, 2024-05-09)
desc "GNU compiler collection for x86_64-elf"
homepage "https://gcc.gnu.org"
url "https://ftp.gnu.org/gnu/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz"
mirror "https://ftpmirror.gnu.org/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz"
sha256 "e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da"
url "https://ftp.gnu.org/gnu/gcc/gcc-14.1.0/gcc-14.1.0.tar.xz"
mirror "https://ftpmirror.gnu.org/gcc/gcc-14.1.0/gcc-14.1.0.tar.xz"
sha256 "e283c654987afe3de9d8080bc0bd79534b5ca0d681a73a11ff2b5d3767426840"
license "GPL-3.0-or-later" => { with: "GCC-exception-3.1" }

livecheck do
Expand Down