🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #518

g++-1.39.0 malloc problem

#518
From: Roberto Togneri
Date: Tue, 26 Mar 1991 05:56
28 lines
1697 bytes
At last!
  I have got g++-1.39 and libg++-1.39 installed on our Sparc2 (4.1.1) and
our 4D/20 iris (3.1d). In both cases a proper malloc is important and the 
GNU malloc should not be used (i.e. define NO_LIBGXX_MALLOC in the libg++ 
Makefile).

Here is the problem:

1. If I use the GNU malloc both the iris and sun g++ give me a clobbered
space detected error when running some c++ programs written by a colleague.
The Sun passes make tests; the iris doesn't. If I use the system malloc then
there is no core dump for the Sun g++ but I get a segmentation fault for the
iris g++. dbx indicates that the fault occurred during the malloc call. In 
fact this is one of the reasons the iris g++ fails the make tests.

Does that mean that the system malloc on the iris isn't up to scratch?
Or is there still a definite problem with g++ on an iris (mips) ?

(BTW I have tried the OSF version of gcc and g++ but it has the same
problem)

If you have any ideas I'm all eyes!
--
Dr. Roberto Togneri                         Phone: +61-9-380-2535
Dept. of Electrical & Electronic Engineering
The University of Western Australia         Fax:   +61-9-380-1065
NEDLANDS WA 6009 Australia                  Email: robert@swanee.ee.uwa.oz.au
Technical Details
Message-ID: <robert.669967014@swanee>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uwm.edu!spool.mu.edu!munnari.oz.au!uniwa!swanee!zeus!robert

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uwm.edu!spool.mu.edu!munnari.oz.au!uniwa!swanee!zeus!robert
From: robert@swanee.ee.uwa.oz.au (Roberto Togneri)
Newsgroups: gnu.g++.help,comp.sys.sgi
Subject: g++-1.39.0 malloc problem
Keywords: g++ malloc
Message-ID: <robert.669967014@swanee>
Date: 26 Mar 91 05:56:54 GMT
Sender: news@swanee.ee.uwa.oz
Organization: Elec Eng, Univ of Western Australia
Lines: 28