From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45772 invoked by alias); 31 Jan 2020 17:17:43 -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 45764 invoked by uid 89); 31 Jan 2020 17:17:43 -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*r:4789, HX-Languages-Length:650, H*f:sk:2820a9d, H*MI:sk:2820a9d 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 17:17:42 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ixZvI-0002qF-Ma; Fri, 31 Jan 2020 12:17:40 -0500 Received: from [176.228.60.248] (port=4789 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ixZvH-0000ZG-Hq; Fri, 31 Jan 2020 12:17:40 -0500 Date: Fri, 31 Jan 2020 17:17:00 -0000 Message-Id: <83r1zfk0kf.fsf@gnu.org> From: Eli Zaretskii To: psmith@gnu.org CC: simark@simark.ca, gdb@sourceware.org In-reply-to: <2820a9d3d0c191d64f24565d583508db9c1b067f.camel@gnu.org> (message from Paul Smith on Fri, 31 Jan 2020 11:48:49 -0500) Subject: Re: GDB 8.3.1 gdbserver linker error: needs -lrt References: <06b764efa74573c9422da526f9d92aa2d9440e73.camel@gnu.org> <49c1cc4a-fe1b-8e35-b16b-76d9faec2173@simark.ca> <831rrgm5o8.fsf@gnu.org> <2820a9d3d0c191d64f24565d583508db9c1b067f.camel@gnu.org> 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/msg00087.txt.bz2 > From: Paul Smith > Cc: gdb@sourceware.org > Date: Fri, 31 Jan 2020 11:48:49 -0500 > > > Any reason why we don't use pkg-config for finding out these > > dependencies? > > I'm not sure how pkg-config helps in this situation... isn't pkg-config > used for obtaining correct options for using another package? > > In this case, we need a new library to link gdbserver directly, not > because of some other package that gdbserver depends on, so we don't > have a package that might contain a pkg-config we could use. Sorry, I thought liblzma needed -lrt. Apologies if I was confused.