Re: [PATCH] Fix C99 compatibility issues in embedded copy of GDB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2023/02/28 19:56, Florian Weimer wrote:
>>> I raised the issue of <sys/cdefs.h> syncing here:
>>>
>>>     Updating <sys/cdefs.h> in glibc and gnulib
>>>     <https://sourceware.org/pipermail/libc-alpha/2023-February/145758.html>
> 
> Regarding cdefs.h, there's another aspect that I had missed when I wrote
> the aboce: for future 2.34-based distros (CentOS 9 Stream today, Red Hat
> Enterprise Linux 9.2 when it comes out), I believe the gnulib/glibc
> cdefs.h handshake has been fixed with a glibc change: the glibc header
> now defines the __attribute_nonnull__ macro, which gnulib uses as an
> indicator that the header is recent enough, so it won't interpose its
> own version.  So hopefully this is going to be more stable in the
> future, and future such syncs become less necessary.

Good, thanks for the info.

>> True, but there is no plan to update the embedded GDB for now and it
>> would be better to sync with the upstream code just in case, so I've
>> updated some hunks like so.  Does the attached patch work for you?
> 
> I can confirm this patch passes build testing with an instrumented
> compiler that logs C99 compatibility issues.

Thanks again for testing, will apply it when Lianbo acks.

Thanks,
Kazu
--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/crash-utility
Contribution Guidelines: https://github.com/crash-utility/crash/wiki




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux