This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] ld: work around pr17618 testcase failure
- From: "Jan Beulich" <JBeulich at suse dot com>
- To: <binutils at sourceware dot org>
- Date: Tue, 21 Feb 2017 03:14:50 -0700
- Subject: [PATCH] ld: work around pr17618 testcase failure
- Authentication-results: sourceware.org; auth=none
Some change from 2.26.1 to 2.27 causes the ld-x86-64/pr17618 test to
exhaust memory on a 32-bit host. Generally converting memory exhaustion
to "unsupported" may not be the best solution, but I couldn't think of
reasonable alternatives.
ld/
2017-02-21 Jan Beulich <jbeulich@suse.com>
* ld/testsuite/lib/ld-lib.exp (run_dump_test): Treat memory
exhaustion caused by a test as unsupported.
--- 2017-02-21/ld/testsuite/lib/ld-lib.exp
+++ 2017-02-21/ld/testsuite/lib/ld-lib.exp
@@ -933,6 +933,11 @@ proc run_dump_test { name {extra_options
remote_file build delete "ld.tmp"
set cmdret [lindex $cmdret 0]
+ if [regexp "Memory exhausted" $comp_output] {
+ unsupported $testname
+ return
+ }
+
if { $cmdret == 0 && $run_objcopy } {
set infile $objfile
set objfile "tmpdir/dump1"