[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#825865: glibc: Testsuite failure on sparc64 due to unaligned access in wcsmbs/test-wcsncmp.c



On 2016-05-31 00:21, John Paul Adrian Glaubitz wrote:
> Source: glibc
> Version: 2.22-9
> Severity: normal
> Tags: patch
> User: debian-sparc@lists.debian.org
> Usertags: sparc64
> 
> Hi!
> 
> glibc currently fails to build from source on sparc64 due at least one test
> in the testsuite failing which is due to a bus error (unaligned access):
> 
> ----------
> XFAIL: wcsmbs/test-wcsncmp
> original exit status 1
> 			wcsncmp	simple_wcsncmp	stupid_wcsncmp
> Didn't expect signal from child: got `Bus error'
> ----------

While the issue is real, this is not the reason while the package fails
to build from source. The test is marked as XFAIL as shown above.

> I have notified glibc upstream of these issue - not in a bug report but by
> talking to one of the developers and I have now a patch that fixes the
> problem [1].
> 
> This patch applies cleanly to glibc 2.22-9 in Debian unstable when dropping
> the Changelog part from the upstream patch, so I'm attaching a patch with
> this part removed as a suggestion for what to include in the Debian package.

Thanks for submitting the patch upstream. Given the above, I think it is
better to wait for an answer from upstream before applying it.

> Please note: I was still getting some spurious test failures in rt/tst-mqueue5
> due to timeouts. But those could also be a local issue which needs some further
> investiogation (might be related to TIMEOUTFACTOR in debian/build.mk).

TIMEOUTFACTOR just increases the timeout, if you don't specify it, the
test will just fail faster.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: