On 1/5/21 8:47 AM, Jakub Jelinek via Gcc-patches wrote:
> On Tue, Jan 05, 2021 at 10:00:06AM +0100, Jakub Jelinek via Gcc-patches wrote:
>> On Tue, Jan 05, 2021 at 09:56:26AM +0100, Rainer Orth wrote:
>>>> Richi complained on IRC that cc1 is linked against libcody.a.
>>>> From my understanding, it is just the cc1plus and cc1objplus binaries
>>>> that need it, so this patch links only those against it.
>>>>
>>>> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
>>> this is already part of my Solaris libcody patch
>>>
>>>     build: libcody: Link with -lsocket -lnsl if necessary [PR98316]
>>>         https://gcc.gnu.org/pipermail/gcc-patches/2020-December/562185.html
>>>
>>> to be committed shortly.
>> Ah, sorry for missing that, patch withdrawn.
>>
>> The difference between the patches for this particular thing is that
>> my patch was adding the libcody.a also to cc1*plus-checksum* goal and their
>> dependencies plus cc1*plus dependencies (so that if one rebuilds libcody,
>> make in gcc subdir will relink cc1plus).
> The following updated patch are the incremental changes between what Rainer
> has committed and what I've posted.
>
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
>
> 2021-01-05  Jakub Jelinek  <ja...@redhat.com>
>
> gcc/cp/
>       * Make-lang.in (cc1plus-checksum, cc1plus$(exeext): Add
>       $(CODYLIB) after $(BACKEND).
> gcc/objcp/
>       * Make-lang.in (cc1objplus-checksum, cc1objplus$(exeext): Add
>       $(CODYLIB) after $(BACKEND).
OK
jeff

Reply via email to