Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2002 11:59:36 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Craig Rodrigues <rodrigc@attbi.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 22 Sep 2002 21:29:45 -0400 Craig Rodrigues <rodrigc@attbi.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020923115936.1a1b1dd4.Alexander>