freebsd-dev/tools/build
Bryan Drewery fcd2678171 Allow specifying an alternative LD_LIBRARY_PATH for the ldd(1) lookup.
This is needed to be able to run check-links.sh against a "sysrooted"
binary while ensuring that the ldd(1) call done on the host uses the
host libc.  It is not possible to set LD_LIBRARY_PATH before calling
check-links.sh as then the "sysrooted" libc would be incorrectly used.

A LD_PRELOAD=libc.so is used to ldd(1) as it needs to use the host libc
to run.  ldd(1) is a simple wrapper around execve(2) and dlopen(2) with
env LD_TRACE_LOADED_OBJECTS set.  Due to the dlopen(2) restriction on
shared library tracing ldd(1) is still required for this lookup.

Sponsored by:	EMC / Isilon Storage Division
2016-01-19 22:42:16 +00:00
..
cross-build
make_check Don't stop other legs of a parallel build due to a failure in make_check. 2014-08-20 00:33:37 +00:00
mk Obsolete inetd related files when WITHOUT_INETD is set 2016-01-07 20:37:18 +00:00
options Support use of LLVM's libunwind for exception unwinding 2016-01-09 00:42:07 +00:00
check-links.sh Allow specifying an alternative LD_LIBRARY_PATH for the ldd(1) lookup. 2016-01-19 22:42:16 +00:00
dummy.c
Makefile Revert r290944. It was wrong. 2015-11-16 21:05:38 +00:00
Makefile.depend META_MODE: Remove DEP_RELDIR from Makefile.depend files. 2015-09-25 19:26:08 +00:00
stdlib.h Provide reallocarray() in -legacy, if needed, to allow building head on 2015-05-15 22:19:35 +00:00