From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 16:43:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE0CA37B401 for ; Fri, 13 Jun 2003 16:43:43 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id D87B343FBF for ; Fri, 13 Jun 2003 16:43:42 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (adsl-65-68-247-73.dsl.crchtx.swbell.net [65.68.247.73]) by sage-one.net (8.12.8p1/8.12.8) with SMTP id h5DNhYTM039446; Fri, 13 Jun 2003 18:43:38 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20030613184332.013a07c8@sage-one.net> X-Sender: jackstone@sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Fri, 13 Jun 2003 18:43:32 -0500 To: Joshua Oreman From: "Jack L. Stone" In-Reply-To: <20030613232454.GA22261@webserver.get-linux.org> References: <3.0.5.32.20030613175242.0139b2a8@sage-one.net> <3.0.5.32.20030613172242.013a22c8@sage-one.net> <3.0.5.32.20030613172242.013a22c8@sage-one.net> <3.0.5.32.20030613175242.0139b2a8@sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, hits=-2.5 required=4.5 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES version=2.54-sage_one.rules_v1 X-Spam-Checker-Version: SpamAssassin 2.54-sage_one.rules_v1 (1.174.2.17-2003-05-11-exp) cc: questions@freebsd.org Subject: Re: Make -- Illegal instruction - core dumpedI've been trying to X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 23:43:44 -0000 At 04:24 PM 6.13.2003 -0700, Joshua Oreman wrote: >On Fri, Jun 13, 2003 at 05:52:42PM -0500 or thereabouts, Jack L. Stone seemed to write: >> At 06:34 PM 6.13.2003 -0400, Bill Moran wrote: >> >Jack L. Stone wrote: >> >> I've been trying to update, via sources, an older server (586 CPU) that's >> >> running a real sparse 4.5-RELEASE, but each time I use: >> >> # make 'target' I get the following error. >> >> Illegal instruction - core dumped >> >> >> >> It's got me stopped in my tracks. Any tips for a fix appreciated.... >> > >> >Sounds like buggy hardware. Does it always fail at the same place? If not, >> >it's probably bad RAM or a failing or overheating processor. Try out some >> >tools like memtest86 or cpuburn to try to narrow it down. >> > >> >-- >> >Bill Moran >> >> Thanks for the reply, Bill. The above error message is as far as it gets. >> >> #make 'target' and then the error is returned.... > >Does that happen with every make command? Have you tried different Makefiles >to see whether the problem was with `make' itself? > >In any event, here's how to get some sense out of that error. >First, make a debugging version of the `make' executable: > ># gcc -g -o /usr/bin/make_g /usr/src/usr.bin/make/*.c \ >> /usr/src/usr.bin/make/lst.lib/*.c -I/usr/src/usr.bin/make \ >> -DDEFSHELL=1 > >Then try and reproduce the error with `make_g' instead of `make'. >If it does the same thing, do this: >$ gdb /usr/bin/make_g make_g.core >[copyright msgs snipped] >(gdb) <-- Type 'where' at this prompt and send us the output. >(gdb) quit > >-- Josh > Josh: I didn't get a "core", but here is the whole excercise I tried following your instructs: ============================================================================ make_g installworld ".......osreldate.h /usr/include" *** Signal 4 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. root@ssl>> gdb /usr/bin/make_g make_g.core GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf /usr/src/make_g.core: No such file or directory. (gdb) where No stack. (gdb) quit ============================================================================ Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net