Subject: pkg/6890: our PVM package uses a single PVM_ARCH for all NetBSD architectures.
To: None <gnats-bugs@gnats.netbsd.org>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: netbsd-bugs
Date: 01/27/1999 21:37:59
>Number:         6890
>Category:       pkg
>Synopsis:       our PVM pkg uses a single PVM_ARCH for all NetBSD architectures.
>Confidential:   yes
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 27 12:50:01 1999
>Last-Modified:
>Originator:     Ignatios Souvatzis
>Organization:
	
>Release:        # $NetBSD: Makefile,v 1.5 1999/01/01 23:42:58 garbled Exp $
>Environment:
	
System: NetBSD jocelyn 1.3I NetBSD 1.3I (ISDN5) #40: Sun Jan 24 19:48:17 MET 1999 is@jocelyn:/build2/i4b/ISDN5 amiga


>Description:
$NetBSD: patch-ai,v 1.1.1.1 1998/10/13 23:31:04 garbled Exp $
--- /dev/null   Fri Aug  7 01:41:07 1998
+++ conf/NETBSD.def     Fri Aug  7 01:46:28 1998
@@ -0,0 +1,7 @@
[...]
+PVM_ARCH       =       NETBSD

This is bogus.

1st reason:
>From pvm_mkbuf(3):
       With the default setting XDR encoding is used when packing
       the  message because PVM can not know if the user is going
       to add a heterogeneous  machine  before  this  message  is
       sent.   The  other  options  to encoding allow the user to
       take advantage of knowledge about his virtual machine even
       when  it  is heterogeneous. For example, if the user knows
       that the next message will only be sent to a machine  that
       understands  the native format, then he can use PvmDataRaw
       encoding and save on encoding costs.

2nd reason:

With all PVM_ARCHes being same, I can't use a (NFS) shared home directory to
store my programs, as the $(PVM_ARCH) path component of the search path
will be equal on all of them.

>How-To-Repeat:

Note the target PVM_ARCH is same. Encode using PvmDataRaw. Fail.
	
>Fix:
	make PVM_ARCH be NETBSD_${MACHINE_ARCH}
>Audit-Trail:
>Unformatted: