Skip site navigation (1)Skip section navigation (2)
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 &nbsp;</font><font size=2 face="Courier New">/usr/src/gnu/lib/csu make &amp;&amp; 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">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;kstewart@urx.com</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;&quot;Michael V. Harding&quot; &lt;mvh@corp.namesafe.com&gt;, obrien@FreeBSD.ORG, owner-freebsd-stable@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="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>
&gt;&gt;&gt; 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>
&gt;&gt;&gt; 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 &nbsp;DESTDIR=/usr/obj/usr/src/i386 &nbsp;INSTALL=</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
&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><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; &nbsp;make obj; &nbsp;make depend; &nbsp;make all; &nbsp;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 &nbsp; &nbsp;-I/usr/obj/usr/src/i386/usr/include &nbsp;/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 &nbsp;&gt;&gt; .depend</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
cc -O -pipe -Wall &nbsp; -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 &nbsp; -I/usr/obj/usr/src/i386/usr/include &nbsp;-o strfile strfile.o &nbsp;</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 &lt;kstewart@urx.com&gt;</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">&nbsp; &nbsp; &nbsp; &nbsp; </font><font size=1 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;To: &nbsp; &nbsp; &nbsp; &nbsp;&quot;Michael V. Harding&quot; &lt;mvh@corp.namesafe.com&gt;</font><font size=3 face="Times New Roman"> </font><font size=1 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;cc: &nbsp; &nbsp; &nbsp; &nbsp;obrien@FreeBSD.ORG, stable@FreeBSD.ORG</font><font size=3 face="Times New Roman"> </font><font size=1 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;Subject: &nbsp; &nbsp; &nbsp; &nbsp;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>
&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</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>