Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure with GCC 14 #7042

Open
3 tasks done
jcelerier opened this issue Nov 4, 2024 · 0 comments
Open
3 tasks done

Build failure with GCC 14 #7042

jcelerier opened this issue Nov 4, 2024 · 0 comments
Labels
bug Not a build issue, this is likely a bug.

Comments

@jcelerier
Copy link

Checklist

Describe the issue

Build error when trying to build the ArchLinux AUR package https://aur.archlinux.org/packages/open3d-git :

[ 57%] Building CXX object cpp/open3d/t/geometry/CMakeFiles/tgeometry.dir/RaycastingScene.cpp.o
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/immintrin.h:43,
                 from /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/build/eigen/src/ext_eigen/Eigen/src/Core/util/ConfigureVectorization.h:361,
                 from /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/build/eigen/src/ext_eigen/Eigen/Core:22,
                 from /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/cpp/open3d/geometry/PointCloud.h:10,
                 from /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/cpp/open3d/t/geometry/PointCloud.h:17,
                 from /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/cpp/open3d/t/geometry/RaycastingScene.h:14,
                 from /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/cpp/open3d/t/geometry/RaycastingScene.cpp:12:
In function ‘__m256 _mm256_loadu_ps(const float*)’,
    inlined from ‘Packet Eigen::internal::ploadu(const typename unpacket_traits<T>::type*) [with Packet = __vector(8) float]’ at /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/build/eigen/src/ext_eigen/Eigen/src/Core/arch/AVX/PacketMath.h:631:128,
    inlined from ‘Packet Eigen::internal::ploadt(const typename unpacket_traits<T>::type*) [with Packet = __vector(8) float; int Alignment = 0]’ at /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/build/eigen/src/ext_eigen/Eigen/src/Core/GenericPacketMath.h:971:26,
    inlined from ‘PacketType Eigen::internal::evaluator<Eigen::PlainObjectBase<Derived> >::packet(Eigen::Index) const [with int LoadMode = 0; PacketType = __vector(8) float; Derived = Eigen::Matrix<float, 6, 1>]’ at /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/build/eigen/src/ext_eigen/Eigen/src/Core/CoreEvaluators.h:247:40,
    inlined from ‘void Eigen::internal::generic_dense_assignment_kernel<DstEvaluatorTypeT, SrcEvaluatorTypeT, Functor, Version>::assignPacket(Eigen::Index) [with int StoreMode = 32; int LoadMode = 0; PacketType = __vector(8) float; DstEvaluatorTypeT = Eigen::internal::evaluator<Eigen::Block<Eigen::Map<Eigen::Matrix<float, -1, -1> >, -1, 1, true> >; SrcEvaluatorTypeT = Eigen::internal::evaluator<Eigen::Matrix<float, 6, 1> >; Functor = Eigen::internal::assign_op<float, float>; int Version = 0]’ at /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/build/eigen/src/ext_eigen/Eigen/src/Core/AssignEvaluator.h:682:114,
    inlined from ‘static void Eigen::internal::dense_assignment_loop<Kernel, 3, 0>::run(Kernel&) [with Kernel = Eigen::internal::generic_dense_assignment_kernel<Eigen::internal::evaluator<Eigen::Block<Eigen::Map<Eigen::Matrix<float, -1, -1> >, -1, 1, true> >, Eigen::internal::evaluator<Eigen::Matrix<float, 6, 1> >, Eigen::internal::assign_op<float, float>, 0>]’ at /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/build/eigen/src/ext_eigen/Eigen/src/Core/AssignEvaluator.h:438:75,
    inlined from ‘void Eigen::internal::call_dense_assignment_loop(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Map<Eigen::Matrix<float, -1, -1> >, -1, 1, true>; SrcXprType = Eigen::Matrix<float, 6, 1>; Functor = assign_op<float, float>]’ at /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/build/eigen/src/ext_eigen/Eigen/src/Core/AssignEvaluator.h:786:37,
    inlined from ‘static void Eigen::internal::Assignment<DstXprType, SrcXprType, Functor, Eigen::internal::Dense2Dense, Weak>::run(DstXprType&, const SrcXprType&, const Functor&) [with DstXprType = Eigen::Block<Eigen::Map<Eigen::Matrix<float, -1, -1> >, -1, 1, true>; SrcXprType = Eigen::Matrix<float, 6, 1>; Functor = Eigen::internal::assign_op<float, float>; Weak = void]’ at /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/build/eigen/src/ext_eigen/Eigen/src/Core/AssignEvaluator.h:955:31,
    inlined from ‘void Eigen::internal::call_assignment_no_alias(Dst&, const Src&, const Func&) [with Dst = Eigen::Block<Eigen::Map<Eigen::Matrix<float, -1, -1> >, -1, 1, true>; Src = Eigen::Matrix<float, 6, 1>; Func = assign_op<float, float>]’ at /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/build/eigen/src/ext_eigen/Eigen/src/Core/AssignEvaluator.h:891:49,
    inlined from ‘void Eigen::internal::call_assignment(Dst&, const Src&, const Func&, typename enable_if<(! evaluator_assume_aliasing<Src>::value), void*>::type) [with Dst = Eigen::Block<Eigen::Map<Eigen::Matrix<float, -1, -1> >, -1, 1, true>; Src = Eigen::Matrix<float, 6, 1>; Func = assign_op<float, float>]’ at /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/build/eigen/src/ext_eigen/Eigen/src/Core/AssignEvaluator.h:859:27,
    inlined from ‘void Eigen::internal::call_assignment(Dst&, const Src&) [with Dst = Eigen::Block<Eigen::Map<Eigen::Matrix<float, -1, -1> >, -1, 1, true>; Src = Eigen::Matrix<float, 6, 1>]’ at /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/build/eigen/src/ext_eigen/Eigen/src/Core/AssignEvaluator.h:837:18,
    inlined from ‘Derived& Eigen::MatrixBase<Derived>::operator=(const Eigen::DenseBase<OtherDerived>&) [with OtherDerived = Eigen::Matrix<float, 6, 1>; Derived = Eigen::Block<Eigen::Map<Eigen::Matrix<float, -1, -1> >, -1, 1, true>]’ at /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/build/eigen/src/ext_eigen/Eigen/src/Core/Assign.h:68:28,
    inlined from ‘static open3d::core::Tensor open3d::t::geometry::RaycastingScene::CreateRaysPinhole(const open3d::core::Tensor&, const open3d::core::Tensor&, int, int)’ at /home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/cpp/open3d/t/geometry/RaycastingScene.cpp:1113:40:
