Date: Wed, 5 Feb 1997 01:51:14 +1100 From: Bruce Evans <bde@zeta.org.au> To: bugs@freebsd.org, jlemon@americantv.com Subject: Re: gdb/libiberty failure Message-ID: <199702041451.BAA24540@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>-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. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702041451.BAA24540>