Software Build Failures After Upgrade To 2.40

Florian Weimer fweimer@redhat.com
Wed Aug 14 09:57:05 GMT 2024


* LAP:

> On Mon, 12 Aug 2024 17:36:43 -0300
> Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> wrote:
>
>> 
>> It have seems similar issues with a broken bootstrap compiler, where
>> the gcc include-fixed/pthread.h does not match the ssyroot glibc
>> thread.h one because it was generated from the system header instead
>> of glibc one.
>> 
>> I don't fully recall why gcc need to post-process the glibc headers,
>> the only difference seems to be __sigsetjmp signature; but it seems
>> that to update from 2.39 to 2.40 one will need to regenerate it as
>> well.
>>
>
> Thank you very much for your response.
>
> I rebuilt gcc against the new glibc-2.40 and the reported error
> does not occur.  All software packages now build successfully.
>
> For the future, would it be advisable to rebuild gcc after each
> glibc upgrade?

Only if you use the headers from GCC's fixincludes step.

Thanks,
Florian



More information about the Libc-help mailing list