From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22070 invoked by alias); 31 Jan 2020 07:44:32 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 22062 invoked by uid 89); 31 Jan 2020 07:44:32 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=H*MI:sk:f229a4d, H*f:sk:f229a4d X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 31 Jan 2020 07:44:31 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ixQya-0003p9-VK; Fri, 31 Jan 2020 02:44:29 -0500 Received: from [176.228.60.248] (port=1040 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ixQya-0000u0-4v; Fri, 31 Jan 2020 02:44:28 -0500 Date: Fri, 31 Jan 2020 07:44:00 -0000 Message-Id: <831rrgm5o8.fsf@gnu.org> From: Eli Zaretskii To: Simon Marchi CC: psmith@gnu.org, gdb@sourceware.org In-reply-to: (message from Simon Marchi on Thu, 30 Jan 2020 17:49:59 -0500) Subject: Re: GDB 8.3.1 gdbserver linker error: needs -lrt References: <06b764efa74573c9422da526f9d92aa2d9440e73.camel@gnu.org> <49c1cc4a-fe1b-8e35-b16b-76d9faec2173@simark.ca> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00084.txt.bz2 > From: Simon Marchi > Date: Thu, 30 Jan 2020 17:49:59 -0500 > > >> That would work around the problem, but if you want to fix it for > >> good, for all users in the same situation, then it would probably > >> require a patch to configure.ac, to add "-lrt" to LIBS when needed. > > > > Yes, definitely... that's why I posted the message :). > > > Sorry I can't be of more help, I'm probably as (or more) confused by the > situation as you are. Any reason why we don't use pkg-config for finding out these dependencies?