Date: Mon, 30 Oct 2000 23:06:04 -0800 From: Kent Stewart <kstewart@urx.com> To: rsowders@usgs.gov Cc: "Michael V. Harding" <mvh@corp.namesafe.com>, obrien@FreeBSD.ORG, owner-freebsd-stable@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Re: Can't build stable world with recent crtin, etc. changes Message-ID: <39FE6F5C.215EBA46@urx.com> References: <OF32FFEE33.CEA833B0-ON88256989.00246779@wr.usgs.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
rsowders@usgs.gov wrote: > > Forgot to mention that cd /usr/src/gnu/lib/csu make && make install > is a good > work around ,thanks to Kent Stewart, and will continue the build, > but the > initial problem still remains. I have two machines that I am using for testing. The first had this problem because I hit the source before O'Brien fixed .../csu/Makefile. The second machine was cvsup'ed after I had a good kernel and installworld on the first machine and has had no problems building through this area. If you used a script to do the buildworld > kernel > installworld and it failed but continued, you can have real problems. Kent > > rsowders@usgs.gov > Sent by: To: > owner-freebsd-stable@FreeBSD.ORG kstewart@urx.com > cc: "Michael V. > 10/30/2000 10:30 PM Harding" <mvh@corp.namesafe.com>, > obrien@FreeBSD.ORG, > owner-freebsd-stable@FreeBSD.ORG, > stable@FreeBSD.ORG > Subject: Re: Can't > build stable world with recent > crtin, etc. changes > > No good still broken as of > > I just got done re-cvsuping the src's after I deleted them all and > /usr/obj, and tried another buildworld. > Still broken with the following as of 22:00 PST > > quetzlcoatl# make buildworld > > -------------------------------------------------------------- > >>> Rebuilding the temporary build tree > -------------------------------------------------------------- > rm -rf /usr/obj/usr/src/i386 > mkdir -p /usr/obj/usr/src/i386/usr/bin > mkdir -p /usr/obj/usr/src/i386/usr/lib/compat/aout > mkdir -p /usr/obj/usr/src/i386/usr/games > mkdir -p /usr/obj/usr/src/i386/usr/libdata/ldscripts > mkdir -p /usr/obj/usr/src/i386/usr/libexec/elf > mkdir -p /usr/obj/usr/src/i386/usr/sbin > mkdir -p /usr/obj/usr/src/i386/usr/share/misc > mkdir -p /usr/obj/usr/src/i386/usr/include/arpa > mkdir -p /usr/obj/usr/src/i386/usr/include/g++/std > mkdir -p /usr/obj/usr/src/i386/usr/include/objc > mkdir -p /usr/obj/usr/src/i386/usr/include/protocols > mkdir -p /usr/obj/usr/src/i386/usr/include/readline > mkdir -p /usr/obj/usr/src/i386/usr/include/rpc > mkdir -p /usr/obj/usr/src/i386/usr/include/rpcsvc > mkdir -p /usr/obj/usr/src/i386/usr/include/openssl > mkdir -p /usr/obj/usr/src/i386/usr/include/security > mkdir -p /usr/obj/usr/src/i386/usr/include/ss > ln -sf /usr/src/sys /usr/obj/usr/src/i386/sys > > -------------------------------------------------------------- > >>> stage 1: bootstrap tools > -------------------------------------------------------------- > cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386 > DESTDIR=/usr/obj/usr/src/i386 INSTALL= > "sh /usr/src/tools/install.sh" MACHINE_ARCH=i386 > TOOLS_PREFIX=/usr/obj/usr/src/i386 > PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sb > > in:/bin:/usr/sbin:/usr/bin make -f Makefile.inc1 -DNOMAN -DNOINFO > -DNOHTML bootstrap-tools > cd /usr/src/games/fortune/strfile; make obj; make depend; make > all; make install > /usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for > /usr/src/games/fortune/strfile > rm -f .depend > mkdep -f .depend -a -I/usr/obj/usr/src/i386/usr/include > /usr/src/games/fortune/strfile/strfile.c > cd /usr/src/games/fortune/strfile; make _EXTRADEPEND > echo strfile: /usr/obj/usr/src/i386/usr/lib/libc.a >> .depend > cc -O -pipe -Wall -I/usr/obj/usr/src/i386/usr/include -c > /usr/src/games/fortune/strfile/strfile.c > cc -O -pipe -Wall -I/usr/obj/usr/src/i386/usr/include -o strfile > strfile.o > /usr/lib/crtbegin.o: In function `_init': > /usr/lib/crtbegin.o(.init+0x0): multiple definition of `_init' > /usr/lib/crti.o(.init+0x0): first defined here > /usr/lib/crtbegin.o: In function `_fini': > /usr/lib/crtbegin.o(.fini+0x0): multiple definition of `_fini' > /usr/lib/crti.o(.fini+0x0): first defined here > *** Error code 1 > > Stop in /usr/src/games/fortune/strfile. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > quetzlcoatl# > > Kent Stewart <kstewart@urx.com> > Sent by: To: "Michael V. > owner-freebsd-stable@FreeBSD.ORG Harding" <mvh@corp.namesafe.com> > > 10/30/2000 07:58 PM cc: > Please respond to kstewart obrien@FreeBSD.ORG, > stable@FreeBSD.ORG > Subject: Re: Can't > build stable world with recent > crtin, etc. changes > > "Michael V. Harding" wrote: > > > > I just tried to rebuild world with a recent 'cvsup' to > > 4.-stable and I got into an error state I could not > > recover from - crtbegin.o and crtin.o both have _fin > > defined, or something like that. I was able to do > > a buildworld and installworld, but could not then > > build a kernel or install a kernel. I was getting > > multiply defined symbols. > > > > Sorry about rambling but I got the machine into a > > bad state and am worried that this might happen to > > others as well. You may want to update UPDATING > > or something as this is the first time that > > I have ever been locked up by an upgrade... > > Hi Mike, > > O'Brien's current changes (0226 GMT - 31 Oct) seem to have fixed > this > problem. I can't say have because my system is still doing the > buildworld but it is well past where the error was first > encountered. > > You need to re-cvsup to get the updated makefile and then start your > build world over again. You may also have to "cd > /usr/src/gnu/lib/csu", which is where this code is stored, and do a > make and make install to get around the problem. > > I'm still running everything from KDE-2, so it hasn't taken my > system > down or anything. > > Kent > > > > > - Mike Harding > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-stable" in the body of the message > > -- > Kent Stewart > Richland, WA > > mailto:kbstew99@hotmail.com > http://kstewart.urx.com/kstewart/index.html > FreeBSD News http://daily.daemonnews.org/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ 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?39FE6F5C.215EBA46>