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

Toolchain: Add a gcc patch to fix linker error on M1 host #13390

Merged
merged 1 commit into from
Apr 1, 2022

Conversation

jamesmintram
Copy link
Contributor

Fixes a compiler error when building gcc with a target of aarch64 on apple m1:

Undefined symbols for architecture arm64:
  "host_detect_local_cpu(int, char const**)", referenced from:
      static_spec_functions in gcc.o
ld: symbol(s) not found for architecture arm64

Patch taken from here: richfelker/musl-cross-make#116 (comment)

Toolchain/Patches/gcc.patch Outdated Show resolved Hide resolved
@jamesmintram jamesmintram force-pushed the fix-aarch64-gcc-on-m1-mac branch from d193a9c to 4456cb7 Compare March 31, 2022 22:42
@bgianfo bgianfo merged commit 11bcde0 into SerenityOS:master Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants