[3570] in Kerberos-V5-bugs
Re: [krbdev.mit.edu #1228] two bugs in tcl-based tests
daemon@ATHENA.MIT.EDU (Tom Yu via RT)
Wed Oct 30 17:34:16 2002
Mail-Followup-To: rt@krbdev.mit.edu
Message-Id: <rt-1228-3254.17.1432597374492@krbdev.mit.edu>
In-Reply-To: <rt-1228@krbdev.mit.edu>
From: "Tom Yu via RT" <rt-comment@krbdev.mit.edu>
Reply-To: rt-comment@krbdev.mit.edu
Mail-Copies-To: never
To: raeburn@mit.edu
Cc: krb5-prs@mit.edu
Errors-To: krb5-bugs-admin@mit.edu
Date: Wed, 30 Oct 2002 17:33:42 -0500 (EST)
>>>>> "raeburn" == Ken Raeburn via RT <rt-comment@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
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
http://mailman.mit.edu/mailman/listinfo/krb5-bugs