From owner-freebsd-current Mon Jun 24 12:55:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by hub.freebsd.org (Postfix) with ESMTP id 7A89437B400 for ; Mon, 24 Jun 2002 12:55:19 -0700 (PDT) Received: from phoenix.granlund.nu (h192n2fls35o811.telia.com [217.211.119.192]) by mailb.telia.com (8.11.6/8.11.6) with ESMTP id g5OJtG800197 for ; Mon, 24 Jun 2002 21:55:17 +0200 (CEST) Received: from hatchet ([192.168.0.17]) by phoenix.granlund.nu (8.10.1/8.10.1) with ESMTP id g5OJtDG80454 for ; Mon, 24 Jun 2002 21:55:13 +0200 (CEST) Date: Mon, 24 Jun 2002 21:49:47 +0200 (W. Europe Daylight Time) From: Johan Granlund To: Subject: Error in truss (Was: Re: error in ncurses in 'make buildworld') In-Reply-To: <20020624111649.84822.qmail@web14103.mail.yahoo.com> Message-ID: X-X-Sender: johan@phoenix.granlund.nu MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT 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 Hi I'ts probably not related, but i have problems :) I have tried a couple of days to compile world, with CFLAGS=-O -pipe, with 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. Any ideas as what happened ? The error is: ===> 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 ===> 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 Stop in /usr/src/usr.bin/truss. *** Error code 1 Regards /Johan On Mon, 24 Jun 2002, Claus Guttesen wrote: > Hi. > > > What -O level did you compile libc with? > > Optimisation levels >= 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ølg VM i fodbold på tæt 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 > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message