Date: Thu, 18 Nov 2004 09:34:22 +0200 From: Ruslan Ermilov <ru@ip.net.ua> To: Lars Eighner <eighner@io.com> Cc: stable@FreeBSD.org Subject: Re: Can't build STABLE from 5.2.1 Message-ID: <20041118073422.GA60273@ip.net.ua> In-Reply-To: <20041118001443.Y30649@goodwill.io.com> References: <20041118022708.5654043D53@mx1.FreeBSD.org> <20041118001443.Y30649@goodwill.io.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 18, 2004 at 12:26:15AM -0600, Lars Eighner wrote: > I cannot seem to build STABLE. > > > This is the output of uname -a > > FreeBSD goodwill.io.com 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #0: > Mon Mar 29 00:37:36 CST 2004 > toor@goodwill.io.com:/usr/obj/usr/src/sys/GENERIC i386 > > > Here is what happens when I try to buildworld. > > I have completely ripped out /usr/src and re-cvsupped several > times. > The problem is not with your /usr/src, but with an installed bits. > -------------------------------------------------------------- > >>> stage 1.2: bootstrap tools > -------------------------------------------------------------- > cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386 INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/i386 MAKEFLAGS="-m /usr/src/tools/build/mk -m /usr/src/share/mk" /usr/obj/usr/src/make.i386/make -f Makefile.inc1 DESTDIR= BOOTSTRAPPING=0 -DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS bootstrap-tools > ===> games/fortune/strfile > /usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for /usr/src/games/fortune/strfile > rm -f .depend > mkdep -f .depend -a -D__FBSDID=__RCSID -I/usr/obj/usr/src/i386/legacy/usr/include /usr/src/games/fortune/strfile/strfile.c > echo strfile: /usr/lib/libc.a /usr/obj/usr/src/i386/legacy/usr/lib/libegacy.a >> .depend > cc -O -pipe -D__FBSDID=__RCSID -I/usr/obj/usr/src/i386/legacy/usr/include -c /usr/src/games/fortune/strfile/strfile.c > cc -O -pipe -D__FBSDID=__RCSID -I/usr/obj/usr/src/i386/legacy/usr/include -static -L/usr/obj/usr/src/i386/legacy/usr/lib -o strfile strfile.o -legacy > /usr/lib/crt1.o: In function `_start': > /usr/lib/crt1.o(.text+0x64): undefined reference to `_init_tls' > *** Error code 1 > > Stop in /usr/src/games/fortune/strfile. > *** Error code 1 Bootstrap tools are built using the host (installed) tools (compiler, binutils, headers, libraries). It may be that you somehow updated your /usr/lib/crt1.o without updating libc. Either do a binary upgrade, or recover the contents of /usr/lib from 5.2.1 and try again. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041118073422.GA60273>