Closed DanEEStar closed 5 months ago
@DanEEStar There are currently issues with compiling even standard gcc 13.2.0 from source on latest Mac OS Apple Silicon with latest Xcode Command Line Tools/SDK. Currently, you can install standard gcc from homebrew but it's pre-bottled (pre-compiled) unless you specify brew install gcc --build-from-source
in which it fails with the same errors as the mips gcc toolchain formula.
As per the GCC team, GCC is not officially supported yet on Apple Silicon. There is a fork at https://github.com/iains/gcc-darwin-arm64 but it's a decent way from being complete enough to port back into mainline GCC.
I will keep monitoring (I am on Mac M2), and have some emails out to those devs to see if they have ran into this issue and may be able to provide a patch. If so, I will modify the formula in the Redux repo to use it, provided the patches provided result in a successful build.
Thanks for your brining this issue to our attention.
Luckily, it seems that gcc 14.1 which got released today has fixed this issue, so #1652 should now fix this one, once I fix all of the related issues of upgrading a toolchain.
The CI seems to indicate this is fixed.
Describe the bug
On my MacBook Pro M1 Max with 14.4.1 (23E224), the command
brew install ./tools/macos-mips/mipsel-none-elf-gcc.rb
does not finish successfully.brew install ./tools/macos-mips/mipsel-none-elf-binutils.rb
compiles though.Here is the error I get when running the command as is:
Running the command with
--verbose
gives me the following output (cropped):Expected behavior
It should compile...
Steps to reproduce the bug
As described
Operating System
MacOS 14.4.1 (23E224)
PCSX-Redux version
not relevant
CPU model
not relevant
GPU model & Drivers
not relevant
BIOS version
not relevant
Options
Iso checks
No response
Logs
No response
Additional information
No response