[PATCH] LoongArch: Don't falsely claim gold supported in toplevel configure
chenglulu
chenglulu@loongson.cn
Fri Feb 23 03:37:31 GMT 2024
在 2024/2/23 上午11:27, Xi Ruoyao 写道:
> On Fri, 2024-02-23 at 11:16 +0800, chenglulu wrote:
>> 在 2024/2/22 下午5:17, Xi Ruoyao 写道:
>>> The gold linker has never been ported to LoongArch (and it seems
>>> unlikely to be ported in the future as the new architectures are
>>> focusing on lld and/or mold for fast linkers).
>>>
>>> ChangeLog:
>>>
>>> * configure.ac (ENABLE_GOLD): Remove loongarch*-*-* from target
>>> list.
>>> * configure: Regenerate.
>>> ---
>>>
>>> Ok for GCC trunk (to get synced into Binutils later)?
>> I have no problem. But I have a question. Is this modification simply
>> because we don’t
>>
>> support it or is there an error somewhere?
> If a user specify --enable-gold building Binutils, with loongarch in
> this list the building system will attempt to build gold and fail. If
> removing loongarch from the list the building system will ignore --
> enable-gold.
>
Okay, I understand.
Thanks!:-)
More information about the Binutils
mailing list