Kairui Song 85530cce98 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>
2021-12-13 21:19:30 +13:00
..
2017-09-29 17:05:22 -07:00
2019-12-25 18:30:23 -08:00
2021-11-15 20:14:52 +13:00
2021-01-12 14:07:32 -06:00
2020-02-26 11:05:19 -08:00
2021-05-29 21:33:42 +12:00
2021-09-21 21:24:31 +12:00
2021-09-21 21:12:19 +12:00
2021-11-24 11:20:34 +13:00
2021-09-21 21:24:31 +12:00
2021-09-21 21:24:31 +12:00
2021-08-22 18:08:13 +03:00
2021-10-10 21:35:26 +13:00
2021-04-13 10:54:03 -05:00
2021-09-21 21:24:31 +12:00
2021-09-21 21:24:31 +12:00
2021-09-21 21:24:31 +12:00
2021-09-21 21:24:31 +12:00
2021-09-21 21:24:31 +12:00
2021-09-21 21:24:31 +12:00
2021-11-22 20:10:26 +13:00
2021-11-16 22:11:03 +13:00
2021-09-21 21:24:32 +12:00
2021-10-19 20:24:13 +13:00
2017-07-08 10:56:29 -07:00
2017-07-08 10:56:29 -07:00