diff options
author | Kairui Song <ryncsn@gmail.com> | 2021-12-12 00:47:15 +0800 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2021-12-13 21:19:30 +1300 |
commit | 85530cce9832b91231d50bb28009be71c67a6fff (patch) | |
tree | a8568ea56767c20654dd9c987f8499009206a125 /scripts/config.guess | |
parent | 5075e1f98e4329502682746cc30fa5c0c5a19d26 (diff) | |
download | crosstool-ng-85530cce9832b91231d50bb28009be71c67a6fff.tar.gz crosstool-ng-85530cce9832b91231d50bb28009be71c67a6fff.tar.bz2 crosstool-ng-85530cce9832b91231d50bb28009be71c67a6fff.zip |
gcc: Fix 11.2.0 build failure on MacOS with Apple M1
With latest aarch64-unknown-linux-gnu, ct-ng build failed with:
[INFO ] Installing pass-1 core C gcc compiler
[EXTRA] Configuring core C gcc compiler
[EXTRA] Building gcc
[ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR] make[2]: *** [Makefile:2148: xgcc] Error 1
[ERROR] make[2]: *** Waiting for unfinished jobs....
[ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR] make[2]: *** [Makefile:2157: cpp] Error 1
[ERROR] make[1]: *** [Makefile:4444: all-gcc] Error 2
And in build log:
Undefined symbols for architecture arm64:
"host_detect_local_cpu(int, char const**)", referenced from:
static_spec_functions in gcc.o
Just backport a upstream gcc fix.
Signed-off-by: Kairui Song <ryncsn@gmail.com>
Diffstat (limited to 'scripts/config.guess')
0 files changed, 0 insertions, 0 deletions