From owner-freebsd-hackers Mon May 13 02:06:56 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA03958 for hackers-outgoing; Mon, 13 May 1996 02:06:56 -0700 (PDT) Received: from ns.NL.net (ns.NL.net [193.78.240.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA03935 for ; Mon, 13 May 1996 02:06:46 -0700 (PDT) Received: from spase by ns.NL.net via EUnet id AA18867 (5.65b/CWI-3.3); Mon, 13 May 1996 10:23:06 +0200 Received: from phobos.spase.nl (phobos [192.9.200.238]) by mercurius.spase.nl (8.6.11/8.6.11) with ESMTP id KAA28077 for ; Mon, 13 May 1996 10:22:53 +0200 From: Kees Jan Koster Received: (dutchman@localhost) by phobos.spase.nl (8.6.12/8.6.11) id KAA29130 for freebsd-hackers@FreeBSD.ORG; Mon, 13 May 1996 10:24:03 +0200 Message-Id: <199605130824.KAA29130@phobos.spase.nl> Subject: Patches for gcc 2.7.2 To: freebsd-hackers@FreeBSD.ORG (FreeBSD hackers Mailing list) Date: Mon, 13 May 1996 10:24:03 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hoi Hackers, I've tried to install g++ 2.7.2 on my 2.1.0-release machine, but it does not seem an out-of-the-box installation. I modified config/freebsd.h to not generate .weak symbols, and then g++ installs and runs all right. However, I get some weird errors from program compiled with 2.7.2. Some die on a signal 11, usually before entering main() or after exiting main(). Gdb reports the following on the particular program, when I trace main() > > 25 exit (0); > (gdb) next > > Program received signal SIGSEGV, Segmentation fault. > 0x81434f8 in free () > Before I start digging any deeper, I'd like to be sure that my g++ is good. Normally I would not bother anyone with this kind of problem, but the same code compiles and runs fine on Linux, SunOS and HP-UX and using g++ 2.6.3 on FreeBSD. This is also why I ask here instead of the gcc buglist. Could someone help me out or does anyone have patches for 2.7.2? What should I patch out/in? Groetjes, Kees Jan ======================================================================v== Kees Jan Koster e-mail: dutchman@spase.nl Van Somerenstraat 50 tel: NL-24-3234708 6521 BS Nijmegen the Netherlands ========================================================================= Who is this general Failure and why is he reading my disk? (anonymous) =========================================================================