Subject: lib/971: libgnumalloc.so references 'vlimit'
To: None <gnats-admin@NetBSD.ORG>
From: Henric Jungheim <henric@eci1.ucsb.edu>
List: netbsd-bugs
Date: 04/16/1995 19:35:04
>Number: 971
>Category: lib
>Synopsis: libgnumalloc.so references 'vlimit'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 16 19:35:03 1995
>Originator: Henric Jungheim <henric@engineering.ucsb.edu>
>Organization:
Just my Amiga 4000 and I.
>Release: "sup"'ed as of Apr 16th <NetBSD-current source date>
>Environment:
System: NetBSD blurg.ucsb.edu 1.0A NetBSD 1.0A (HENRIC) #12: Sun Apr 16 18:18:40 PDT 1995 henric@blurg.ucsb.edu:/usr/src/sys/arch/amiga/compile/HENRIC amiga
a4000/040 running gcc 2.6.3 for 040-only code
>Description:
The file src/gnu/lib/libmalloc/mem-limits.h references the function
vlimit() which is in libcompat. This causes ld.so to fail when loading
anything that tries to use libgnumalloc.so.
>How-To-Repeat:
I just compiled it...
>Fix:
I added "-DBSD4_2" to the CFLAGS of the Makefile for the directory (i.e.,
src/gnu/lib/libmalloc/Makefile).
>Audit-Trail:
>Unformatted: