🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by kha Thu, 18 May 1989 15:52
(none)
#2009
Author: kha
Date: Thu, 18 May 1989 15:52
17 lines
801 bytes
dl@rocky.oswego.edu tiemann@yahi.stanford.edu
Subject: Problems with g++-1.35.0 from prep.ai.mit.edu on Sun3


On sun3-os4.0:
1. Most of the tests on libg++-1.35.0 (from prep) fails with a
   segmentation fault in malloc.

2. gperf segfaults when making the gperf tests.

On sun3-os3.4:
The compilation of builtin.cc fails (confilicting types for
'sys_errlist' and 'int perror (const char *)'



                                        Knut-Haavard Aksnes.
Re: (none)
#2011
Author: Dirk Grunwald
Date: Thu, 18 May 1989 21:30
46 lines
2033 bytes
there's still a problem in newld.c on the Sun-3. I've added the following
(sorry, no context diffs)

..around line 2870, you should see...
----------------------------------------------------------------------
  outheader.a_text = text_size;
#ifdef sequent
  outheader.a_text += N_ADDRADJ (outheader);
#endif

#ifdef sparc
  data_size = (data_size + sizeof(double) - 1) & ~(sizeof(double)-1);
#endif

  /* Make the data segment address start in memory on a suitable boundary.  */
----------------------------------------------------------------------

change this to...

----------------------------------------------------------------------
  outheader.a_text = text_size;
#ifdef sequent
  outheader.a_text += N_ADDRADJ (outheader);
#endif

#if defined(sun) || defined(sparc)
  data_size = (data_size + sizeof(double) - 1) & ~(sizeof(double)-1);
#endif

  /* Make the data segment address start in memory on a suitable boundary.  */
----------------------------------------------------------------------

and then add, at line ~2997

----------------------------------------------------------------------
#if defined(sun) || defined(sparc)
  bss_size = (bss_size + sizeof(double) - 1) & ~(sizeof(double)-1);
#endif

  if (end_symbol)		/* These are null if -r.  */
----------------------------------------------------------------------
--
Dirk Grunwald
Univ. of Illinois
grunwald@flute.cs.uiuc.edu
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