From owner-freebsd-bugs Thu Jul 26 21:20: 6 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7BE0637B405 for ; Thu, 26 Jul 2001 21:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6R4K1W71388; Thu, 26 Jul 2001 21:20:01 -0700 (PDT) (envelope-from gnats) Date: Thu, 26 Jul 2001 21:20:01 -0700 (PDT) Message-Id: <200107270420.f6R4K1W71388@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Mike Barcroft Subject: Re: bin/11382: generated code using rpcgen with -b option cannot be compiled Reply-To: Mike Barcroft 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 The following reply was made to PR bin/11382; it has been noted by GNATS. From: Mike Barcroft To: TATEOKA Takamichi Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/11382: generated code using rpcgen with -b option cannot be compiled Date: Fri, 27 Jul 2001 00:32:28 -0400 On Fri, Jul 27, 2001 at 12:37:45PM +0900, TATEOKA Takamichi wrote: > > 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. It appears -CURRENT is using NetBSD's solution, so 5.0-RELEASE and up will support this. I don't think there are any plans to make these changes to the code in -STABLE, so you'll have to wait until then. Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message