Path: utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!unmvax!deimos.cis.ksu.edu!uxc!garcon!garcon.cso.uiuc.edu!grunwald From: grunwald@flute.cs.uiuc.edu Newsgroups: gnu.g++.bug Subject: Trouble getting 1.35.0- to run, sun3-os4 Message-ID: Date: 12 May 89 03:06:05 GMT Sender: news@garcon.cso.uiuc.edu Distribution: gnu Organization: University of Illinois, Urbana-Champaign Lines: 40 Configuration: sun3-os4, sun3/60, sunos-4 installed g++.xtar.Z of may 11th out of the can with virgin (except RFG patch to cccp.c) gcc-1.35, using 1.35 to compile. recompiled and installed current libg++. symptoms: when I try to run most programs, I get a seg fault with the following trace: free: illegal address (0x4c33a) (gdb) where #0 0x1ec08 in kill () #1 0x19906 in abort () #2 0x17620 in malloc_verify () #3 0x16ae0 in free () #4 0x1707c in realloc () #5 0x169d0 in malloc () #6 0x1a25c in on_exit () the on_exit is in crt0+.o -- it's line 457, ON_EXIT (_cleanup, 0); what this seems to indicate is that something w.r.t. malloc is getting mucked with. In this example, I was using the debugging malloc library on the sun-3. In other cases (libg++/tests/tFile), it justs dies in malloc(), presumably for the same reasons. libg++/tests/test0 *did* work, but it didn't get back the part where it tells you that you have a bogus crt1+.o Has anyone gotten this version to compile & run on a sun3? Any clues? -- Dirk Grunwald Univ. of Illinois grunwald@flute.cs.uiuc.edu