[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Patches] FSF merges 2012-03-03
- To: Thomas Schwinge <thomas@xxxxxxxxxxxxxxxx>
- Subject: Re: [Patches] FSF merges 2012-03-03
- From: "Joseph S. Myers" <joseph@xxxxxxxxxxxxxxxx>
- Date: Tue, 20 Mar 2012 20:16:20 +0000 (UTC)
On Tue, 20 Mar 2012, Thomas Schwinge wrote:
> I figured out that the following patch is needed to make the new
> elf/tst-unused-dep.out test functional in a cross-testing environment, to
> avoid to (try to) execute it on the build system:
>
> * elf/Makefile ($(objpfx)tst-unused-dep.out): Run through the
> cross-test-wrapper.
>
> Index: elf/Makefile
> ===================================================================
> --- elf/Makefile (revision 17601)
> +++ elf/Makefile (working copy)
> @@ -1142,6 +1142,8 @@
> tests: $(objpfx)tst-unused-dep.out
>
> $(objpfx)tst-unused-dep.out: $(objpfx)testobj1.so
> + $(cross-test-wrapper) \
> + /usr/bin/env \
> LD_TRACE_LOADED_OBJECTS=1 \
> LD_DEBUG=unused \
> LD_PRELOAD= \
Normally you'd use run-with-env.sh (and set the variables outside the call
to $(cross-test-wrapper) - this may require adding extra EGLIBC_* variable
handling to run-with-env.sh). That is, <env settings>
$(cross-test-wrapper) $(..)scripts/run-with-env.sh <command>.
--
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx
_______________________________________________
Patches mailing list
Patches@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/patches