Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 2000 22:30:18 -0800
From:      rsowders@usgs.gov
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
Message-ID:  <OFD68C9A04.36727C6B-ON88256989.00228722@wr.usgs.gov>

next in thread | raw e-mail | index | archive | help
This is a multipart message in MIME format.
--=_alternative 0023C04A88256989_=
Content-Type: text/plain; charset="us-ascii"

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 0023C04A88256989_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">No good still broken as of</font>
<br>
<br><font size=2 face="sans-serif">I just got done re-cvsuping the src's after I deleted them all and /usr/obj, and tried another buildworld.</font>
<br><font size=2 face="sans-serif">Still broken with the following as of 22:00 PST</font>
<br>
<br><font size=2 face="sans-serif">quetzlcoatl# make buildworld</font>
<br>
<br><font size=2 face="sans-serif">--------------------------------------------------------------</font>
<br><font size=2 face="sans-serif">&gt;&gt;&gt; Rebuilding the temporary build tree</font>
<br><font size=2 face="sans-serif">--------------------------------------------------------------</font>
<br><font size=2 face="sans-serif">rm -rf /usr/obj/usr/src/i386</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/bin</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/lib/compat/aout</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/games</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/libdata/ldscripts</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/libexec/elf</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/sbin</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/share/misc</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/include/arpa</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/include/g++/std</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/include/objc</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/include/protocols</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/include/readline</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/include/rpc</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/include/rpcsvc</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/include/openssl</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/include/security</font>
<br><font size=2 face="sans-serif">mkdir -p /usr/obj/usr/src/i386/usr/include/ss</font>
<br><font size=2 face="sans-serif">ln -sf /usr/src/sys /usr/obj/usr/src/i386/sys</font>
<br>
<br><font size=2 face="sans-serif">--------------------------------------------------------------</font>
<br><font size=2 face="sans-serif">&gt;&gt;&gt; stage 1: bootstrap tools</font>
<br><font size=2 face="sans-serif">--------------------------------------------------------------</font>
<br><font size=2 face="sans-serif">cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386 &nbsp;DESTDIR=/usr/obj/usr/src/i386 &nbsp;INSTALL=</font>
<br><font size=2 face="sans-serif">&quot;sh /usr/src/tools/install.sh&quot; &nbsp;MACHINE_ARCH=i386 &nbsp;TOOLS_PREFIX=/usr/obj/usr/src/i386 &nbsp;PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sb</font>
<br><font size=2 face="sans-serif">in:/bin:/usr/sbin:/usr/bin make -f Makefile.inc1 -DNOMAN -DNOINFO -DNOHTML bootstrap-tools</font>
<br><font size=2 face="sans-serif">cd /usr/src/games/fortune/strfile; &nbsp;make obj; &nbsp;make depend; &nbsp;make all; &nbsp;make install</font>
<br><font size=2 face="sans-serif">/usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for /usr/src/games/fortune/strfile</font>
<br><font size=2 face="sans-serif">rm -f .depend</font>
<br><font size=2 face="sans-serif">mkdep -f .depend -a &nbsp; &nbsp;-I/usr/obj/usr/src/i386/usr/include &nbsp;/usr/src/games/fortune/strfile/strfile.c</font>
<br><font size=2 face="sans-serif">cd /usr/src/games/fortune/strfile; make _EXTRADEPEND</font>
<br><font size=2 face="sans-serif">echo strfile: /usr/obj/usr/src/i386/usr/lib/libc.a &nbsp;&gt;&gt; .depend</font>
<br><font size=2 face="sans-serif">cc -O -pipe -Wall &nbsp; -I/usr/obj/usr/src/i386/usr/include -c /usr/src/games/fortune/strfile/strfile.c</font>
<br><font size=2 face="sans-serif">cc -O -pipe -Wall &nbsp; -I/usr/obj/usr/src/i386/usr/include &nbsp;-o strfile strfile.o &nbsp;</font>
<br><font size=2 face="sans-serif">/usr/lib/crtbegin.o: In function `_init':</font>
<br><font size=2 face="sans-serif">/usr/lib/crtbegin.o(.init+0x0): multiple definition of `_init'</font>
<br><font size=2 face="sans-serif">/usr/lib/crti.o(.init+0x0): first defined here</font>
<br><font size=2 face="sans-serif">/usr/lib/crtbegin.o: In function `_fini':</font>
<br><font size=2 face="sans-serif">/usr/lib/crtbegin.o(.fini+0x0): multiple definition of `_fini'</font>
<br><font size=2 face="sans-serif">/usr/lib/crti.o(.fini+0x0): first defined here</font>
<br><font size=2 face="sans-serif">*** Error code 1</font>
<br>
<br><font size=2 face="sans-serif">Stop in /usr/src/games/fortune/strfile.</font>
<br><font size=2 face="sans-serif">*** Error code 1</font>
<br>
<br><font size=2 face="sans-serif">Stop in /usr/src.</font>
<br><font size=2 face="sans-serif">*** Error code 1</font>
<br>
<br><font size=2 face="sans-serif">Stop in /usr/src.</font>
<br><font size=2 face="sans-serif">*** Error code 1</font>
<br>
<br><font size=2 face="sans-serif">Stop in /usr/src.</font>
<br><font size=2 face="sans-serif">quetzlcoatl# </font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Kent Stewart &lt;kstewart@urx.com&gt;</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 07:58 PM</font>
<br><font size=1 face="sans-serif">Please respond to kstewart</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;&quot;Michael V. Harding&quot; &lt;mvh@corp.namesafe.com&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;obrien@FreeBSD.ORG, stable@FreeBSD.ORG</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;Re: Can't build stable world with recent crtin, etc. changes</font></table>
<br>
<br><font size=2 face="Courier New"><br>
<br>
&quot;Michael V. Harding&quot; wrote:<br>
&gt; <br>
&gt; I just tried to rebuild world with a recent 'cvsup' to<br>
&gt; 4.-stable and I got into an error state I could not<br>
&gt; recover from - crtbegin.o and crtin.o both have _fin<br>
&gt; defined, or something like that. &nbsp;I was able to do<br>
&gt; a buildworld and installworld, but could not then<br>
&gt; build a kernel or install a kernel. &nbsp;I was getting<br>
&gt; multiply defined symbols.<br>
&gt; <br>
&gt; Sorry about rambling but I got the machine into a<br>
&gt; bad state and am worried that this might happen to<br>
&gt; others as well. &nbsp;You may want to update UPDATING<br>
&gt; or something as this is the first time that<br>
&gt; 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 &quot;cd<br>
/usr/src/gnu/lib/csu&quot;, 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>
&gt; <br>
&gt; - Mike Harding<br>
&gt; <br>
&gt; To Unsubscribe: send mail to majordomo@FreeBSD.org<br>
&gt; with &quot;unsubscribe freebsd-stable&quot; 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 &quot;unsubscribe freebsd-stable&quot; in the body of the message<br>
</font>
<br>
<br>
--=_alternative 0023C04A88256989_=--


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?OFD68C9A04.36727C6B-ON88256989.00228722>