This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Test regressions for arm-eabi from "[PATCH] arm-nacl target support"
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: mcgrathr at google dot com
- Cc: binutils at sourceware dot org, nickc at redhat dot com, sehr at google dot com
- Date: Fri, 13 Apr 2012 17:55:06 +0200
- Subject: Test regressions for arm-eabi from "[PATCH] arm-nacl target support"
> From: Roland McGrath <mcgrathr@google.com>
> Date: Tue, 10 Apr 2012 19:44:46 +0200
> This adds full support for arm-nacl targets.
>
> I posted this before and got no responses.
> Can I get some attention from an ARM maintainer?
>
> In my previous postings I accidentally omitted the new files. I also
> failed to mention that this has no regressions for 'make check' on
> --target=arm-linux-gnueabi (cross).
It seems to have caused failures for --target=arm-unknown-eabi.
> (There is one pre-existing failure
> in ld's 'make check': "FAIL: Common symbol override test". This is also
> the only failure in whole-tree 'make check' for --target=arm-nacl.)
(This is <http://sourceware.org/bugzilla/show_bug.cgi?id=13802>.)
> I've touched a lot of testsuite files, but in simple ways. Mostly it
> enables and disables tests for the new target. For some existing tests,
> I loosened the regexps so they don't require all the exact addresses to
> match, since these vary by target.
The failures my autotester sees are:
Running /tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-arm/arm-elf.exp ...
FAIL: Using Thumb lib by another lib
FAIL: Preempt Thumb symbol
The messages in ld.log indicates an ordering problem with the
rearrangement of the ld-arm/arm-elf.exp testsuite tables:
/tmp/hpautotest-binutils/arm-unknown-eabi/ld/../gas/as-new -o tmpdir/use-thumb-lib.o /tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-arm/use-thumb-lib.s
Executing on host: sh -c {/tmp/hpautotest-binutils/arm-unknown-eabi/ld/../gas/as-new -o tmpdir/use-thumb-lib.o /tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-arm/use-thumb-lib.s 2>&1} /dev/null ld.tmp (timeout = 300)
/tmp/hpautotest-binutils/arm-unknown-eabi/ld/ld-new -o tmpdir/use-thumb-lib.so -L/tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-arm -shared tmpdir/mixed-lib.so tmpdir/use-thumb-lib.o
Executing on host: sh -c {/tmp/hpautotest-binutils/arm-unknown-eabi/ld/ld-new -o tmpdir/use-thumb-lib.so -L/tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-arm -shared tmpdir/mixed-lib.so tmpdir/use-thumb-lib.o 2>&1} /dev/null ld.tmp (timeout = 300)
/tmp/hpautotest-binutils/arm-unknown-eabi/ld/ld-new: cannot find tmpdir/mixed-lib.so: No such file or directory
/tmp/hpautotest-binutils/arm-unknown-eabi/ld/ld-new: cannot find tmpdir/mixed-lib.so: No such file or directory
FAIL: Using Thumb lib by another lib
Similar for the other test. The tmpdir/mixed-lib.so DSO can be
seen created later in the log.
I'm afraid the tables in ldarm/arm-elf.exp have grown in
complexity beyond what I'd try fixing-for-obvious rather than
just reporting.
brgds, H-P