Date: Mon, 18 Sep 2000 14:59:38 -0400 From: "Charles N. Owens" <owensc@enc.edu> To: Joe Christy <joe@digital-integrity.com>, freebsd-stable@freebsd.org Subject: Re: update 3.3 => 4.1 buildworld dies Message-ID: <39C6661A.362F2C40@enc.edu> References: <200009171606.e8HG6oE05354@whimper.dii.local>
next in thread | previous in thread | raw e-mail | index | archive | help
The advice that I've seen suggests that to upgrade to RELENG_4 from 3.x these days you need to be at least at 3.4, if not 3.5.x . cno Joe Christy wrote: > Upgrading my i386 box from 3.3-RELEASE to 4.1-RELEASE, > cvsup'ed last night, buildworld dies compiling the GNU binutils' > objdump: > > [from log of make buildworld] > cc -O -pipe -D_GNU_SOURCE -I- -I. -I/usr/src/gnu/usr.bin/binutils/objdump -I/usr/src/gnu/usr.bin/binutils/objdump/../libbfd/i386 -I/usr/src/gnu/usr.bin/binutils/objdump/../../../../contrib/binutils/include -I/usr/src/gnu/usr.bin/binutils/objdump/../libbinutils -I/usr/src/gnu/usr.bin/binutils/objdump/../../../../contrib/binutils/binutils -DBFD_VERSION=\"2.10.0\" -I/usr/obj/usr/src/i386/usr/include -o objdump objdump.o prdbg.o ../libbinutils/libbinutils.a ../libopcodes/libopcodes.a ../libbfd/libbfd.a ../libiberty/libiberty.a > ../libiberty/libiberty.a(choose-temp.o): In function `make_temp_file': > choose-temp.o(.text+0x264): undefined reference to `mkstemps' > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > *** Error code 1 > > A litle digging reveals that mkstemps.o isn't being built into > libiberty.a, or for that matter being listed as a dependency for > libiberty.a.: > > elegba(libiberty)# pwd > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/binutils/libiberty > elegba(libiberty)# ls > .depend cplus-dem.o getopt1.o objalloc.o xatexit.o > argv.o fdmatch.o getruntime.o obstack.o xexit.o > basename.o floatformat.o hex.o spaces.o xmalloc.o > choose-temp.o fnmatch.o insque.o strerror.o xstrdup.o > concat.o getopt.o libiberty.a strsignal.o xstrerror.o > elegba(libiberty)# grep mkstemp .depend > elegba(libiberty)# > > It looks like the makedep isn't doing the right thing: > > [from earlier in the +log of make buildworld] > ===> libiberty > rm -f .depend > mkdep -f .depend -a -D_GNU_SOURCE -I- -I. -I/usr/src/gnu/usr.bin/binutils/libiberty -I/usr/src/gnu/usr.bin/binutils/libiberty/../libbfd/i386 -I/usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/include -DHAVE_CONFIG_H -I/usr/obj/usr/src/i386/usr/include /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/argv.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/basename.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/choose-temp.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/concat.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/cplus-dem.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/fdmatch.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/fnmatch.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getopt.c! ! > /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getopt1.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/getruntime.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/hex.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/floatformat.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/objalloc.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/obstack.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/spaces.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/strerror.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/strsignal.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/xatexit.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/xexit.c /usr/! ! > src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/xmalloc.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/xstrdup.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/xstrerror.c /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/insque.c > cd /usr/src/gnu/usr.bin/binutils/libiberty; make _EXTRADEPEND > > I'm not very familiar with the layouts of the various > makefiles. Can anyone tell me how to coerce makedep into behaving on > libiberty? > > Joe > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- ------------------------------------------------------------------------- Charles N. Owens Email: owensc@enc.edu http://www.enc.edu/~owensc Network & Systems Administrator Information Technology Services "Outside of a dog, a book is a man's Eastern Nazarene College best friend. Inside of a dog it's too dark to read." - Groucho Marx ------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39C6661A.362F2C40>