[MacPorts] #67777: PDAL: possible to switch to using our Eigen3?

MacPorts noreply at macports.org
Thu Jul 20 23:17:30 UTC 2023


#67777: PDAL: possible to switch to using our Eigen3?
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  Veence
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  powerpc
      Port:  PDAL          |
---------------------------+----------------------

Comment (by barracuda156):

 {{{
 :info:build [ 18%] Built target lasdump
 :info:build [ 18%] Building CXX object
 CMakeFiles/pdalcpp.dir/filters/ColorinterpFilter.cpp.o
 :info:build /opt/local/bin/g++-mp-12 -DUNIX -Dpdalcpp_EXPORTS
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/build/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/vendor
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/vendor/eigen
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/vendor/nlohmann
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/vendor/utfcpp/source
 -I/opt/local/include -I/opt/local/include/libxml2 -pipe
 -I/opt/local/libexec/openssl3/include -Os -DNDEBUG
 -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include/LegacySupport -isystem/opt/local/include -g
 -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 -arch ppc -mmacosx-version-min=10.6
 -fPIC -Wno-implicit-fallthrough -Wno-int-in-bool-context -Wno-dangling-
 else -Wno-noexcept-type -Wall -Wextra -Wpointer-arith -Wcast-align -Wcast-
 qual -Wno-error=parentheses -Wno-error=cast-qual -Wredundant-decls -Wno-
 unused-parameter -Wno-unused-variable -Wno-long-long -Wno-unknown-pragmas
 -Wno-deprecated-declarations -fvisibility=hidden -fvisibility-inlines-
 hidden -MD -MT CMakeFiles/pdalcpp.dir/filters/ColorinterpFilter.cpp.o -MF
 CMakeFiles/pdalcpp.dir/filters/ColorinterpFilter.cpp.o.d -o
 CMakeFiles/pdalcpp.dir/filters/ColorinterpFilter.cpp.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/filters/ColorinterpFilter.cpp
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/vendor/eigen/Eigen/Core:203,
 :info:build                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/vendor/eigen/Eigen/Dense:1,
 :info:build                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/pdal/private/MathUtils.hpp:45,
 :info:build                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/filters/ApproximateCoplanarFilter.cpp:39:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/vendor/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:
 In function 'Packet Eigen::internal::psqrt(const Packet&) [with Packet =
 eigen_packet_wrapper<__vector(8) short unsigned int, 0>]':
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/vendor/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:1262:24:
 error: '__builtin_vsx_xvsqrtsp' requires the '-mvsx' option
 :info:build  1262 |   Packet4f op_even = OP(a_even);\
 :info:build       |                        ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/vendor/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:1296:3:
 note: in expansion of macro 'BF16_TO_F32_UNARY_OP_WRAPPER'
 :info:build  1296 |   BF16_TO_F32_UNARY_OP_WRAPPER(vec_sqrt, a);
 :info:build       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/vendor/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:1262:24:
 note: overloaded builtin '__builtin_vec_sqrt' is implemented by builtin
 '__builtin_vsx_xvsqrtsp'
 :info:build  1262 |   Packet4f op_even = OP(a_even);\
 :info:build       |                        ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/vendor/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:1296:3:
 note: in expansion of macro 'BF16_TO_F32_UNARY_OP_WRAPPER'
 :info:build  1296 |   BF16_TO_F32_UNARY_OP_WRAPPER(vec_sqrt, a);
 :info:build       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/vendor/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:1263:23:
 error: '__builtin_vsx_xvsqrtsp' requires the '-mvsx' option
 :info:build  1263 |   Packet4f op_odd = OP(a_odd);\
 :info:build       |                       ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/vendor/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:1296:3:
 note: in expansion of macro 'BF16_TO_F32_UNARY_OP_WRAPPER'
 :info:build  1296 |   BF16_TO_F32_UNARY_OP_WRAPPER(vec_sqrt, a);
 :info:build       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/vendor/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:1263:23:
 note: overloaded builtin '__builtin_vec_sqrt' is implemented by builtin
 '__builtin_vsx_xvsqrtsp'
 :info:build  1263 |   Packet4f op_odd = OP(a_odd);\
 :info:build       |                       ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_pdal/PDAL/work/PDAL-2.5.5-src/vendor/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:1296:3:
 note: in expansion of macro 'BF16_TO_F32_UNARY_OP_WRAPPER'
 :info:build  1296 |   BF16_TO_F32_UNARY_OP_WRAPPER(vec_sqrt, a);
 :info:build       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67777#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list