Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1923608 - xsimd FTBFS on aarch64 since GCC 11: error: 'numeric_limits' is not a member of 'std'
Summary: xsimd FTBFS on aarch64 since GCC 11: error: 'numeric_limits' is not a member ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: xsimd
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker F34FTBFS
TreeView+ depends on / blocked
 
Reported: 2021-02-01 17:19 UTC by Fedora Release Engineering
Modified: 2021-02-18 11:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-18 11:01:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2021-02-01 17:19 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2021-02-01 17:19 UTC, Fedora Release Engineering
no flags Details
state.log (951 bytes, text/plain)
2021-02-01 17:19 UTC, Fedora Release Engineering
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github xtensor-stack xsimd pull 415 0 None open Fix missing include for gcc-11 2021-02-18 10:00:54 UTC

Description Fedora Release Engineering 2021-02-01 17:19:23 UTC
xsimd failed to build from source in Fedora rawhide/f34

https://koji.fedoraproject.org/koji/taskinfo?taskID=60912996


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Please fix xsimd at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
xsimd will be orphaned. Before branching of Fedora 35,
xsimd will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2021-02-01 17:19:25 UTC
Created attachment 1753776 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2021-02-01 17:19:26 UTC
Created attachment 1753777 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2021-02-01 17:19:27 UTC
Created attachment 1753778 [details]
state.log

Comment 4 Miro Hrončok 2021-02-01 17:26:59 UTC
This happens on aarch64 since GCC 11.


[ 30%] Building CXX object test/CMakeFiles/test_xsimd.dir/xsimd_error_gamma_test.cpp.o
cd /builddir/build/BUILD/xsimd-7.4.9/aarch64-redhat-linux-gnu/test && /usr/bin/g++  -I/builddir/build/BUILD/xsimd-7.4.9/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -march=native -g -fPIC -Wunused-parameter -Wextra -Wreorder -std=c++11 -DNDEBUG -o CMakeFiles/test_xsimd.dir/xsimd_error_gamma_test.cpp.o -c /builddir/build/BUILD/xsimd-7.4.9/test/xsimd_error_gamma_test.cpp
In file included from /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_traits.hpp:16,
                 from /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/xsimd.hpp:16,
                 from /builddir/build/BUILD/xsimd-7.4.9/test/xsimd_algorithms.cpp:15:
/builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_neon_conversion.hpp: In function 'xsimd::batch<double, 2> xsimd::bitwise_cast(const xsimd::batch_bool<double, 2>&)':
/builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/../types/xsimd_base.hpp:606:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  606 |         *reinterpret_cast<int_type*>(&z1) = ~int_type(0);                      \
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_neon_conversion.hpp:60:5: note: in expansion of macro 'XSIMD_DEFINE_BITWISE_CAST_FLOAT'
   60 |     XSIMD_DEFINE_BITWISE_CAST_FLOAT(double, 2)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_neon_conversion.hpp: In function 'xsimd::batch<float, 4> xsimd::bitwise_cast(const xsimd::batch_bool<float, 4>&)':
/builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/../types/xsimd_base.hpp:606:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  606 |         *reinterpret_cast<int_type*>(&z1) = ~int_type(0);                      \
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_neon_conversion.hpp:62:5: note: in expansion of macro 'XSIMD_DEFINE_BITWISE_CAST_FLOAT'
   62 |     XSIMD_DEFINE_BITWISE_CAST_FLOAT(float, 4)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_neon_complex.hpp:25,
                 from /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_types_include.hpp:69,
                 from /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_traits.hpp:17,
                 from /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/xsimd.hpp:16,
                 from /builddir/build/BUILD/xsimd-7.4.9/test/xsimd_algorithms.cpp:15:
/builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_complex_base.hpp: At global scope:
/builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_complex_base.hpp:102:45: error: 'numeric_limits' is not a member of 'std'
  102 |         : std::integral_constant<bool, std::numeric_limits<std::complex<T>>::is_iec559>
      |                                             ^~~~~~~~~~~~~~
/builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_complex_base.hpp:102:45: error: 'numeric_limits' is not a member of 'std'
/builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_complex_base.hpp:102:74: error: template argument 2 is invalid
  102 |         : std::integral_constant<bool, std::numeric_limits<std::complex<T>>::is_iec559>
      |                                                                          ^~
/builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_complex_base.hpp:102:76: error: expected '{' before '::' token
  102 |         : std::integral_constant<bool, std::numeric_limits<std::complex<T>>::is_iec559>
      |                                                                            ^~

Comment 5 Ben Cotton 2021-02-09 15:57:53 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 6 Fedora Release Engineering 2021-02-14 04:27:19 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 34.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-03-29).

A week before the mass branching of Fedora 35 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 33 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-35/f-35-key-tasks.html

Comment 7 Fedora Release Engineering 2021-02-14 04:27:19 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 34.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-03-29).

A week before the mass branching of Fedora 35 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 33 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-35/f-35-key-tasks.html

Comment 8 Miro Hrončok 2021-02-18 09:51:59 UTC
Trying to add:

#include <limits>

Into include/xsimd/types/xsimd_complex_base.hpp

Similarly to https://github.com/xtensor-stack/xsimd/pull/395


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