From owner-freebsd-current Mon Sep 23 2:59:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9329A37B401 for ; Mon, 23 Sep 2002 02:59:47 -0700 (PDT) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC4F143E42 for ; Mon, 23 Sep 2002 02:59:46 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd07.sul.t-online.de by mailout09.sul.t-online.com with smtp id 17tQ0E-000221-04; Mon, 23 Sep 2002 11:59:42 +0200 Received: from Andro-Beta.Leidinger.net (520065502893-0001@[80.131.105.50]) by fmrl07.sul.t-online.com with esmtp id 17tQ0A-22e7Y8C; Mon, 23 Sep 2002 11:59:38 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) by Andro-Beta.Leidinger.net (8.12.5/8.12.5) with ESMTP id g8N9xbZq051362; Mon, 23 Sep 2002 11:59:37 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.5/8.12.5) with SMTP id g8N9xapV003342; Mon, 23 Sep 2002 11:59:37 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Mon, 23 Sep 2002 11:59:36 +0200 From: Alexander Leidinger To: Craig Rodrigues Cc: current@FreeBSD.ORG, ak03@gte.com Subject: Re: buildworld fails in gnu/usr.bin/gperf/doc with an internal error Message-Id: <20020923115936.1a1b1dd4.Alexander@Leidinger.net> In-Reply-To: <20020922212945.A1817@attbi.com> References: <20020922172014.26056daa.Alexander@Leidinger.net> <20020922112708.5f35315f.kabaev@bellatlantic.net> <20020922181052.4db1cf0f.Alexander@Leidinger.net> <20020922134726.717fe34a.kabaev@bellatlantic.net> <20020922201038.32584c8b.Alexander@Leidinger.net> <20020922212945.A1817@attbi.com> Organization: Independend X-Mailer: Sylpheed version 0.8.1claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520065502893-0001@t-dialin.net 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 On Sun, 22 Sep 2002 21:29:45 -0400 Craig Rodrigues wrote: > From there, you should be able to see what the backtrace is to where > things are crashing. It crashes in cc1plus, but the backtrace isn't useful, as I don't have a debug version of cc1plus here (I don't get any symbols out if cc1plus, not with nm and not with objdump). gdb /usr/libexec/cc1plus [...] Program received signal SIGSEGV, Segmentation fault. 0x081ed6c3 in ?? () (gdb) bt #0 0x081ed6c3 in ?? () #1 0x081eddbb in ?? () #2 0x081ee612 in ?? () #3 0x08148033 in ?? () #4 0x0814c497 in ?? () #5 0x0814c4f8 in ?? () #6 0x0804c9db in ?? () #7 0x08048139 in ?? () The disassembly of #0 is (not that I think this may be helpful here): ---snip--- 81ed6ae: 89 74 24 04 mov %esi,0x4(%esp,1) 81ed6b2: e8 29 f8 ff ff call 0x81ecee0 81ed6b7: 8b 5d f8 mov 0xfffffff8(%ebp),%ebx 81ed6ba: 8b 75 fc mov 0xfffffffc(%ebp),%esi 81ed6bd: c9 leave 81ed6be: c3 ret 81ed6bf: 90 nop 81ed6c0: 55 push %ebp 81ed6c1: 89 e5 mov %esp,%ebp 81ed6c3: 83 34 41 08 xorl $0x8,(%ecx,%eax,2) 81ed6c7: 07 pop %es 81ed6c8: 00 00 add %al,(%eax) 81ed6ca: 00 c7 add %al,%bh 81ed6cc: 05 1c 34 41 08 add $0x841341c,%eax 81ed6d1: 07 pop %es 81ed6d2: 00 00 add %al,(%eax) 81ed6d4: 00 a1 10 34 41 08 add %ah,0x8413410(%ecx) 81ed6da: a3 20 34 41 08 mov %eax,0x8413420 81ed6df: a1 53 08 89 d0 mov 0xd0890853,%eax 81ed6e4: 83 e0 3f and $0x3f,%eax 81ed6e7: 83 c8 40 or $0x40,%eax ---snip--- c++ -save-temps -v -O -I/big/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/big/usr/src/gnu/usr.bin/gperf -c /big/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/gen-perf.cc generates: http://www.leidinger.net/gen-perf.ii.bz2 http://www.leidinger.net/gen-perf.s.bz2 Bye, Alexander. -- The dark ages were caused by the Y1K problem. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message