Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 21:20:01 -0700 (PDT)
From:      Mike Barcroft <mike@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/11382: generated code using rpcgen with -b option cannot be compiled
Message-ID:  <200107270420.f6R4K1W71388@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/11382; it has been noted by GNATS.

From: Mike Barcroft <mike@FreeBSD.org>
To: TATEOKA Takamichi <tate@spa.is.uec.ac.jp>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107270420.f6R4K1W71388>