-
Notifications
You must be signed in to change notification settings - Fork 19
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
brew install error on macOS 14.4.1 #27
Comments
I also have this error, exactly the same logs. |
Me too. |
Sorry for the delay (to be honest, I just switched to clang for my own i386-elf purposes, but I still like to update this repo if I'm able to). I've updated the GCC version carried by this tap to GCC 14.1, and it seems to compile OK on my M2 system with macOS 14.4.1. If someone can replicate that this i386-elf-gcc is working now, I'll mark the issue as fixed. |
|
😅 Okay, let me check |
I've bumped the version of GNU binutils that this tap is carrying to 2.42. I haven't checked the compatibility table, but it totally could be that Binutils 2.37 cannot be used with GCC 14.1. I'm testing on a separate and empty Homebrew installation and it seems to work. |
For grub:
...
|
I can't build i386-elf-grub on a 64-bit machine. I get:
|
Yeah, I am still looking at it. I believe that some packages just aren't compatible with macOS 14's clang yet, I can't build neither gdb nor grub with macOS 14's default compiler. Something something I should probably just make these packages build-depend on normal gcc and binutils, because I'm very, very tired of these quirks whenever macOS releases a software update. |
@coolcoder613eb I was able to successfully compile grub 2.06, with the same configure options in this formula.
To fix the type mismatch, this simple patch I put together, while hacky, does work:
The patch resolves type mismatch errors by adding temporary |
I've faced this issue on my MacBook Pro (Intel Mac, mac OS Sonoma 14.7) too. |
Is this something I can do locally? |
❯ brew install nativeos/i386-elf-toolchain/i386-elf-gcc
==> Fetching nativeos/i386-elf-toolchain/i386-elf-gcc
==> Downloading https://ftp.gnu.org/gnu/gcc/gcc-12.2.0/gcc-12.2.0.tar.xz
Already downloaded: /Users/Rain/Library/Caches/Homebrew/downloads/9caf98c99bc119654de91583a325f293ed9186c1cc664ca548b1a3554d948cb9--gcc-12.2.0.tar.xz
==> Installing i386-elf-gcc from nativeos/i386-elf-toolchain
==> ../configure --prefix=/opt/homebrew/Cellar/i386-elf-gcc/12.2.0_2 --target=i386-elf --disable-multilib --disable-nls --disable-werror --without-hea
==> make all-gcc
Last 15 lines from /Users/Rain/Library/Logs/Homebrew/i386-elf-gcc/02.make:
In file included from ../../gcc/system.h:233:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/vector:321:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__format/formatter_bool.h:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__format/formatter_integral.h:32:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/locale:202:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__locale:813:5: error: expected expression
return std::use_facet<ctype<_CharT> >(__loc).is(ctype_base::cntrl, __c);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[1]: *** [cp/mapper-resolver.o] Error 1
20 errors generated.
make[1]: *** [cp/module.o] Error 1
rm gcc.pod
make: *** [all-gcc] Error 2
The text was updated successfully, but these errors were encountered: