From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by sourceware.org (Postfix) with ESMTPS id 8965D3858C60 for ; Thu, 10 Feb 2022 13:53:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8965D3858C60 X-IronPort-AV: E=McAfee;i="6200,9189,10253"; a="310231208" X-IronPort-AV: E=Sophos;i="5.88,358,1635231600"; d="scan'208";a="310231208" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2022 05:53:01 -0800 X-IronPort-AV: E=Sophos;i="5.88,358,1635231600"; d="scan'208";a="485690995" Received: from sugan-001.iul.intel.com (HELO localhost) ([172.28.48.31]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2022 05:53:00 -0800 From: Ari Hannula To: gdb-patches@sourceware.org Cc: Tim Wiederhake , Ari Hannula Subject: [PATCH 1/5] [func_call] Add possible spelling of linker error message. Date: Thu, 10 Feb 2022 14:52:39 +0100 Message-Id: <20220210135243.3127629-2-ari.hannula@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220210135243.3127629-1-ari.hannula@intel.com> References: <20220210135243.3127629-1-ari.hannula@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2022 13:53:05 -0000 From: Tim Wiederhake Seen with RHEL 7.5 and Fedora 26. gdb/testsuite/ChangeLog: 2019-02-18 Tim Wiederhake * lib/gdb.exp (gdb_compile_pthreads): Add new error regexp. Signed-off-by: Tim Wiederhake Signed-off-by: Ari Hannula --- gdb/testsuite/lib/gdb.exp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index a3717a4022..363289caa1 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -4618,6 +4618,9 @@ proc gdb_compile_pthreads {source dest type options} { set why_msg "missing threads include file" break } + ".*cannot find -lpthread.*" { + set why_msg "missing runtime threads library" + } ".*cannot open -lpthread.*" { set why_msg "missing runtime threads library" } -- 2.25.1 Intel Deutschland GmbH Registered Address: Am Campeon 10, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928