Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <Mutt.19970204095418.jlemon@right.PCS>
In-Reply-To: <199702041451.BAA24540@godzilla.zeta.org.au>; from Bruce Evans on Feb 5, 1997 01:51:14 %2B1100
References:  <199702041451.BAA24540@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970204095418.jlemon>