From owner-freebsd-alpha Sun Mar 7 10:11:21 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from arc.hq.cti.ru (arc.hq.cti.ru [195.34.40.3]) by hub.freebsd.org (Postfix) with ESMTP id 772B014C87 for ; Sun, 7 Mar 1999 10:11:18 -0800 (PST) (envelope-from tejblum@arc.hq.cti.ru) Received: from arc.hq.cti.ru (localhost [127.0.0.1]) by arc.hq.cti.ru (8.9.2/8.9.0) with ESMTP id VAA63245; Sun, 7 Mar 1999 21:10:25 +0300 (MSK) Message-Id: <199903071810.VAA63245@arc.hq.cti.ru> X-Mailer: exmh version 2.0zeta 7/24/97 To: Doug Rabson Cc: Dmitrij Tejblum , freebsd-alpha@freebsd.org Subject: Re: Weird problems In-reply-to: Your message of "Sat, 06 Mar 1999 21:19:14 GMT." Date: Sun, 07 Mar 1999 21:10:25 +0300 From: Dmitrij Tejblum Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > rm(1) behave buggy. It is sometimes works, sometimes die with > > 'segmentation fault', sometimes die with 'illegal instruction', and > > sometimes fail with 'rm: No such file or directory' (without a file > > name). Every other program, including the compiler, seems works correct, > > (I built a couple of ports), so I don't think it is a hardware problem > > like 'bad memory' :-|. > > > > Any idea? > > I've not heard of this before. It smells like a VM problem but its > strange that only one program is affected. Does this happen every time > you reboot (maybe stale contents in the cache)? What if you rebuild rm > from sources? Now I think it is a compiler/optimizer bug. After I recompiled libc and rm without optimization, the bug has disappear. But later, in make buildworld, I noticed another problems: for example, strip(1) and nm(1) sometimes die too... Well, now, after several rounds, make buildworld going on, it is now pretty far, and I hope this time it will succeed. (BTW, nm(1) failures apparently were fixed by recompile of /bin/sh without optimization. I applied the gcc patch from your page and tried build /bin/sh with -O - it didn't help). I am still very confused. Am I the first man who ever tried to install 19990206-SNAP? Anyone build world without any optimization, right? I don't actually believe that the answers are "yes"... Dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message