NetBSD Problem Report #583
From gnats Tue Nov 22 11:32:21 1994
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id LAA04367 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Tue, 22 Nov 1994 11:32:20 -0800
Message-Id: <199411221938.UAA03351@nyx.dcs.muni.cz>
Date: Tue, 22 Nov 1994 20:38:40 +0100
From: salvet@nyx.dcs.muni.cz
Reply-To: salvet@nyx.dcs.muni.cz
To: gnats-bugs@NetBSD.ORG
Subject: runtime linker error with libgnumalloc
X-Send-Pr-Version: 3.2
>Number: 583
>Category: lib
>Synopsis: runtime linker error with libgnumalloc, vlimit undefined
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 22 11:35:03 +0000 1994
>Closed-Date: Sat Jan 06 22:46:13 +0000 1996
>Last-Modified: Sat Jan 06 22:49:30 +0000 1996
>Originator: Zdenek Salvet
>Release: 1.0
>Organization:
>Environment:
System: NetBSD nyx.dcs.muni.cz 1.0 NetBSD 1.0 (NYX) #0: Fri Nov 11 00:17:10 MET 1994 root@nyx.dcs.muni.cz:/usr/sup/files/src/sys/arch/i386/compile/NYX i386
>Description:
libgnumalloc uses obsolete vlimit, which is only in libcompat.a,
apps using memory_warnings() are killed by runtime link error
(gnu tools in distribution probably don't use memory_warnings() )
>How-To-Repeat:
call memory_warnings() from libgnumalloc and try to allocate some memory
>Fix:
add
#define BSD4_2
#include <sys/types.h>
to src/gnu/lib/libmalloc/mem-limits.h
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: pk
State-Changed-When: Sat Jan 6 17:46:13 EST 1996
State-Changed-Why:
I believe thisis fixed in the latest revision of <gnu/lib/libmalloc/mem-limits.h>
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.