[krbdev.mit.edu #1228] two bugs in tcl-based tests

Tom Yu via RT rt-comment at krbdev.mit.edu
Wed Oct 30 17:33:42 EST 2002


>>>>> "raeburn" == Ken Raeburn via RT <rt-comment at krbdev.mit.edu> writes:

raeburn> We've got TCL_RPATH already, though it's not used enough.
raeburn> Perhaps using it in more places would be adequate.  Maybe in
raeburn> theory not quite so portable across platforms, but it doesn't
raeburn> tie us to using the same compiler as TCL_LD_SEARCH_FLAGS can
raeburn> (e.g., "-Wl,-R,foo").

Part of the problem is that TCL_RPATH only gets used inside
CC_LINK_SHARED.  CC_LINK gets set to $(CC_LINK_SHARED) only if you're
building shared krb5 libs.  If you have a shared tcl lib and aren't
building shared krb5 libs, I can see how it would fail.

The easy solution to this would depend on whether it being possible to
have multiple -R or other equivalent RPATH flags concatentate on one
compiler command line.  More difficult solutions exist, but they
involve things like making a special CC_LINK_TCL_PROG variable or
something like that.

---Tom




More information about the krb5-bugs mailing list