Bug 2216730 - gsl: Test suit fails in ELN with -march=x86-64-v3
Summary: gsl: Test suit fails in ELN with -march=x86-64-v3
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gsl
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Susi Lehtola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2218349 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-22 11:31 UTC by Florian Weimer
Modified: 2024-11-27 21:13 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-11-27 21:13:43 UTC
Type: ---
Embargoed:
fweimer: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources gsl pull-request 1 0 None None None 2023-06-28 20:04:44 UTC
GNU Savannah 60335 0 None None None 2023-06-22 11:33:13 UTC
Red Hat Issue Tracker FC-868 0 None None None 2023-06-22 11:32:58 UTC

Internal Links: 2218349

Description Florian Weimer 2023-06-22 11:31:36 UTC
gsl-2.7.1-4 fails to build due to a test suite failure:

========================================
   gsl 2.7.1: spmatrix/test-suite.log
========================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test
==========
FAIL: gsl_spmatrix_complex_float_scale_columns[53,107](COO) real (6.17895793914794922 observed vs 6.17895841598510742 expected) [21704]
FAIL: gsl_spmatrix_complex_float_scale_columns[53,107](COO) imag (144.412811279296875 observed vs 144.412826538085938 expected) [21709]
FAIL: gsl_spmatrix_complex_float_scale_columns[53,107](COO) real (-26.8551254272460938 observed vs -26.8551292419433594 expected) [21710]
FAIL: gsl_spmatrix_complex_float_scale_columns[53,107](COO) imag (331.7882080078125 observed vs 331.788177490234375 expected) [21713]
FAIL: gsl_spmatrix_complex_float_scale_columns[53,107](COO) real (233.1878662109375 observed vs 233.187850952148438 expected) [21714]
FAIL: gsl_spmatrix_complex_float_scale_columns[53,107](COO) real (-64.1133270263671875 observed vs -64.1133346557617188 expected) [21716]
FAIL: gsl_spmatrix_complex_float_scale_columns[53,107](COO) real (7.33260345458984375 observed vs 7.33260154724121094 expected) [21720]
FAIL: gsl_spmatrix_complex_float_scale_columns[53,107](COO) imag (172.47174072265625 observed vs 172.471725463867188 expected) [21721]

And so on.

There is an upstream bug for this already, but it does not show any activity: <https://savannah.gnu.org/bugs/?60335>

I'm not sure if the discrepancy is harmless.

Reproducible: Always

Comment 1 Florian Weimer 2023-06-22 13:40:06 UTC
This is actually not a new issue.  The spec file already has:

# disable FMA
%ifarch aarch64 ppc64 ppc64le s390 s390x
export CFLAGS="%{optflags} -ffp-contract=off"
%endif

GCC's -ffp-contract=fast default seems increasingly suspect to me.

Comment 2 Florian Weimer 2023-06-22 14:05:14 UTC
On the other hand, injecting -ffp-contract=off into the build (by removing those conditionals) does not fix the issue on x86-64. Sad.

Comment 3 Yaakov Selkowitz 2023-06-28 19:44:57 UTC
*** Bug 2218349 has been marked as a duplicate of this bug. ***

Comment 4 Yaakov Selkowitz 2023-06-28 19:58:33 UTC
(In reply to Florian Weimer from comment #2)
> On the other hand, injecting -ffp-contract=off into the build (by removing
> those conditionals) does not fix the issue on x86-64. Sad.

Looks like it does in fact:

ELN scratch build succeeded: https://koji.fedoraproject.org/koji/taskinfo?taskID=102715329
F39 scratch build shows no regressions: https://koji.fedoraproject.org/koji/taskinfo?taskID=102715331

Comment 5 Fedora Release Engineering 2023-08-16 08:11:17 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 6 Aoife Moloney 2024-11-08 10:54:10 UTC
This message is a reminder that Fedora Linux 39 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '39'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 39 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 7 Aoife Moloney 2024-11-27 21:13:43 UTC
Fedora Linux 39 entered end-of-life (EOL) status on 2024-11-26.

Fedora Linux 39 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.