On 23.09.2021 10:50, zhang listar wrote: > Thanks for your reply, I do make distclean and git clean -fdx, but it > does no help. > > the code: master, c7aeb775df895db240dcd6f47242f7e08899adfb > It looks like the macos issue, because of the ignoring of some lib, it > drives the compiling error.
Maybe you could try adding -v to the problematic gcc command to see what really goes on.
I see that gcc calls /usr/bin/ld, not binutils ld installed with Homebrew. I saw an advice to `brew unlink binutils` somewhere.