Re: Compile fail on macos big sur
От | zhang listar |
---|---|
Тема | Re: Compile fail on macos big sur |
Дата | |
Msg-id | CAEcwFGeXnuUm4nNm_ciCUiOOpVZqpnLxh2SKQzj9jsLFVjMpBQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Compile fail on macos big sur (Sergey Shinderuk <s.shinderuk@postgrespro.ru>) |
Список | pgsql-hackers |
Thanks. It is the binuitls problem. I do "brew uninstall binutils" and compile successfully.
Actually it is the lib $(which ranlib) -V problem.
The similar issue here: https://github.com/bitcoin/bitcoin/issues/20825
Sergey Shinderuk <s.shinderuk@postgrespro.ru> 于2021年9月23日周四 下午4:03写道:
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.
В списке pgsql-hackers по дате отправления: