Bug 1745840

Summary: xtl tests fail on armv7hl
Product: [Fedora] Fedora Reporter: Elliott Sales de Andrade <quantum.analyst>
Component: xtlAssignee: Elliott Sales de Andrade <quantum.analyst>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: quantum.analyst
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: xtl-0.6.12-2.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-15 03:04:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 485251    

Description Elliott Sales de Andrade 2019-08-27 05:09:50 UTC
Description of problem:
xtl tests are broken with gcc 9+ on armv7hl. This used to with on F29 with gcc 8.


Version-Release number of selected component (if applicable):
xtl-0.6.4


Actual results:
[ RUN      ] xfixed_string.copy_semantic
/builddir/build/BUILD/xtl-0.6.4/test/test_xbasic_fixed_string.cpp:108: Failure
Expected equality of these values:
  s.size()
    Which is: 11
  ref2.size()
    Which is: 9
[  FAILED  ] xfixed_string.copy_semantic (0 ms)

[ RUN      ] xfixed_string.resize
/builddir/build/BUILD/xtl-0.6.4/test/test_xbasic_fixed_string.cpp:409: Failure
Expected equality of these values:
  s2.c_str()
    Which is: "operation"
  "operationaa"
[  FAILED  ] xfixed_string.resize (0 ms)


Expected results:
Tests pass.


Additional info:

Comment 1 Ben Cotton 2020-02-11 17:58:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 2 Elliott Sales de Andrade 2020-02-15 03:04:00 UTC
This has been magically fixed by either gcc 10 or glibc 2.31 in Fedora 32.