bug-guix
[Top][All Lists]
Advanced

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

bug#68429: Catch2-3.5.1 tests fails on i686-linux, SSE extension


From: Richard Sent
Subject: bug#68429: Catch2-3.5.1 tests fails on i686-linux, SSE extension
Date: Sat, 13 Jan 2024 11:43:36 -0500

Opening a ticket so discussions a bit more organized. Hope this doesn't step on anybody's toes.
Catch2-3.5.1 fails to build with system=i686-linux, log attached. This 
is due to a test added upstream that assumes the SSE extension is 
present, 
SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp:570.
One fix was proposed that replaces GCC with Clang, attached. This works 
because Clang assumes the SSE extension by default. If we add 
"-DCMAKE_CXX_FLAGS=-mno-sse", the test fails again.
Another solution is to add "-DCMAKE_CXX_FLAGS=-msse -mfpmath=sse" to the 
existing package definition.
Of the two, the second is more explicit in how the problem is resolved, 
but I don't know if we should assume SSE is present on i686.
An issue was opened upstream at 
https://github.com/catchorg/Catch2/issues/2796
Richard Sent

Attachment: clang-fix.diff
Description: Text Data

Attachment: sll1zarpy78qi6fgrz9xrpx99hhn3b-catch2-3.5.1.drv.gz
Description: application/gzip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]