/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include/avxintrin.h:905:23: error: array subscript ‘__m256_u[0]’ is partly outside array bounds of ‘Eigen::Matrix<float, 6, 1> [1]’ [-Werror=array-bounds=]
  905 |   return *(__m256_u *)__P;
      |                       ^~~
/home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/cpp/open3d/t/geometry/RaycastingScene.cpp: In static member function ‘static open3d::core::Tensor open3d::t::geometry::RaycastingScene::CreateRaysPinhole(const open3d::core::Tensor&, const open3d::core::Tensor&, int, int)’:
/home/jcelerier/.cache/paru/clone/open3d-git/src/open3d-git/cpp/open3d/t/geometry/RaycastingScene.cpp:1105:32: note: at offset [0, 20] into object ‘r’ of size 24
 1105 |     Eigen::Matrix<float, 6, 1> r;
      |                                ^

Steps to reproduce the bug

Try to build the package with makepkg -si

Error message

No response

Expected behavior

No response

Open3D, Python and System information

- Operating system: Arch Linux
- Open3D version: git head
- System architecture: x86_64
- Is this a remote workstation?: no
- How did you install Open3D?: build from source
- Compiler version (if built from source): gcc 14.2 as provided by archlinux

Additional information

No response

@jcelerier jcelerier added the bug Not a build issue, this is likely a bug. label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not a build issue, this is likely a bug.
Projects
None yet
Development

No branches or pull requests

1 participant