From owner-freebsd-hackers Tue Jun 8 7:30:46 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from florence.pavilion.net (florence.pavilion.net [194.242.128.25]) by hub.freebsd.org (Postfix) with ESMTP id 41D9C14D86 for ; Tue, 8 Jun 1999 07:29:57 -0700 (PDT) (envelope-from joe@florence.pavilion.net) Received: (from joe@localhost) by florence.pavilion.net (8.9.2/8.8.8) id PAA40653 for hackers@freebsd.org; Tue, 8 Jun 1999 15:29:54 +0100 (BST) (envelope-from joe) Date: Tue, 8 Jun 1999 15:29:53 +0100 From: Josef Karthauser To: hackers@freebsd.org Subject: Wierd behavour from G++28! Message-ID: <19990608152953.L14211@pavilion.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, 24 The Old Steine, Brighton, BN1 1EL, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Strange. I'm having a wierd time trying to get a package called Swish++ working. It's a C++/STL based program, which the author recommends compiling up with Gcc2.8 or higher. So... I've installed gcc-2.8.1 && glibstdc++-2.8.1.1, and compiled it up. Strangely however, the 'search' part of it core dumps in an unexpected way. gandalf% ./search Segmentation fault (core dumped) gandalf% gdb search search.core GNU gdb 4.18 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"... Core was generated by `search'. Program terminated with signal 11, Segmentation fault. 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 0x8052c0f in ostream::flush () at /usr/include/ctype.h:149 149 } (gdb) bt #0 0x8052c0f in ostream::flush () at /usr/include/ctype.h:149 #1 0x8052912 in ostream::operator<< () at /usr/include/ctype.h:149 #2 0x804995f in main (argc=1, argv=0xbfbfdb54) at search.c:219 (gdb) l What gives? It looks like a library thing. Can anyone put me on the right track please? 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] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message