On 5/30/26 11:38 PM, Richard Sandiford wrote:
> Martin Liška <[email protected]> writes:
>> Hey.
>>
>> With the latest Wild release (0.9.0), we rapidly improved the LTO
>> plug-in story, and the CGC
>> itself can LTO bootstrap with the linker.
>>
>> Tested with: ../configure --with-build-config=bootstrap-lto
>> --disable-multilib --with-ld=/usr/bin/wild
>> on x86_64-linux-gnu platform.
>
> OK, thanks. And it's nice to be seeing patches from you again! :)
Thank you, pushed as dd5f3d016e7119899627b3b6baa677af5c128927 with the ChangeLog
entry included.
Martin
>
> Richard
>
>>
>> Martin
>>
>> ---
>> gcc/configure | 2 ++
>> gcc/configure.ac | 2 ++
>> 2 files changed, 4 insertions(+)
>>
>> diff --git a/gcc/configure b/gcc/configure
>> index 3cf0d0b5d1c..b9a99c8e9cf 100755
>> --- a/gcc/configure
>> +++ b/gcc/configure
>> @@ -28623,6 +28623,8 @@ if test -f liblto_plugin.la; then
>> gcc_cv_lto_plugin=2
>> elif test "$ld_is_mold" = yes; then
>> gcc_cv_lto_plugin=2
>> + elif test "$ld_is_wild" = yes; then
>> + gcc_cv_lto_plugin=2
>> # Allow -fuse-linker-plugin to enable plugin support in GNU gold 2.20.
>> elif test "$ld_is_gold" = yes -a "$ld_vers_major" -eq 2 -a
>> "$ld_vers_minor" -eq 20; then
>> gcc_cv_lto_plugin=1
>> diff --git a/gcc/configure.ac b/gcc/configure.ac
>> index 5600a100376..7c7fd9123a7 100644
>> --- a/gcc/configure.ac
>> +++ b/gcc/configure.ac
>> @@ -4479,6 +4479,8 @@ changequote([,])dnl
>> gcc_cv_lto_plugin=2
>> elif test "$ld_is_mold" = yes; then
>> gcc_cv_lto_plugin=2
>> + elif test "$ld_is_wild" = yes; then
>> + gcc_cv_lto_plugin=2
>> # Allow -fuse-linker-plugin to enable plugin support in GNU gold 2.20.
>> elif test "$ld_is_gold" = yes -a "$ld_vers_major" -eq 2 -a
>> "$ld_vers_minor" -eq 20; then
>> gcc_cv_lto_plugin=1