From owner-freebsd-hackers@FreeBSD.ORG Thu May 26 13:33:20 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 68CBF1065675; Thu, 26 May 2011 13:33:20 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3E52B8FC16; Thu, 26 May 2011 13:33:20 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id E6CA746B0A; Thu, 26 May 2011 09:33:19 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 836228A050; Thu, 26 May 2011 09:33:19 -0400 (EDT) From: John Baldwin To: Andriy Gapon Date: Thu, 26 May 2011 09:33:19 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <87pqn6jo33.fsf@gmail.com> <4DDE0329.9030208@FreeBSD.org> In-Reply-To: <4DDE0329.9030208@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="koi8-u" Content-Transfer-Encoding: 7bit Message-Id: <201105260933.19077.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Thu, 26 May 2011 09:33:19 -0400 (EDT) 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:33:20 -0000 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. -- John Baldwin