Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jun 1999 10:12:23 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Josef Karthauser <joe@pavilion.net>
Cc:        Brian Somers <brian@Awfulhak.org>, Thomas David Rivers <rivers@dignus.com>, hackers@FreeBSD.org
Subject:   Re: Wierd behavour from G++28! 
Message-ID:  <199906090912.KAA57299@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Wed, 09 Jun 1999 09:04:03 BST." <19990609090403.A79865@pavilion.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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<char const *>::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 <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@uk.FreeBSD.org>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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