From owner-freebsd-bugs Tue Feb 4 07:55:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA22622 for bugs-outgoing; Tue, 4 Feb 1997 07:55:00 -0800 (PST) Received: from sumatra.americantv.com (sumatra.americantv.com [199.184.181.250]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA22616 for ; Tue, 4 Feb 1997 07:54:54 -0800 (PST) Received: from right.PCS (right.pcs. [148.105.10.31]) by sumatra.americantv.com (8.7.6/8.7.3) with ESMTP id KAA27410; Tue, 4 Feb 1997 10:10:41 -0600 (CST) Received: (jlemon@localhost) by right.PCS (8.6.13/8.6.4) id PAA12370; Tue, 4 Feb 1997 15:54:19 GMT Message-ID: Date: Tue, 4 Feb 1997 09:54:18 -0600 From: jlemon@americantv.com (Jonathan Lemon) To: bde@zeta.org.au (Bruce Evans) Cc: bugs@FreeBSD.org Subject: Re: gdb/libiberty failure References: <199702041451.BAA24540@godzilla.zeta.org.au> X-Mailer: Mutt 0.56e Mime-Version: 1.0 In-Reply-To: <199702041451.BAA24540@godzilla.zeta.org.au>; from Bruce Evans on Feb 5, 1997 01:51:14 +1100 Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Bruce Evans writes: > >-current falls over on building dependencies on gdb/libiberty. > > It works fine in -current here. > > >.bin/gdb/libiberty/Makefile.usr.bin.gdb.libiberty.Makefile /usr/tuna/src/gnu/usr > >*** gnu.usr.bin.gdb.libiberty.Makefile Mon Feb 3 15:37:51 1997 > >--- /usr/tuna/src/gnu/usr.bin/gdb/libiberty/Makefile Mon Feb 3 16:16:38 1997 > >*************** > >*** 5,12 **** > > > > SRCS= argv.c basename.c concat.c cplus-dem.c fdmatch.c getopt.c \ > > getopt1.c getruntime.c hex.c floatformat.c obstack.c spaces.c \ > >! strerror.c strsignal.c vasprintf.c xatexit.c xexit.c \ > >! xmalloc.c xstrdup.c xstrerror.c insque.c > > > > CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../gdb/. > > NOPROFILE=no > >--- 5,11 ---- > > > > SRCS= argv.c basename.c concat.c cplus-dem.c fdmatch.c getopt.c \ > > getopt1.c getruntime.c hex.c floatformat.c obstack.c spaces.c \ > >! insque.c > > > > CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../gdb/. > > NOPROFILE=no > > However, it shouldn't be using all that cruft, especially vasprintf(), > which was nuked in the old gdb when a better version was put in the > library. > > There seems to be a linkage bug. vasprintf.o from liberty.a is used, > but strerror.o from liberty.a is not used - the standard (shared) version > is used instead. I would have expected the (broken) behaviour for > strerror.o in both cases. Well, the Makefile in gnu/usr.bin/gdb/libiberty is looking for those sources in src/contrib/gdb/libiberty, but they no longer exist. The last cvsup run that I did last night (2/3/97, about 4:00 CST) actually deleted the sources in question from contrib/gdb/libiberty. -- Jonathan