🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Roberto Togneri Tue, 26 Mar 1991 05:56
g++-1.39.0 malloc problem
#518
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads