[PATCH] ld: work around pr17618 testcase failure
Jan Beulich
JBeulich@suse.com
Tue Feb 21 10:14:00 GMT 2017
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"
More information about the Binutils
mailing list