Subject: toolchain/15880: libnbcompat doesn't check if host's vis.h provides all functions that netbsd code needs
To: None <gnats-bugs@gnats.netbsd.org>
From: None <uwe@ptc.spbu.ru>
List: netbsd-bugs
Date: 03/11/2002 19:50:54
>Number:         15880
>Category:       toolchain
>Synopsis:       libnbcompat doesn't check if host's vis.h provides all functions that netbsd code needs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 11 19:51:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Valeriy E. Ushakov
>Release:        1.5ZB
>Organization:
>Environment:
The host is:
FreeBSD sampo.ptc.spbu.ru 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Nov 18 13:38:25 MSK 2001     toor@sampo.ptc.spbu.ru:/usr/obj/usr/src/sys/SAMPO  i386
>Description:
libnbcompat configure only checks that <vis.h> is present and doesn't compile netbsd's vis.c
is host has <vis.h>.  This assumes that host provides all the functions that netbsd provides.
freebsd has <vis.h> but it doesn't provide *svis* functions, so building tools fails with:

xinstall.lo: In function `metadata_log':
xinstall.lo(.text+0x13b1): undefined reference to `strsvis'
*** Error code 1

Stop.
nbmake: stopped in /export/netbsd/cvs/src/tools/binstall

>How-To-Repeat:
Try building tools on a FreeBSD host.

Well, this will fail earlier in the build because FreeBSD-stable has wrong pwcache
prototypes, but after I worked around that problem (that is out of our control)
the strsvis problem was the next one to stop the build.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: