Re: GDB 13.1 and clang

Chris Johns
2023-03-08T21:41:50Z

On 9/3/2023 6:36 am, Simon Marchi wrote:
>> There is another version installed here:
>>
>> $ pkg which /usr/local/include/diagnostics.h
>> /usr/local/include/diagnostics.h was installed by package binutils-2.37_2,1
>>
>> We have /usr/local/include early in the include list on FreeBSD to pick up some
>> of the required libraries installed as packages. I will check for a package
>> update or I revisit the build flags to see how it can be handled.
> Huh, diagnostics.h is an internal header file, I don't think binutils
> packages should ship it. I just looked up, and Ubuntu and Arch packages
> ship it as well... sigh.

Ah, that is awkward as removing it from shipped packages is something we cannot
reach back and fix.

Rename diagnostics.h?

Chris