From owner-freebsd-hackers@FreeBSD.ORG Thu May 26 13:36:37 2011 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D78B106564A; Thu, 26 May 2011 13:36:37 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 780428FC0C; Thu, 26 May 2011 13:36:36 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA20839; Thu, 26 May 2011 16:36:35 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4DDE5762.8060901@FreeBSD.org> Date: Thu, 26 May 2011 16:36:34 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110504 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: John Baldwin References: <87pqn6jo33.fsf@gmail.com> <4DDE0329.9030208@FreeBSD.org> <201105260933.19077.jhb@freebsd.org> In-Reply-To: <201105260933.19077.jhb@freebsd.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org, Raphael Kubo da Costa Subject: Re: Problem with running simple pthreads program under gdb-7.2 (Invalid selected thread) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2011 13:36:37 -0000 on 26/05/2011 16:33 John Baldwin said the following: > On Thursday, May 26, 2011 3:37:13 am Andriy Gapon wrote: >> on 26/05/2011 03:35 Raphael Kubo da Costa said the following: >>> If I compile the port myself, I can't run any binary (PR ports/152896, >>> which has been unanswered despite my efforts): >>> >>> Reading symbols from /usr/local/bin/gdb72...I'm sorry, Dave, I can't >>> do that. Symbol format `elf64-x86-64-freebsd' unknown. >>> >> >> This is a somewhat known issue that John was going to fix a while ago. > > Actually, it's not really fixable if you have libreadline installed from ports > and binutils installed from ports. I'd like to just remove the hack to use > libreadline from ports if possible. I referred to this option as a fix. -- Andriy Gapon