From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id kPqVJcSFCWRypgkAWB0awg (envelope-from ) for ; Thu, 09 Mar 2023 02:07:48 -0500 Received: by simark.ca (Postfix, from userid 112) id 97D961E223; Thu, 9 Mar 2023 02:07:48 -0500 (EST) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=xZ3JY9g+; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RDNS_DYNAMIC,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 91DA51E0D3 for ; Thu, 9 Mar 2023 02:07:47 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5D27A3858D37 for ; Thu, 9 Mar 2023 07:07:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5D27A3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678345666; bh=3UdABr3CJ+sayGz/YmfuzMQhjZC8ue/MM8gqYLPVs0Q=; h=Date:To:Cc:In-Reply-To:Subject:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=xZ3JY9g+KBxPkuVZPMmB1pqFocVwgy3hCnv8/Dpm0A2ajkNTT4G5cy+SGK2D98BVZ pO3TTaBDCarMNReGtADwN2/TumYetci+ngEnA8mrEuebxTO/woUlZsqntNpqyU0rAu ZM7J40oEAymAezd7kP9Zdt1gReKJvAKwjvXkSHd0= 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 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 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> 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-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Eli Zaretskii via Gdb Reply-To: Eli Zaretskii Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" > 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.