From owner-freebsd-current Mon Jun 24 12:58:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 2760D37B40D for ; Mon, 24 Jun 2002 12:57:48 -0700 (PDT) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.3/8.12.3) with SMTP id g5OJvjw6038765; Mon, 24 Jun 2002 15:57:46 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Mon, 24 Jun 2002 15:57:45 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Johan Granlund Cc: freebsd-current@FreeBSD.ORG Subject: Re: Error in truss (Was: Re: error in ncurses in 'make buildworld') In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Compile and install a fresh sed. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Mon, 24 Jun 2002, Johan Granlund wrote: > Hi >=20 > I'ts probably not related, but i have problems :) >=20 > I have tried a couple of days to compile world, with CFLAGS=3D-O -pipe, w= ith > a system from Jun 16 and it stops at the same place every time. I have > tried to clean out /usr/src and obj and resup. Recompiled awk and sh if > something happened to them but no change. >=20 > Any ideas as what happened ? >=20 > The error is: >=20 > =3D=3D=3D> usr.bin/truncate > rm -f .depend > mkdep -f .depend -a /usr/src/usr.bin/truncate/truncate.c > echo truncate: /usr/obj/usr/src/i386/usr/lib/libc.a >> .depend > =3D=3D=3D> usr.bin/truss > cp /usr/src/usr.bin/truss/../../sys/kern/syscalls.master syscalls.master > /bin/sh /usr/src/usr.bin/truss/../../sys/kern/makesyscalls.sh > syscalls.master / > usr/src/usr.bin/truss/i386.conf > syscalls.master: line 55: syscall number out of sync at 7 > line is: > struct rusage * rusage ) ; } wait4 > wait_args int > *** Error code 1 >=20 > Stop in /usr/src/usr.bin/truss. > *** Error code 1 >=20 >=20 > Regards >=20 > /Johan >=20 >=20 > On Mon, 24 Jun 2002, Claus Guttesen wrote: >=20 > > Hi. > > > > > What -O level did you compile libc with? > > > Optimisation levels >=3D 2 damage > > > __vfprintf() with the in-tree gcc, causing these > > > same symptoms. > > > > > > The fix is to remove any optimisation options above > > > -O, go into > > > /usr/src/lib/libc, rebuild and install the static > > > libc.a, build and install a > > > static linked awk binary, then rebuild world + > > > kernel as usual. > > > > > > > With this advise my 'make world' and 'make kernel' > > completed without any errors. Thank you. > > > > Regards > > Claus > > > > > > _____________________________________________________ > > F=F8lg VM i fodbold p=E5 t=E6t hold fra Yahoo!s officielle VM-side > > www.yahoo.dk/vm2002 > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > > > >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message