[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/27751] test failure on powerpc-linux-gnu
From: |
efraim at flashner dot co.il |
Subject: |
[Bug binutils/27751] test failure on powerpc-linux-gnu |
Date: |
Mon, 19 Apr 2021 19:07:30 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27751
--- Comment #2 from Efraim Flashner <efraim at flashner dot co.il> ---
On Mon, Apr 19, 2021 at 02:51:30PM +0000, nickc at redhat dot com wrote:
> Hi Efraim,
>
> I am unable to reproduce these failures. (As in, when I run the libiberty
> testsuite from the 2.36 branch, all of the tests pass).
>
> I suppose in theory it could be related to the version of gcc you are using
> to build libiberty.a. I am using gcc 10.2.1 from Fedora 32.
>
> Do you have a copy of the gcc sources available ? If so, can you try
> running
> the libiberty testsuite from a build of those sources and see if it produces
> similar results.
>
> Cheers
> Nick
>
I ran the tests a couple of times. The first time I tested the libiberty
from 10.4.0, 8.4.0 and 5.5.0 using Debian's gcc, 10.2.1. In all of those
the tests all passed. Then I ran it again using the gcc I used when the
tests failed, a statically linked gcc-5.5.0, using the saved environment
from the reported failure. Again all the tests passed in all the gcc
libiberty versions. (I realize that rust-test-demangle isn't in gcc-5.)
I then downloaded a fresh copy of binutils-2.36.1 and ran the test suite
for libiberty there using Debian's gcc-10.2.1.
(ins)efraim@g4:~/workspace/binutils-2.36.1/libiberty$ make check
make[1]: Entering directory
'/home/efraim/workspace/binutils-2.36.1/libiberty/testsuite'
gcc -DHAVE_CONFIG_H -g -O2 -I.. -I./../../include -o test-demangle \
./test-demangle.c ../libiberty.a
./test-demangle < ./demangle-expected
./test-demangle: 347 tests, 0 failures
./test-demangle < ./d-demangle-expected
./test-demangle: 350 tests, 0 failures
./test-demangle < ./rust-demangle-expected
FAIL at line 222, options --format=rust:
in: _RMCs4fqI2P2rA04_13const_genericINtB0_4CharKc76_E
out: <const_generic::Char<'
exp: <const_generic::Char<'v'>>
FAIL at line 285, options --format=auto:
in: _RMCs4fqI2P2rA04_13const_genericINtB0_4CharKc76_E
out: <const_generic::Char<'
exp: <const_generic::Char<'v'>>
./test-demangle: 68 tests, 2 failures
make[1]: *** [Makefile:58: check-rust-demangle] Error 1
make[1]: Leaving directory
'/home/efraim/workspace/binutils-2.36.1/libiberty/testsuite'
make: *** [Makefile:504: check-subdir] Error 2
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/27751] New: test failure on powerpc-linux-gnu, efraim at flashner dot co.il, 2021/04/18
- [Bug binutils/27751] test failure on powerpc-linux-gnu, efraim at flashner dot co.il, 2021/04/18
- [Bug binutils/27751] test failure on powerpc-linux-gnu, nickc at redhat dot com, 2021/04/19
- [Bug binutils/27751] test failure on powerpc-linux-gnu,
efraim at flashner dot co.il <=
- [Bug binutils/27751] test failure on powerpc-linux-gnu, nickc at redhat dot com, 2021/04/20
- [Bug binutils/27751] test failure on powerpc-linux-gnu, efraim at flashner dot co.il, 2021/04/20
- [Bug binutils/27751] test failure on powerpc-linux-gnu, nickc at redhat dot com, 2021/04/20
- [Bug binutils/27751] test failure on powerpc-linux-gnu, address@hidden, 2021/04/20
- [Bug binutils/27751] test failure on powerpc-linux-gnu, address@hidden, 2021/04/20
- [Bug binutils/27751] test failure on powerpc-linux-gnu, efraim at flashner dot co.il, 2021/04/20
- [Bug binutils/27751] test failure on powerpc-linux-gnu, nickc at redhat dot com, 2021/04/21