Date: Wed, 13 Nov 2019 11:02:43 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 241944] graphics/pcl-pointclouds: fix build on powerpc64 with clang Message-ID: <bug-241944-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241944 Bug ID: 241944 Summary: graphics/pcl-pointclouds: fix build on powerpc64 with clang Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: pkubaj@FreeBSD.org Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org Created attachment 209128 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D209128&action= =3Dedit patch I'm getting the following lld failure on powerpc64: ld: error: relocation refers to a discarded section: .text.__clang_call_terminate >>> defined in common/CMakeFiles/pcl_common.dir/src/pcl_base.cpp.o >>> section group signature: __clang_call_terminate >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/point_= types.cpp.o >>> referenced by pcl_base.cpp >>> common/CMakeFiles/pcl_common.dir/src/pcl_base.cpp.o:(pcl:= :PCLBase<pcl::PCLPointCloud2>::initCompute()) ld: error: relocation refers to a discarded section: .text._ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basi= c_ostreamIT_T0_EES7_PKS4_m >>> defined in common/CMakeFiles/pcl_common.dir/src/io.cpp.o >>> section group signature: _ZNSt3__124__put_character_sequenceIcNS_11char= _traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/point_= types.cpp.o >>> referenced by io.cpp >>> common/CMakeFiles/pcl_common.dir/src/io.cpp.o:(getFieldsS= izes(std::__1::vector<pcl::PCLPointField, std::__1::allocator<pcl::PCLPoint= Field> > const&, std::__1::vector<int, std::__1::allocator<int> >&)) ld: error: relocation refers to a discarded section: .text._ZNSt3__116__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_it= eratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_ >>> defined in common/CMakeFiles/pcl_common.dir/src/io.cpp.o >>> section group signature: _ZNSt3__116__pad_and_outputIcNS_11char_traitsI= cEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_ >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/point_= types.cpp.o >>> referenced by io.cpp >>> common/CMakeFiles/pcl_common.dir/src/io.cpp.o:(getFieldsS= izes(std::__1::vector<pcl::PCLPointField, std::__1::allocator<pcl::PCLPoint= Field> > const&, std::__1::vector<int, std::__1::allocator<int> >&)) ld: error: relocation refers to a discarded section: .text.__clang_call_terminate >>> defined in common/CMakeFiles/pcl_common.dir/src/io.cpp.o >>> section group signature: __clang_call_terminate >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/point_= types.cpp.o >>> referenced by io.cpp >>> common/CMakeFiles/pcl_common.dir/src/io.cpp.o:(getFieldsS= izes(std::__1::vector<pcl::PCLPointField, std::__1::allocator<pcl::PCLPoint= Field> > const&, std::__1::vector<int, std::__1::allocator<int> >&)) ld: error: relocation refers to a discarded section: .text._ZNSt3__120__throw_length_errorEPKc >>> defined in common/CMakeFiles/pcl_common.dir/src/io.cpp.o >>> section group signature: _ZNSt3__120__throw_length_errorEPKc >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/pcl_ba= se.cpp.o >>> referenced by io.cpp >>> common/CMakeFiles/pcl_common.dir/src/io.cpp.o:(getFieldsS= izes(std::__1::vector<pcl::PCLPointField, std::__1::allocator<pcl::PCLPoint= Field> > const&, std::__1::vector<int, std::__1::allocator<int> >&)) ld: error: relocation refers to a discarded section: .text._ZNSt12length_errorC2EPKc >>> defined in common/CMakeFiles/pcl_common.dir/src/io.cpp.o >>> section group signature: _ZNSt12length_errorC2EPKc >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/pcl_ba= se.cpp.o >>> referenced by io.cpp >>> common/CMakeFiles/pcl_common.dir/src/io.cpp.o:(getFieldsS= izes(std::__1::vector<pcl::PCLPointField, std::__1::allocator<pcl::PCLPoint= Field> > const&, std::__1::vector<int, std::__1::allocator<int> >&)) ld: error: relocation refers to a discarded section: .text._ZNSt3__16vectorIiNS_9allocatorIiEEE8__appendEm >>> defined in common/CMakeFiles/pcl_common.dir/src/io.cpp.o >>> section group signature: _ZNSt3__16vectorIiNS_9allocatorIiEEE8__appendEm >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/pcl_ba= se.cpp.o >>> referenced by io.cpp >>> common/CMakeFiles/pcl_common.dir/src/io.cpp.o:(pcl::PCLEx= ception::createDetailedMessage(std::__1::basic_string<char, std::__1::char_= traits<char>, std::__1::allocator<char> > const&, char const*, char const*,= unsigned int)) ld: error: relocation refers to a discarded section: .text._ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basi= c_ostreamIT_T0_EES7_PKS4_m >>> defined in common/CMakeFiles/pcl_common.dir/src/correspondence.cpp.o >>> section group signature: _ZNSt3__124__put_character_sequenceIcNS_11char= _traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/point_= types.cpp.o >>> referenced by correspondence.cpp >>> common/CMakeFiles/pcl_common.dir/src/correspondence.cpp.o= :(pcl::getRejectedQueryIndices(std::__1::vector<pcl::Correspondence, Eigen:= :aligned_allocator<pcl::Correspondence> > const&, std::__1::vector<pcl::Cor= respondence, Eigen::aligned_allocator<pcl::Correspondence> > const&, std::_= _1::vector<int, std::__1::allocator<int> >&, bool)) ld: error: relocation refers to a discarded section: .text._ZNSt3__116__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_it= eratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_ >>> defined in common/CMakeFiles/pcl_common.dir/src/correspondence.cpp.o >>> section group signature: _ZNSt3__116__pad_and_outputIcNS_11char_traitsI= cEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_ >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/point_= types.cpp.o >>> referenced by correspondence.cpp >>> common/CMakeFiles/pcl_common.dir/src/correspondence.cpp.o= :(pcl::getRejectedQueryIndices(std::__1::vector<pcl::Correspondence, Eigen:= :aligned_allocator<pcl::Correspondence> > const&, std::__1::vector<pcl::Cor= respondence, Eigen::aligned_allocator<pcl::Correspondence> > const&, std::_= _1::vector<int, std::__1::allocator<int> >&, bool)) ld: error: relocation refers to a discarded section: .text.__clang_call_terminate >>> defined in common/CMakeFiles/pcl_common.dir/src/correspondence.cpp.o >>> section group signature: __clang_call_terminate >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/point_= types.cpp.o >>> referenced by correspondence.cpp >>> common/CMakeFiles/pcl_common.dir/src/correspondence.cpp.o= :(pcl::getRejectedQueryIndices(std::__1::vector<pcl::Correspondence, Eigen:= :aligned_allocator<pcl::Correspondence> > const&, std::__1::vector<pcl::Cor= respondence, Eigen::aligned_allocator<pcl::Correspondence> > const&, std::_= _1::vector<int, std::__1::allocator<int> >&, bool)) ld: error: relocation refers to a discarded section: .text._ZNSt3__120__throw_length_errorEPKc >>> defined in common/CMakeFiles/pcl_common.dir/src/correspondence.cpp.o >>> section group signature: _ZNSt3__120__throw_length_errorEPKc >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/pcl_ba= se.cpp.o >>> referenced by correspondence.cpp >>> common/CMakeFiles/pcl_common.dir/src/correspondence.cpp.o= :(pcl::getRejectedQueryIndices(std::__1::vector<pcl::Correspondence, Eigen:= :aligned_allocator<pcl::Correspondence> > const&, std::__1::vector<pcl::Cor= respondence, Eigen::aligned_allocator<pcl::Correspondence> > const&, std::_= _1::vector<int, std::__1::allocator<int> >&, bool)) ld: error: relocation refers to a discarded section: .text._ZNSt12length_errorC2EPKc >>> defined in common/CMakeFiles/pcl_common.dir/src/correspondence.cpp.o >>> section group signature: _ZNSt12length_errorC2EPKc >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/pcl_ba= se.cpp.o >>> referenced by correspondence.cpp >>> common/CMakeFiles/pcl_common.dir/src/correspondence.cpp.o= :(pcl::getRejectedQueryIndices(std::__1::vector<pcl::Correspondence, Eigen:= :aligned_allocator<pcl::Correspondence> > const&, std::__1::vector<pcl::Cor= respondence, Eigen::aligned_allocator<pcl::Correspondence> > const&, std::_= _1::vector<int, std::__1::allocator<int> >&, bool)) ld: error: relocation refers to a discarded section: .text._ZNSt3__16vectorIiNS_9allocatorIiEEE8__appendEm >>> defined in common/CMakeFiles/pcl_common.dir/src/correspondence.cpp.o >>> section group signature: _ZNSt3__16vectorIiNS_9allocatorIiEEE8__appendEm >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/pcl_ba= se.cpp.o >>> referenced by correspondence.cpp >>> common/CMakeFiles/pcl_common.dir/src/correspondence.cpp.o= :(pcl::getRejectedQueryIndices(std::__1::vector<pcl::Correspondence, Eigen:= :aligned_allocator<pcl::Correspondence> > const&, std::__1::vector<pcl::Cor= respondence, Eigen::aligned_allocator<pcl::Correspondence> > const&, std::_= _1::vector<int, std::__1::allocator<int> >&, bool)) ld: error: relocation refers to a discarded section: .text.__clang_call_terminate >>> defined in common/CMakeFiles/pcl_common.dir/src/parse.cpp.o >>> section group signature: __clang_call_terminate >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/point_= types.cpp.o >>> referenced by parse.cpp >>> common/CMakeFiles/pcl_common.dir/src/parse.cpp.o:(pcl::co= nsole::parse_x_arguments(int, char const* const*, char const*, std::__1::ve= ctor<double, std::__1::allocator<double> >&)) ld: error: relocation refers to a discarded section: .text._ZNSt3__120__throw_length_errorEPKc >>> defined in common/CMakeFiles/pcl_common.dir/src/parse.cpp.o >>> section group signature: _ZNSt3__120__throw_length_errorEPKc >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/pcl_ba= se.cpp.o >>> referenced by parse.cpp >>> common/CMakeFiles/pcl_common.dir/src/parse.cpp.o:(pcl::co= nsole::parse_x_arguments(int, char const* const*, char const*, std::__1::ve= ctor<double, std::__1::allocator<double> >&)) ld: error: relocation refers to a discarded section: .text._ZNSt12length_errorC2EPKc >>> defined in common/CMakeFiles/pcl_common.dir/src/parse.cpp.o >>> section group signature: _ZNSt12length_errorC2EPKc >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/pcl_ba= se.cpp.o >>> referenced by parse.cpp >>> common/CMakeFiles/pcl_common.dir/src/parse.cpp.o:(pcl::co= nsole::parse_x_arguments(int, char const* const*, char const*, std::__1::ve= ctor<double, std::__1::allocator<double> >&)) ld: error: relocation refers to a discarded section: .text._ZNSt3__16vectorIiNS_9allocatorIiEEE8__appendEm >>> defined in common/CMakeFiles/pcl_common.dir/src/parse.cpp.o >>> section group signature: _ZNSt3__16vectorIiNS_9allocatorIiEEE8__appendEm >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/pcl_ba= se.cpp.o >>> referenced by parse.cpp >>> common/CMakeFiles/pcl_common.dir/src/parse.cpp.o:(pcl::co= nsole::parse_x_arguments(int, char const* const*, char const*, std::__1::ve= ctor<double, std::__1::allocator<double> >&)) ld: error: relocation refers to a discarded section: .text._ZNSt3__120__throw_length_errorEPKc >>> defined in common/CMakeFiles/pcl_common.dir/src/poses_from_matches.cpp.o >>> section group signature: _ZNSt3__120__throw_length_errorEPKc >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/pcl_ba= se.cpp.o >>> referenced by poses_from_matches.cpp >>> common/CMakeFiles/pcl_common.dir/src/poses_from_matches.c= pp.o:(pcl::TransformationFromCorrespondences::getTransformation()) ld: error: relocation refers to a discarded section: .text._ZNSt12length_errorC2EPKc >>> defined in common/CMakeFiles/pcl_common.dir/src/poses_from_matches.cpp.o >>> section group signature: _ZNSt12length_errorC2EPKc >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/pcl_ba= se.cpp.o >>> referenced by poses_from_matches.cpp >>> common/CMakeFiles/pcl_common.dir/src/poses_from_matches.c= pp.o:(pcl::TransformationFromCorrespondences::getTransformation()) ld: error: relocation refers to a discarded section: .text.__clang_call_terminate >>> defined in common/CMakeFiles/pcl_common.dir/src/time_trigger.cpp.o >>> section group signature: __clang_call_terminate >>> prevailing definition is in common/CMakeFiles/pcl_common.dir/src/point_= types.cpp.o >>> referenced by time_trigger.cpp >>> common/CMakeFiles/pcl_common.dir/src/time_trigger.cpp.o:(= boost::system::error_category::default_error_condition(int) const) Switch to linking with GNU ld to fix build. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241944-7788>