Subject: Re: more shared lib nastiness
To: Tom Yu <tlyu@MIT.EDU>
From: Warner Losh <>
List: port-pmax
Date: 03/14/1997 11:16:20
In message <9703141714.AA14839@tesla-coil.MIT.EDU> Tom Yu writes:
: This certainly looks like it's the same problem.  ldd is running out
: of memory trying to mmap() the shared libraries, which *do* have a
: ~256MB hole between the .text and .data segments, according to
: objdump.  It looks like the built in link script for shared libraries
: is at fault (though I'm not certain because I lack source to the
: version of gld used currently in NetBSD/pmax):

BTW, here's the patch that pefo applied:
RCS file:
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
---  1996/11/23 03:52:42     1.2
+++  1997/02/12 22:49:33     1.3
@@ -118,7 +118,7 @@
      important than losing a page of the virtual address space (note
      that no actual memory is lost; the page which is skipped can not
      be referenced).  */
   ${RELOCATING+. += 0x10000;}
   .data  ${RELOCATING-0} :

It should be easy enough to test for people that are having problems
(I don't have any pmaxen, so I can't test this)