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