V2 [PATCH] Add a testcase for PR binutils/23460
H.J. Lu
hjl.tools@gmail.com
Wed Aug 1 19:31:00 GMT 2018
On Wed, Aug 1, 2018 at 11:27 AM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> Add a testcase to limit open files to 16 for AR with plugin. Before
>
> commit 103da91bc083f94769e3758175a96d06cef1f8fe
> Author: Nick Clifton <nickc@redhat.com>
> Date: Wed Aug 1 14:34:41 2018 +0100
>
> Close resource leaks in the BFD library's plugin handler.
>
> it failed with:
>
> ../binutils/ar: tmpdir/pr23460f.o: plugin needed to handle lto object
>
> OK for master branch?
>
The updated patch with
+ set exec_output [run_host_cmd "sh -c \"ulimit -n 16; \
+ $ar -rc $plug_opt \
+ tmpdir/libpr23460.a \
+ tmpdir/pr23460a.o \
+ tmpdir/pr23460b.o \
+ tmpdir/pr23460c.o \
+ tmpdir/pr23460d.o \
+ tmpdir/pr23460e.o \
+ tmpdir/pr23460f.o\"" ""]
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-testcase-for-PR-binutils-23460.patch
Type: text/x-patch
Size: 4005 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180801/9ff069d5/attachment.bin>
More information about the Binutils
mailing list