summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKairui Song <ryncsn@gmail.com>2021-12-11 16:47:15 (GMT)
committerChris Packham <judge.packham@gmail.com>2021-12-13 08:19:30 (GMT)
commit85530cce9832b91231d50bb28009be71c67a6fff (patch)
treea8568ea56767c20654dd9c987f8499009206a125 /scripts
parent5075e1f98e4329502682746cc30fa5c0c5a19d26 (diff)
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')
0 files changed, 0 insertions, 0 deletions