From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ZBdaOj18wWr51zEAWB0awg (envelope-from ) for ; Sat, 03 Oct 2026 18:05:49 -0400 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=aGrw7tRb; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id DC20C1E047; Sat, 03 Oct 2026 18:05:49 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 6D4DE1E047 for ; Sat, 03 Oct 2026 18:05:49 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 672274BA7997 for ; Sat, 3 Oct 2026 22:05:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 672274BA7997 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1791065148; bh=/0lUeNoTBuI/BApYDBKPbZgJ+bj1GUpOlfDbauuO2sw=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=aGrw7tRbBmJIbwV9LBzsGvxnaCqNfa9cH9i9XlJCEMTcS7jk+EuyTD8boUReI440/ /+MQmaDf3ETf+SbFxQBwjvOhwX/Q1to3zQ0v8llJitgA/gOJzvccB52EDP9I1K3VK6 0LQYdOZIvP04PNzg6sX4oPe85yLHHO2h5eCJ5vPE= Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 713A74BA23C2 for ; Sat, 3 Oct 2026 22:05:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 713A74BA23C2 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 713A74BA23C2 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1791065116; cv=none; b=kJpB3OSMzI+6zzVpzxL8NxqwpoRCRwqteBU+vwaqHdwpFt270PTbRSpCTc7H0GnTCu3OIEMzYU1CqFiq6+hq7c2axXo/yw/m065ZDOYRbxmGZ+GNqlfXmYh/6y/cIHae7M9UFZP73gO7lPrXRnhbGqfMVAsZ4JMpNElyvKaJG5U= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1791065116; c=relaxed/simple; bh=eh6MAdlolgoU3WrF3JI0D9RP2JZ4RxU3MyoslZiXspo=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=sX4yvLSiwhg9RWxNWsNrZm7Ku2DXSRQJND1tZfvJtSDjpuZcoPUK/l0Gn1jIVM20BT9xiwaWUb0FGztLB6Lq5eC1QVSaHa7Vy10znTOf/VxvNk8npBAbJ1RyKAeNDcM/CrC8iqqUnsnFoFEw0DfXuyOkTAl1kHMp1h0XEUQFKOA= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=YDoetAv5 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 713A74BA23C2 Received: by simark.ca (Postfix) id D08251E047; Sat, 03 Oct 2026 18:05:12 -0400 (EDT) Message-ID: <07d991a7-0605-4178-bc04-0fb0a4fd0f52@simark.ca> Date: Sat, 3 Oct 2026 18:05:12 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Problems building GC 18.1 on CentOS 7 To: Tom Kacvinsky , GDB References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Simon Marchi via Gdb Reply-To: Simon Marchi Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" On 2026-10-03 15:18, Tom Kacvinsky via Gdb wrote: > Hi, > > I found a few issues with building GDB 18.1 on CentOS 7, using > GCC 16.1.0 (which I had built from source) They are two fold > > 1. An issue with ./gdb/tui/tui-io.c using macro define(s) that the > system curses headers don't provide. > > 2. An issue with ptrace macro define(s) that are provided in glibc > 2.18 or later, but not on CentOS 7, which is glibc 2.17 based. > > I used Claude Opus 5 to generate a patch and manually inspected it. > I am not sure what the GDB policy is for AI assisted patches. > > I will get the exact compilation failures and the patch to the list on > Monday. To be honest, when it comes to the patch, I think I need to > be mindful that I am building on Linux (via __linux__), using GCC > (via __GNU__) and the glibc version is less than 2.18 using > __GLIBC_PREREQ from features.h > > Regards, > > Tom Hi Tom, Could you please open a bug on Bugzilla? https://sourceware.org/bugzilla/ If we are going to make a fix targetting 18.2, we will need a bug number attached in any case. Thanks, Simon