On Wed, 2006-12-06 at 16:36 -0500, James Carlson wrote:
> The AT&T library in question will have been built against the proto
> area's header files. Thus, if someone decides that we need to change
> the signature of a function (using redefine_extname and a #define),
> we'll end up with inadvertent references from the newly-built AT&T
> library to the not-yet-existent redefined symbol. Perhaps unlikely,
> but not impossible.
>
> I think using LD_LIBRARY_PATH (or, for that matter, LD_PRELOAD) as any
> part of the build process ought to be avoided. We go to great lengths
> elsewhere to make sure that the few bits that must be run on the build
> machine are built correctly -- not using the proto area at all.
Sounds like libpp and the tools which invoke it ought to be built as
host code out of usr/src/tools (and packaged into /opt/onbld for those
not using nightly -t).
- Bill