From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) by sourceware.org (Postfix) with ESMTPS id 8D2D53858D33 for ; Wed, 8 Mar 2023 22:08:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8D2D53858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rtems.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qt1-f172.google.com with SMTP id c18so34701qte.5 for ; Wed, 08 Mar 2023 14:08:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678313282; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JRzFj3NdOHRRzyaIPA0h5rlMs4kIFF5AKaSCSdbIoCw=; b=3ML6LFhw/ua5r9Zkvcdgtt3gwQfEnrrvDky4nNiU4CQ4oFWI+J/4kSC6f2jQk1U0KS xoiFRkdvErKMxZlm9ERHpx3RCd5wSRDDsWqx2UmOhqYVekw7oVDViaUw/jqy447+JLf+ I/3WXgGXVR1sQlEC3FoVoanidNRFUhgzaR9fmUWYwZiiP9w2s+W8eVTYUxSLE5dZzpVB oJ1HSeXrxz4wa1fxoSn/mSfiWcwbsQXZ+KqbSEjAm1sIVlcV0kQ91NIDW13QqHD8wVsc 06SEMMbPOhvxyHIdbnO0hCQ78W5GAAKw3cpNZN/bhnQlf134Bl4oWiy/njmF6MtEDBmC H2Mg== X-Gm-Message-State: AO0yUKU+DWFqbAczFcAZ3t4Y2s/+P3BuwiGbv7EI5Nca2BLq3xzLffT+ 8A2mioy58qrPvfFCFPURvvZhuNYqh4w= X-Google-Smtp-Source: AK7set9aNV4t+142OfNLlG69DQ5yFjjn+N0uNbiGMD/eWI8B4qUv71FYgsFdD4g/R976RDEdF+PVuw== X-Received: by 2002:a05:622a:1823:b0:3bf:bb2c:449c with SMTP id t35-20020a05622a182300b003bfbb2c449cmr35245707qtc.15.1678313282586; Wed, 08 Mar 2023 14:08:02 -0800 (PST) Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com. [209.85.219.173]) by smtp.gmail.com with ESMTPSA id d1-20020ac85ac1000000b003b9e1d3a502sm12559697qtd.54.2023.03.08.14.08.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Mar 2023 14:08:01 -0800 (PST) Received: by mail-yb1-f173.google.com with SMTP id t4so86199ybg.11 for ; Wed, 08 Mar 2023 14:08:01 -0800 (PST) X-Received: by 2002:a5b:606:0:b0:a86:eba7:c3ca with SMTP id d6-20020a5b0606000000b00a86eba7c3camr9838628ybq.1.1678313280848; Wed, 08 Mar 2023 14:08:00 -0800 (PST) MIME-Version: 1.0 References: <6a40e8de-f2c0-32a3-2bed-3a4c430f71d7@simark.ca> <84f213b6-dd2a-9618-9f92-6cef3276a72a@rtems.org> In-Reply-To: <84f213b6-dd2a-9618-9f92-6cef3276a72a@rtems.org> Reply-To: joel@rtems.org From: Joel Sherrill Date: Wed, 8 Mar 2023 15:07:42 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: GDB 13.1 and clang To: Chris Johns Cc: Simon Marchi , Eli Zaretskii via Gdb Content-Type: multipart/alternative; boundary="000000000000ed499a05f66ac241" X-Spam-Status: No, score=-3031.4 required=5.0 tests=BAYES_00,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --000000000000ed499a05f66ac241 Content-Type: text/plain; charset="UTF-8" On Wed, Mar 8, 2023, 2:41 PM Chris Johns wrote: > 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. > And it could be in other packaging systems. Mays, Cyg > Admittedly not checking but is this header installed as part of make install? I wouldn't think anyone would package something not installed. > > Rename diagnostics.h? > Works but rather awful. Is it worth a check it's installed and there's a conflict? --joel > > Chris > --000000000000ed499a05f66ac241--