Subject: Re: problems with gcc 2.7.2
To: Thorsten Frueauf <frueauf@ira.uka.de>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 01/04/1996 12:25:16
On Thu, 4 Jan 1996 16:16:41 +0000 (GMT) 
 Thorsten Frueauf <frueauf@ira.uka.de> wrote:

 > /usr/libexec/ld.so: Undefined symbol "_vlimit" in grep:/usr/lib/libgnumalloc.so.0.0
 > /usr/libexec/ld.so: Undefined symbol "_vlimit" in gcc:/usr/lib/libgnumalloc.so.0.0

I recently fixed this.  Here's the commit message to mem-limits.h:

----------------------------
revision 1.2
date: 1996/01/01 19:40:48;  author: thorpej;  state: Exp;  lines: +1 -1
Use getrlimit() instead of vlimit(), like BSD/OS and OSF/1 do.
----------------------------

Make sure your mem-limits.h is up to date.  In particular, make sure line 
27 says (please ignore the space in front .. gotta track down a bug in
one of my MH scripts...):

 #if defined(__bsdi__) && defined(__NetBSD__)

BTW, also make sure you build ld.so with `-fno-function-cse', or you'll 
really lose on the m68k (trust me...)  This is also in the tree now, but 
make sure line 9 of src/gnu/usr.bin/ld/rtld/Makefile says:

PICFLAG=-fpic -fno-function-cse

Ciao.

--------------------------------------------------------------------------
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939