From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 2fUlNOwAvmi8/TEAWB0awg (envelope-from ) for ; Sun, 07 Sep 2025 18:02:20 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=sergiodj.net header.i=@sergiodj.net header.a=rsa-sha256 header.s=20160602 header.b=ld9dGkhi; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id D0F631E0BA; Sun, 07 Sep 2025 18:02:20 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 9E5061E047 for ; Sun, 07 Sep 2025 18:02:19 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 00F1B3858D3C for ; Sun, 7 Sep 2025 22:02:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 00F1B3858D3C Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=sergiodj.net header.i=@sergiodj.net header.a=rsa-sha256 header.s=20160602 header.b=ld9dGkhi Received: from mail.sergiodj.net (mail.sergiodj.net [IPv6:2a01:4f8:13a:6e8:160::1]) by sourceware.org (Postfix) with UTF8SMTPS id 0F71C3858D1E for ; Sun, 7 Sep 2025 22:01:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0F71C3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=sergiodj.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=sergiodj.net ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0F71C3858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a01:4f8:13a:6e8:160::1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757282510; cv=none; b=B87nTVLl1SPxiOlp7B8PTHNMQ+k15HPa6/ZWs5jRqZho8F/uPS0eKXf56iqP1nOb+KkW5bAkpdWlyggKf/2iVg3AGtzdUs9JHaNCxNcrzPN4WD/YkDv+ew3SKZWoSFb6cgvHAKS8GS+rKRv2DSRLk1YJNkwS9seEWFw6dzz4Jj4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757282510; c=relaxed/simple; bh=37bC6nvXCISPbq5+Cfagk0r0/120DIsJbRkoOI23B2I=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=wKVTq/HwxcwIq/gax6fUAaIafxzinXz8vkvGjAjclpfm5gnb9trsJFnxUZT60BsGVG+LnOh7Za7bRKUzc7BMf7b8EBGnn3Xn9qz5/QlwCKG224UQciZzAsrviVZyTPY6P4y7ICQyirEHNpJ4r4wk21odcf1pbBMKcYmvMk0eE/w= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F71C3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sergiodj.net; s=20160602; t=1757282509; bh=37bC6nvXCISPbq5+Cfagk0r0/120DIsJbRkoOI23B2I=; h=From:To:Cc:Subject:Date:From; b=ld9dGkhihXUsTVEzAZjqyWCgCRksmS/n5hYdO2HYHd2pzaN+7AQF06dn56YcM1gXu YJQVcNvq3gQWhW/TpUXmOxMekYLvK9TODKh2zsZF4zy6SV5kwAXnP1oSrU8qlhFU7s 8GkaRcqhe2+1GZYaeiUdjIcz8qIPKWz/qyRjACkE= Received: from localhost (unknown [IPv6:2607:f2c0:edc1:fc00:c32d:a22c:1023:4f37]) by mail.sergiodj.net (Postfix) with UTF8SMTPSA id C1A6AA61912; Sun, 07 Sep 2025 18:01:48 -0400 (EDT) From: Sergio Durigan Junior To: GDB Patches Cc: Kevin Buettner , Sergio Durigan Junior Subject: [PATCH] gdb: Add svr4-tls-tdep.o to list of objects of i*86 targets Date: Sun, 7 Sep 2025 18:01:35 -0400 Message-ID: <20250907220135.3746141-1-sergiodj@sergiodj.net> X-Mailer: git-send-email 2.50.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org GDB currently fails to build from source on i386 if compiled with --enable-64-bit-bfd. This is happening because svr4-tls-tdep.o is missing from the gdb_target_obs variable, while amd64-linux-tdep.o is obviously there. Fix the problem by adding svr4-tls-tdep.o to the object list, but only when --enable-64-bit-bfd is provided. Signed-off-by: Sergio Durigan Junior Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33399 --- gdb/configure.tgt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/configure.tgt b/gdb/configure.tgt index f33d3de9214..34ae5036340 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -326,7 +326,7 @@ i[34567]86-*-linux*) arch/x86-linux-tdesc-features.o" if test "x$have_64_bit_bfd" = "xyes"; then # Target: GNU/Linux x86-64 - gdb_target_obs="amd64-linux-tdep.o \ + gdb_target_obs="amd64-linux-tdep.o svr4-tls-tdep.o \ arch/amd64-linux-tdesc.o ${gdb_target_obs}" fi ;; -- 2.50.1