From owner-freebsd-ports@FreeBSD.ORG Wed May 19 21:41:11 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 378C7106566B for ; Wed, 19 May 2010 21:41:11 +0000 (UTC) (envelope-from cyberbotx@cyberbotx.com) Received: from qmta13.emeryville.ca.mail.comcast.net (qmta13.emeryville.ca.mail.comcast.net [76.96.27.243]) by mx1.freebsd.org (Postfix) with ESMTP id 21D808FC1D for ; Wed, 19 May 2010 21:41:10 +0000 (UTC) Received: from omta03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by qmta13.emeryville.ca.mail.comcast.net with comcast id KRWH1e0040b6N64ADZhAc4; Wed, 19 May 2010 21:41:10 +0000 Received: from kirby.cyberbotx.com ([68.41.9.25]) by omta03.emeryville.ca.mail.comcast.net with comcast id KZh91e0020YQbD88PZh9cH; Wed, 19 May 2010 21:41:10 +0000 Message-ID: <4BF45AF3.9010007@cyberbotx.com> Date: Wed, 19 May 2010 17:41:07 -0400 From: Naram Qashat User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100422 Thunderbird/3.0.4 MIME-Version: 1.0 To: frank@exit.com References: <1274279724.4907.4.camel@jill.exit.com> In-Reply-To: <1274279724.4907.4.camel@jill.exit.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, pgollucci@FreeBSD.org, lwhsu@FreeBSD.org, mi@aldan.algebra.com Subject: Re: devel/gdb6* broken with new readline? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2010 21:41:11 -0000 On 05/19/10 10:35, Frank Mayhar wrote: > I'm trying to do a full upgrade of everything for the first time in a > while. After many gyrations, I've run into something that appears to > not be my fault :-): > > cc -O2 -fno-strict-aliasing -pipe -DRL_NO_COMPAT \ > -o gdb gdb.o libgdb.a \ > -lreadline ../opcodes/libopcodes.a ../bfd/libbfd.a ../libiberty/libiberty.a -lncurses -lm -L/usr/local/lib -liconv /usr/local/lib/libexpat.so -Wl,-rpath -Wl,/usr/local/lib ../libiberty/libiberty.a -lkvm > libgdb.a(tui-io.o)(.text+0x2aa): In function `tui_setup_io': > : undefined reference to `readline_echoing_p' > libgdb.a(tui-io.o)(.text+0x2b0): In function `tui_setup_io': > : undefined reference to `readline_echoing_p' > libgdb.a(tui-io.o)(.text+0x3c0): In function `tui_setup_io': > : undefined reference to `readline_echoing_p' > gmake[2]: *** [gdb] Error 1 > gmake[2]: Leaving directory `/usr/ports/devel/gdb66/work/gdb-6.6/gdb' > gmake[1]: *** [all-gdb] Error 2 > gmake[1]: Leaving directory `/usr/ports/devel/gdb66/work/gdb-6.6' > gmake: *** [all] Error 2 > *** Error code 1 > > Stop in /usr/ports/devel/gdb66. > *** Error code 1 > > It fails the same way with devel/gdb6. I did a bit of searching and > apparently this is a known problem with the latest readline that was > fixed in gdb 6.8. I had submitted a patch to update devel/gdb6 to GDB 6.8, and GDB 6.6 was repocopied to devel/gdb66, but I haven't seen any updates recently on the situation. Maybe we could look into this again, as well as the possibility of adding a devel/gdb7 port to accommodate the GDB 7.x branch? Thanks, Naram Qashat