This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Test regressions for arm-eabi from "[PATCH] arm-nacl target support"

> From: Roland McGrath <>
> 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 <>.)

> 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/ -L/tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-arm -shared tmpdir/ tmpdir/use-thumb-lib.o
Executing on host: sh -c {/tmp/hpautotest-binutils/arm-unknown-eabi/ld/ld-new   -o tmpdir/ -L/tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-arm -shared tmpdir/ 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/ No such file or directory
/tmp/hpautotest-binutils/arm-unknown-eabi/ld/ld-new: cannot find tmpdir/ No such file or directory
FAIL: Using Thumb lib by another lib

Similar for the other test.  The tmpdir/ 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]