Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2001 12:37:45 +0900
From:      TATEOKA Takamichi <tate@spa.is.uec.ac.jp>
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
Message-ID:  <20010727123745B.tate@leaf.tateoka.org>
In-Reply-To: <200107270204.f6R24Yq41194@freefall.freebsd.org>
References:  <200107270204.f6R24Yq41194@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




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