Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926706 - dev-libs/simde-0.7.6-r1 fails tests on x86: assertion failed: r[15] == simde_mm512_loadu_epi16(test_vec[7].r)[15] (183 == 119)
Summary: dev-libs/simde-0.7.6-r1 fails tests on x86: assertion failed: r[15] == simde_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL: https://github.com/simd-everywhere/si...
Whiteboard:
Keywords:
Depends on:
Blocks: 925487
  Show dependency tree
 
Reported: 2024-03-10 20:35 UTC by matoro
Modified: 2024-03-10 21:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (build.log.gz,147.18 KB, application/gzip)
2024-03-10 20:36 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-03-10 20:35:40 UTC
Same error does not occur on amd64.


 105/1550 x86/avx512/dbsad/emul/c                           ERROR           0.07s   exit status 1passed
>>> UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=164 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 /var/tmp/portage/dev-libs/simde-0.7.6-r1/work/simde-0.7.6-build/test/x86/avx512/dbsad-emul-c
 ✀  
stderr:
../simde-0.7.6/test/x86/avx512/dbsad.c:1156: assertion failed: r[15] == simde_mm512_loadu_epi16(test_vec[7].r)[15] (183 == 119)

(test program exited with status code 1)


 106/1550 x86/avx512/dbsad/native/c                         ERROR           0.07s   exit status 1
>>> UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=30 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 /var/tmp/portage/dev-libs/simde-0.7.6-r1/work/simde-0.7.6-build/test/x86/avx512/dbsad-native-c
 ✀  
stderr:
../simde-0.7.6/test/x86/avx512/dbsad.c:1156: assertion failed: r[15] == simde_mm512_loadu_epi16(test_vec[7].r)[15] (183 == 119)

(test program exited with status code 1)


 107/1550 x86/avx512/dbsad/emul/cpp                         ERROR           0.06s   exit status 1
>>> UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=164 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 /var/tmp/portage/dev-libs/simde-0.7.6-r1/work/simde-0.7.6-build/test/x86/avx512/dbsad-emul-cpp
 ✀  
stderr:
test/x86/avx512/dbsad.cpp:1156: assertion failed: r[15] == simde_mm512_loadu_epi16(test_vec[7].r)[15] (183 == 119)

(test program exited with status code 1)


 108/1550 x86/avx512/dbsad/native/cpp                       ERROR           0.06s   exit status 1
>>> UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=155 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 /var/tmp/portage/dev-libs/simde-0.7.6-r1/work/simde-0.7.6-build/test/x86/avx512/dbsad-native-cpp
 ✀  
stderr:
test/x86/avx512/dbsad.cpp:1156: assertion failed: r[15] == simde_mm512_loadu_epi16(test_vec[7].r)[15] (183 == 119)

(test program exited with status code 1)

Reproducible: Always
Comment 1 matoro archtester 2024-03-10 20:36:35 UTC
Created attachment 887275 [details]
build.log and emerge --info
Comment 2 Ionen Wolkens gentoo-dev 2024-03-10 20:46:56 UTC
Looks like same as $URL, doesn't look too important (and that bit is unused by the only revdep), so think will skip it until upstream looks at it.
Comment 3 Larry the Git Cow gentoo-dev 2024-03-10 21:20:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63dd60711c790972843104723eaa15a354b55f8f

commit 63dd60711c790972843104723eaa15a354b55f8f
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-03-10 21:20:10 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-03-10 21:20:37 +0000

    dev-libs/simde: skip known failing dbsad tests on x86
    
    Closes: https://bugs.gentoo.org/926706
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-libs/simde/simde-0.7.6-r1.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)