[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Problem with running simple pthreads program under gdb-7.2
From:       John Baldwin <jhb () freebsd ! org>
Date:       2011-05-27 11:43:32
Message-ID: 201105270743.32725.jhb () freebsd ! org
[Download RAW message or body]

On Thursday, May 26, 2011 8:03:19 pm Raphael Kubo da Costa wrote:
> Andriy Gapon <avg@FreeBSD.org> writes:
> 
> > 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.
> 
> Thanks, removing readline from ports worked like a charm after I
> recompiled devel/gdb. Installing it from the package still doesn't work,
> though.
> 
> Shouldn't the hack in the port be reversed, ie. if readline from ports
> is installed the port is marked as BROKEN?

Well, if you have readline from ports but don't have binutils in ports it 
actually works ok.

No idea why the package built in the package cluster is busted though.

-- 
John Baldwin
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic