From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id C457D3858D33 for ; Thu, 9 Mar 2023 07:07:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C457D3858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paAMw-0003aT-3d; Thu, 09 Mar 2023 02:07:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=3UdABr3CJ+sayGz/YmfuzMQhjZC8ue/MM8gqYLPVs0Q=; b=YYxAqZF0nBAr 9K8GQwhRzfnNBcz/MuyR6RP/QwdkH5pOSuB1NJM33+Han3cXr2CWUj9JrDZvL4lC/AwvC52nGQwUd iKPijP8ZtKz1bHuK6zOqHxhemoLOtWPggCGDvt1zL4mfT0E1k5dCgfr2H77UQ4/Gavp/jGszSHDQs n+7a2T5Al3ICKRRmy7OEbSdAQyvU6+54xplwnghEOTUaPkmz6Vt9+h1jwx1t2oA9nbeWLJp5bMMO1 zgcw0fc28FLhHDQN35NHvYeAdbc99li4tY80SQFBtKx14VL/ltpZRb9aMBPp8mWmfsuFGrjyCM3R+ lzj902wICMCtTw3+JxzcPQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paAMv-0008KH-05; Thu, 09 Mar 2023 02:07:17 -0500 Date: Thu, 09 Mar 2023 09:07:18 +0200 Message-Id: <83sfee2yjd.fsf@gnu.org> From: Eli Zaretskii To: Simon Marchi Cc: chrisj@rtems.org, gdb@sourceware.org In-Reply-To: <6a40e8de-f2c0-32a3-2bed-3a4c430f71d7@simark.ca> (message from Simon Marchi via Gdb on Wed, 8 Mar 2023 16:36:45 -0500) Subject: Re: GDB 13.1 and clang References: <6a40e8de-f2c0-32a3-2bed-3a4c430f71d7@simark.ca> X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_BARRACUDACENTRAL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > Date: Wed, 8 Mar 2023 16:36:45 -0500 > From: Simon Marchi via Gdb > > > 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. diagnostics.h is included by bfd.h, which is installed by Binutils' "make install", so I don't think they can avoid shipping diagnostics.h. They should maybe have a separate header file for that, under some FOO_internal.h name or something, which could serve for that purpose. But this should be taken up with Binutils maintainers, of course.