From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2181 Path: news.gmane.org!not-for-mail From: John Spencer Newsgroups: gmane.linux.lib.musl.general Subject: Re: Problem Compiling gdbserver with musl Date: Sun, 21 Oct 2012 16:24:52 +0200 Message-ID: <508405B4.40507@barfooze.de> References: <50815B8A.3070109@barfooze.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1350829525 5133 80.91.229.3 (21 Oct 2012 14:25:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Oct 2012 14:25:25 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2182-gllmg-musl=m.gmane.org@lists.openwall.com Sun Oct 21 16:25:33 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TPwT6-0000bW-05 for gllmg-musl@plane.gmane.org; Sun, 21 Oct 2012 16:25:32 +0200 Original-Received: (qmail 28070 invoked by uid 550); 21 Oct 2012 14:25:23 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 28062 invoked from network); 21 Oct 2012 14:25:23 -0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Mail/1.0 In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:2181 Archived-At: On 10/21/2012 11:19 AM, Brian Wang wrote: > On Fri, Oct 19, 2012 at 9:54 PM, John Spencer wrote: >> >> hello brian, please forward your bug report to gdb mailing list. >> clearly gdb devs should check if these facilities are available before using >> them. >> we must raise awareness of such issues upstream. > I guess gdb development is somehow tightly coupled with glibc, which > supplies libthread_db. > I remember seeing similar issues reported: > http://sourceware.org/bugzilla/show_bug.cgi?id=13011 > gdb is supposed to be usable on multiple archs and platforms; but apparently they think linux == glibc; which is clearly not always the case. the lwp_info and THREADDB stuff is used unconditionally, even though they checked for HAVE_THREADDB_H during configure. it would definitely help if they get your bug report, even if it serves just a reminder that GNU is not alone out there. once the critical mass of bug reports is reached, they will finally fix these issues. heck, even if they removed the braindead -Werror-by-default, this would be a big improvement.