From owner-freebsd-bugs Thu Jul 26 20:38: 5 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from leaf.tateoka.org (leaf.cs.uec.ac.jp [130.153.88.37]) by hub.freebsd.org (Postfix) with ESMTP id 2D18A37B405; Thu, 26 Jul 2001 20:38:00 -0700 (PDT) (envelope-from tate@cs.uec.ac.jp) Received: from localhost (tate@localhost [127.0.0.1]) by leaf.tateoka.org (8.11.1/3.7W/leaf-20000902) with ESMTP id f6R3bjq03446; Fri, 27 Jul 2001 12:37:45 +0900 (JST) To: mike@FreeBSD.org Cc: tate@spa.is.uec.ac.jp, freebsd-bugs@FreeBSD.org Subject: Re: bin/11382: generated code using rpcgen with -b option cannot be compiled From: TATEOKA Takamichi In-Reply-To: <200107270204.f6R24Yq41194@freefall.freebsd.org> References: <200107270204.f6R24Yq41194@freefall.freebsd.org> X-Mailer: Mew version 1.94.2 on Emacs 20.6 / Mule 4.0 (HANANOEN) X-Pgp-Fingerprint: 2D DA AE 35 9C BF 4F F6 BE C4 F5 73 19 3B 0F 64 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010727123745B.tate@leaf.tateoka.org> Date: Fri, 27 Jul 2001 12:37:45 +0900 X-Dispatcher: imput version 20000228(IM140) Lines: 27 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > After doing a little more research, I have determined that this is the > expected behaviour. We aren't forward compatible with TI-RPC, so we > make the default -b. If however we see -b, we revert to TI-RPC in case > someone needs that. It's not perfect, but it makes the most sense. I think it's not a good idea. It makes -b option means reverse effects compared to most of other operating systems. It can confuse any scripts (and users) working on multiple systems. I think make a NEW option to generate TI-RPC code and revert to -b option for backword compatible (non TI-RPC mode) is better than current behavior. I think "-5" is reasonable, since it is compatible with rpcgen shipped with Linux systems (at least Vine Linux 2.0 which is RedHat base and has glibc-2.1.2). You can find a manual page of rpcgen for linux on: http://www.linuxcentral.com/linux/man-pages/rpcgen.1.html I think it has no side effects since any software for FreeBSD must not use -b option. According to my check, rpcgen for OpenBSD-2.9 is disabled TI-RPC mode completely (-b option is exist for "backword compatible" meaning). Rpcgen for NetBSD-1.5.1 generates TI-RPC code by default, and seems to work. Thanks, Takamichi, TATEOKA (tate@cs.uec.ac.jp) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message