Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 1996 10:24:03 +0200 (MET DST)
From:      Kees Jan Koster <dutchman@spase.nl>
To:        freebsd-hackers@FreeBSD.ORG (FreeBSD hackers Mailing list)
Subject:   Patches for gcc 2.7.2
Message-ID:  <199605130824.KAA29130@phobos.spase.nl>

next in thread | raw e-mail | index | archive | help
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)
=========================================================================





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