From owner-freebsd-stable Tue Oct 31 17:30:35 2000 Delivered-To: freebsd-stable@freebsd.org Received: from teapot28.domain6.bigpond.com (teapot28.domain6.bigpond.com [139.134.5.197]) by hub.freebsd.org (Postfix) with SMTP id B3DA037B4D7 for ; Tue, 31 Oct 2000 17:30:28 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by teapot28.domain6.bigpond.com (NTMail 3.02.13) with ESMTP id ja369911 for ; Wed, 1 Nov 2000 11:30:14 +1000 Received: from WEBH-T-005-p-152-228.tmns.net.au ([203.54.152.228]) by mail6.bigpond.com (Claudes-Top-Fuel-MailRouter V2.9c 11/3648517); 01 Nov 2000 11:30:13 Message-ID: <39FF7324.5F99FB75@bigpond.com> Date: Wed, 01 Nov 2000 09:34:28 +0800 From: Terry Dwyer Organization: Cottage Networks X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: obrien@freebsd.org Cc: stable@freebsd.org Subject: Re: make installworld fix with new crtstuff - Problem solved References: <39FEA83E.11B7D951@bigpond.com> <20001031045225.B84494@dragon.nuxi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG First off, Thanks to the people who offered helpful suggestions. I am always amazed how quickly problems get sorted out with FreeBSD. Support is not so good for the commercial NOSes I have to use and deploy at work. 8-( David and Max, who both pointed out that /usr/src/gnu/lib/csu/ should contain _only_ a Makefile, this fixed my problem. Thank you _very_ much I think my problems were caused initially because I trusted the conditional statement "make buildworld && make installworld" Monday morning, about 7:30AM Australian WST +8, when this problem first appeared, I did a cvsup and built and installed world. It now looks as though a non-fatal error allowed the buildworld to complete and the subsequent installworld hosed my system. Right up until Tuesday afternoon, I have had the same problems - the cause being the two source files in the csu directory. I would have thought that by tuesday afternoon and many more cvsups, these would not have existed and been a problem, because early afternoon, I renamed my source tree and replaced /usr/src and /usr/obj with known good trees compiled on my son's machine. After doing a make installworld to get my hosed system back, I did another cvsup. A subsequent make buildworld must have re-populated the csu directory with the file and link which should not have been there. At this stage, the buildworld failed at "building libraries" I wish this had been the case Monday morning. Since Tuesday afternoon when Max Kohn pointed out the change necessary to /usr/src/gnu/lib/Makefile, which David committed, these files have hung around, frustrating my attempts to make buildworld. Only now, since both Max and David emailed me to tell me to remove the .c file and link present in the csu directory, have I been able to buildworld. The buildworld has now passed "Stage 4: building libraries" significantly, it has sucsseded building /usr/src/gnu/lib/csu/ where it was failing, and is proceding normally. Again, Thanks to all the people who offered help and advice. Regards, Terry David O'Brien wrote: > > On Tue, Oct 31, 2000 at 07:08:46PM +0800, Terry Dwyer wrote: > > cd /usr/src/gnu/lib/csu; make depend; make all; make > > install > > rm -f > > .depend > > mkdep -f .depend -a > > -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config -I. -DIN_GCC > > -I/usr/obj/usr/src > > cd /usr/src/gnu/lib/csu; make > > _EXTRADEPEND > > cc -O -pipe -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config -I. > > -DIN_GCC -finhibit-size-directive -fn > ^^^^^^^^^^^^^^^^^^^^^^^^^^ > this is missing important parts of the invocation that I need to see. > > > Directory contents: > > > > -rw-r--r-- 1 root wheel 1963 31 Oct 14:17 Makefile > > -rw-r--r-- 1 root wheel 20861 31 Oct 08:20 crtbegin.c > > lrwxr-xr-x 1 root wheel 52 31 Oct 08:20 crtend.c -> > > /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c > > > > Is this link supposed to be here? > > EGADS!! Rev 1.1.2.2, which you must have tried to use at some point (ie, > before I committed 1.1.2.4) was one of the ways I implemented the Makefile > and didn't like. How in the world did I manage to commit that one?? > Sigh, too many source trees on more than one machine... > > Anyway, yep, that's the problem if your compiler line (the part that is > missing) matches the output I just saw posted. > > Remove that bogus link ("crtend.c) and file ("crtbegin.c"). > > -- > -- David (obrien@FreeBSD.org) > GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message