From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ADnkHsPyiWlvvDEAWB0awg (envelope-from ) for ; Mon, 09 Feb 2026 09:44:19 -0500 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=YAjpeOJ7; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 6B48D1E0BA; Mon, 09 Feb 2026 09:44:19 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.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,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.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 682331E08D for ; Mon, 09 Feb 2026 09:44:17 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id C51DE4CF328D for ; Mon, 9 Feb 2026 14:44:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C51DE4CF328D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1770648256; bh=tOyrrSHIjf9eH2G/VTxGP/TuEN0yM5krC3pz4H2ziqE=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=YAjpeOJ7dz13Ubspbc783ljc0AwoxRV7XnD0r7uDRS+INzuOSSyHHPsN5CXBcc0wY tIAhu5etSzZmYO9li2hXqYRdYgL4YIHGXpSAqlg2l6TM64vh/93JDYmFry4APfeL4/ YwOARoWyz7uh1nAcd5z+tEK1Y6TPywToA8DBYAoE= Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) by sourceware.org (Postfix) with ESMTPS id 008A54BB3BE7 for ; Mon, 9 Feb 2026 14:43:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 008A54BB3BE7 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 008A54BB3BE7 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1770648223; cv=pass; b=xYwrSwax2XIy/XdcMpGnJLI56PRNNVxWEs3hq7ZwrjVwZBjDWLO2VkLrRuSzcig8RU4FLqfhevkIQwl5hn66lnDcwtb2/uICwQfrLcqo3yv6UwsmyEXb5Akeq9L9QXmNLnOSgbmddPcvMSlCkJLRp2xCQUZjxFT4qyMcxLjs4SA= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1770648223; c=relaxed/simple; bh=a9VXtGaWexVQq7HY2crU2VLYHS+aBOUc8eEElspsDuw=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=gQ0QbSE8ROAsB5UBy8mTKH0Zcs1Bql3KjVdPlM4rfNVMw6wlTzhCXweYOU0QqkmsFUpHO7maGhynStEY3D3afowqrrPe6v7sOdOkLTuL68aq0nOKutoWnuiI+ixDgKh9prWFZHv8CYQwklBy4rsAKTp1rdikl1OKuu2D4hr8nBA= ARC-Authentication-Results: i=2; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 008A54BB3BE7 Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-4042905015cso1841937fac.0 for ; Mon, 09 Feb 2026 06:43:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1770648222; cv=none; d=google.com; s=arc-20240605; b=Iu9H/9Lbr5cf2/W+28yEnJXaIVdGLe147cdi8HRFSlWQha15sYdLrkPrPfP7+Tetza jMkFo/C+vOhpuHYKXnzh0+QfD3CUtJbYP/SXNaKjxxoHWyMbH156opG+KFijKEnSay85 xE7ezfydRG7BnC/FU4AnWua3Hga7AcD4Ze1/Ei5EPbZYQGAqABjCwhQTEbzssTxCuoQB ysr8wTmW2hVSrFmkoKFRr+GqIerxFXCj7uOyfek3IBk7nTsICifxAOLBH8kgm2rM23Wn bMrdvYFp3V/fy4LRJz69r4JeeG5bqA7FlPDLHfLPR+AqVJj37kHCgg35acfZKlxk6ogb maBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=yNhQ45LwKPyrxVpl8JzPT5pgqfx0mG5Hk8KiKsKJRRI=; fh=ynGihJ2hsroEURl9sTyYVcu/pAwg2sLlSa7mCXJEp0U=; b=T0EN8cDmukZj4gS51p9+H/+Xx3mKck953iTb5LGxKD4Dv2GJWyK4GjBGlzV+uteF1i fbUyQ7Y0OiWIqOszUZRyFUtrvUb3mno2zDZxwzG+gd/YFKSoQHX+L7BCQKBVZvGKLt+/ HJR15SF6Aj2GrNvr8daW5snqvTZEPt9WNdfBub9g1VcKAEE45UAyBYg3GEOSLDKhoZkO htSPySoFVFL/9MEHqehBWmn+jzyumIgVk08+urBezfmS+16JRtT9FU4svrafehNVsRXy RX4W0x+3Kt8gKrcilhsX2CnCk1aUWZV3nI8JfkFAlASjZknMu2HRjDMGH+K6EH7wK1f0 m+rQ==; darn=sourceware.org ARC-Authentication-Results: i=1; mx.google.com; arc=none X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770648222; x=1771253022; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yNhQ45LwKPyrxVpl8JzPT5pgqfx0mG5Hk8KiKsKJRRI=; b=fOs2OTiKcZ0qdbun4KNbkRkYqfhFUPp49Xft/OH/auO6MRC6R5xVQXuKugHvTkeAxd 6JlpagT/C5hH/kDJU7aMLvwSjx4Ue3wuOIXkcgAMH0hO6ZxjtiyCpNcq9i1fLdlWz9WG 2OCLDhseA1OUjyoN0GmqMDFdjuiVLujOR8Ar3GNPooHmzYhimuoT8I9jvSeeP8OzsREy j5rZx51Y6C9SGEVt66Uu6ljki4Lxq5jBPposnKqHoF/WXa5pL8wAkl5EdJZKvtIB0V5h fNzF34Ne6FR11ofS5dHQ1Hhm7WjGTmd16nGSrxMSBTtALQZqX1HsyoV1KjndPrL+O6pi IzXg== X-Forwarded-Encrypted: i=1; AJvYcCV/fyzCPuInAP/a3jD/CmPAnIVT+izSyPs8+IrpKUsVfBQrxdiYWkvcvvz5/KlFlFW2a0M=@sourceware.org X-Gm-Message-State: AOJu0YxABNS/BX5tdFNoYUpx4lzYq+xq88DQ8gOXvQf5PuoWsb2NJqhQ f2YALSw2j9eheY2uMaiRJtc1AWAPsrnd9SBrVVSVA8tOfWs1b9YZ5aBqgpgj7ofimBCxXhGPEz9 qX62JPd21WVNzOWOdxNj2f2SxxzIFok8= X-Gm-Gg: AZuq6aJIfWc2huK+hDFmi5NG8DlFKamDDEYVHo0oHi7hriCupVHdUwuXsmwn1RkiP6z r8Si8pjt/WoE6mrkjbIckBkrHTjhjVRQ6AJO+ltna+olYWooOqkCTfqy+sjKt3OCxjyvHX3YKv6 vkbA/jnTVjSOBuxhqZOqp/qH3Fmk7fRmeBC9ki33C8olhys+rjuWmqTUAZzSJxcc1tBeOmMbV/E IDQ5UczqA6fuJB/4WsEvGG3BjP5HKOHgc8YpaA8O6Hodv2+F6cDYN5oC6XdW8wABSIPZaH6eTGf uLM4 X-Received: by 2002:a05:6870:4207:b0:409:96b8:6515 with SMTP id 586e51a60fabf-40a9706d0c6mr5259587fac.48.1770648222241; Mon, 09 Feb 2026 06:43:42 -0800 (PST) MIME-Version: 1.0 References: <04de74ca-0fb9-4e8e-9d5a-41bb46269814@suse.com> In-Reply-To: Date: Mon, 9 Feb 2026 09:43:30 -0500 X-Gm-Features: AZwV_Qiyz6wpgEXsQxg4PmrEA2KnQ8hZTzpDOMGkW8mOv_ZxaoH3S-4zw-B0CYQ Message-ID: Subject: Re: Problems building gdbserver in binutils 2.46 To: Jan Beulich , Nick Clifton , GDB , Binutils Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.30 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: Tom Kacvinsky via Gdb Reply-To: Tom Kacvinsky Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" Hi, On Mon, Feb 9, 2026 at 7:20=E2=80=AFAM Tom Kacvinsky w= rote: > Hi, > > On Mon, Feb 9, 2026 at 2:45=E2=80=AFAM Jan Beulich wr= ote: > >> On 08.02.2026 16:34, Tom Kacvinsky wrote: >> > Using CentOS 70 - which has glibc 2.17 and kernel 3.10.0 - and using t= he >> > tool chains >> > >> > GCC 12.1.0 >> > binutils 2.39 >> > libtool 2.47 >> > >> > and then building binutil 2.46 from source without specifying >> > --disable-gdbserver, I got this build error >> >> Doesn't this point at a (long-standing) regression in how branching is >> done? >> Up to 2.24 gdb*/ weren't part of the branches, hence such an issue >> couldn't >> arise. >> >> I assume you would observe the same when building on the master branch; >> there >> the issue wants dealing with on the gdb side then; Cc-ing the correct >> list. >> > > Yes, I switched to the master branch (from binutils-2_46) and the problem= s > exists > there, too. > > So what I do being that I only want gas and ld, I configure with > > ../binutils-gdb/configure --prefix=3D${BINUTILS_PREFIX} \ > > --disable-gdb \ > > --disable-gdbserver \ > > --disable-gprof \ > > --disable-gprofng \ > > --enable-multilib > > > and then the build completes. > > I did note that PTRACE_GET_THREAD_AREA is available in glibc 2.31 (on my openSUSE Leap 15.5 VM). Not sure which glibc version introduced that. If Google's AI overview can be trusted, it says that PTRACE_TYPE_ARG1 is supposed to be auto-detected/set by configure. I looked at the configure scripts and did not see a "#define PTRACE_TYPE_ARG1 ..." Tom