-
Notifications
You must be signed in to change notification settings - Fork 267
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
Does not compile on Apple Silicon #116
Comments
See following gcc bug |
So it looks like we need a backport of the GCC fix to all supported GCC versions. How hard is that going to be? IMO it should strip out useless hunks like the line number changes so that the diff is minimal and ideally a single patch applies to all affected versions. |
Still the same error with |
gcc-10.3.0 builds
Blindly copied from other For
I've have only build |
This patch fixes a linker error occuring when compiling the cross-compiler on macOS and ARM64 architecture. Adapted from: richfelker/musl-cross-make#116 (comment) Change-Id: Ia3ee98a163bbb62689f42e2da83a5ef36beb0913 Reviewed-on: https://review.haiku-os.org/c/buildtools/+/4329 Reviewed-by: John Scipione <[email protected]> Reviewed-by: Adrien Destugues <[email protected]>
Added patch for GCC to fix compilation issues on MacOS arm64 The original commit message from Przemysław Buczkowski: GCC: Patch for Apple Silicon compatibility This patch fixes a linker error occuring when compiling the cross-compiler on macOS and ARM64 architecture. Adapted from: richfelker/musl-cross-make#116 (comment) Signed-off-by: Sergey V. Lobanov <[email protected]>
Added patch for GCC to fix compilation issues on MacOS arm64 The original commit message from Przemysław Buczkowski: GCC: Patch for Apple Silicon compatibility This patch fixes a linker error occuring when compiling the cross-compiler on macOS and ARM64 architecture. Adapted from: richfelker/musl-cross-make#116 (comment) Signed-off-by: Sergey V. Lobanov <[email protected]>
Added patch for GCC to fix compilation issues on MacOS arm64 The original commit message from Przemysław Buczkowski: GCC: Patch for Apple Silicon compatibility This patch fixes a linker error occuring when compiling the cross-compiler on macOS and ARM64 architecture. Adapted from: richfelker/musl-cross-make#116 (comment) Signed-off-by: Sergey V. Lobanov <[email protected]> Signed-off-by: boos4721 <[email protected]>
Added patch for GCC to fix compilation issues on MacOS arm64 The original commit message from Przemysław Buczkowski: GCC: Patch for Apple Silicon compatibility This patch fixes a linker error occuring when compiling the cross-compiler on macOS and ARM64 architecture. Adapted from: richfelker/musl-cross-make#116 (comment) Signed-off-by: Sergey V. Lobanov <[email protected]>
@jlricon if I may ask, what sort of config were you using to build this? I'm getting many errors with the clang compiler on the M1, especially in the GCC configure script, which checks if the compiler is "working". |
Can you try using richard-vd@b298706? That is like fe91582 with PRs #148, #140 and #129 merged. |
I'm not the original commenter, but I just built this patch/commit and it finished without error (MacOS 12.4, M1 chip). I used |
Thanks @hoosierEE for posting your result! @richfelker could you please merge PRs #148, #140 and #129? |
I'm getting this same error ( |
It returns the following after running
TARGET=x86_64-linux-musl make
The text was updated successfully, but these errors were encountered: