From owner-freebsd-hackers Wed Jun 9 5:28:20 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (Postfix) with ESMTP id 7EB9E15266 for ; Wed, 9 Jun 1999 05:27:56 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id KAA32760; Wed, 9 Jun 1999 10:13:10 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id KAA57299; Wed, 9 Jun 1999 10:12:23 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199906090912.KAA57299@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Josef Karthauser Cc: Brian Somers , Thomas David Rivers , hackers@FreeBSD.org Subject: Re: Wierd behavour from G++28! In-reply-to: Your message of "Wed, 09 Jun 1999 09:04:03 BST." <19990609090403.A79865@pavilion.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 09 Jun 1999 10:12:23 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Wed, Jun 09, 1999 at 12:40:46AM +0100, Brian Somers wrote: > > > > > > Can someone comment please? Is this a bug in the way the gcc2.8 is > > > installed, or is it a bug in my understanding? (probably the latter). > > > > Perhaps you need a gcc-compiled version of libstdc++. It's just a > > guess, but when we shifted to egcs, there were all sorts of problems > > linking against the gcc-compiled version. > > > > Ok. I've compiled up a 4.0-CURRENT box, with EGCS native, and recompiled the > program. It still crashes, this time with: > > Core was generated by `search'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /usr/lib/libstdc++.so.3...done. > Reading symbols from /usr/lib/libm.so.2...done. > Reading symbols from /usr/lib/libc.so.3...done. > Reading symbols from /usr/libexec/ld-elf.so.1...done. > #0 0x8053169 in __get_eh_info () at /usr/include/ctype.h:149 > 149 } > (gdb) bt > #0 0x8053169 in __get_eh_info () at /usr/include/ctype.h:149 > #1 0x8053156 in __get_eh_info () at /usr/include/ctype.h:149 > #2 0x8053132 in __get_eh_context () at /usr/include/ctype.h:149 > #3 0x8059fda in my_set::my_set (this=0x805ff9c) at search.c:64 > #4 0x804d3b9 in global constructors keyed to files () at search.c:64 > #5 0x804a5d8 in _start () > #6 0x804a25d in _init () > (gdb) > > >From search.c: > 60 char const* me; // executable name > 61 file_index files; > 62 word_index words, stop_words, meta_names; > 63 bool stem_words; > 64 string_set stop_words_found; > 65 > 66 void dump_single_word( char const *word ); > 67 void dump_word_window( char const *word, int window_size, int match ); > > I'm very confused... the programmer is convinced that it works under > other platforms, but I'm not getting any joy out of it :( If you want to send me the program source I can try it out on my boxen. > Joe > -- > Josef Karthauser FreeBSD: How many times have you booted today? > Technical Manager Viagra for your server (http://www.uk.freebsd.org) > Pavilion Internet plc. [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk] -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message