Skip to content
  • Mathieu Malaterre's avatar
    d/rules: Use -O1 on mipsel. Closes: #1026010 · 2d0d8115
    Mathieu Malaterre authored
    This should fix compilation error:
    
    /usr/bin/c++ -fPIC -g0 -O0 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security --param ggc-min-expand=10 -mxgot -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--no-keep-memory -Wl,--reduce-memory-overhead -shared -Wl,-soname,libopenvdb.so.10.0 -o libopenvdb.so.10.0.0 CMakeFiles/openvdb_shared.dir/Grid.cc.o CMakeFiles/openvdb_shared.dir/io/Archive.cc.o CMakeFiles/openvdb_shared.dir/io/Compression.cc.o CMakeFiles/openvdb_shared.dir/io/DelayedLoadMetadata.cc.o CMakeFiles/openvdb_shared.dir/io/File.cc.o CMakeFiles/openvdb_shared.dir/io/GridDescriptor.cc.o CMakeFiles/openvdb_shared.dir/io/Queue.cc.o CMakeFiles/openvdb_shared.dir/io/Stream.cc.o CMakeFiles/openvdb_shared.dir/io/TempFile.cc.o CMakeFiles/openvdb_shared.dir/math/Half.cc.o CMakeFiles/openvdb_shared.dir/math/Maps.cc.o CMakeFiles/openvdb_shared.dir/math/Proximity.cc.o CMakeFiles/openvdb_shared.dir/math/QuantizedUnitVec.cc.o CMakeFiles/openvdb_shared.dir/math/Transform.cc.o CMakeFiles/openvdb_shared.dir/Metadata.cc.o CMakeFiles/openvdb_shared.dir/MetaMap.cc.o CMakeFiles/openvdb_shared.dir/openvdb.cc.o CMakeFiles/openvdb_shared.dir/Platform.cc.o CMakeFiles/openvdb_shared.dir/points/AttributeArray.cc.o CMakeFiles/openvdb_shared.dir/points/AttributeArrayString.cc.o CMakeFiles/openvdb_shared.dir/points/AttributeGroup.cc.o CMakeFiles/openvdb_shared.dir/points/AttributeSet.cc.o CMakeFiles/openvdb_shared.dir/points/StreamCompression.cc.o CMakeFiles/openvdb_shared.dir/points/points.cc.o CMakeFiles/openvdb_shared.dir/util/Formats.cc.o CMakeFiles/openvdb_shared.dir/util/Util.cc.o  /usr/lib/mipsel-linux-gnu/libImath-3_1.so.29.4.0 /usr/lib/mipsel-linux-gnu/libtbb.so /usr/lib/mipsel-linux-gnu/liblog4cplus.so /usr/lib/mipsel-linux-gnu/libblosc.so /usr/lib/mipsel-linux-gnu/libz.so -latomic /usr/lib/mipsel-linux-gnu/libboost_iostreams.so.1.74.0 -lm
    CMakeFiles/openvdb_shared.dir/openvdb.cc.o: in function `std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tools::PointIndexLeafNode<openvdb::v10_0::PointIndex<unsigned int, 0u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}>(std::once_flag&, openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tools::PointIndexLeafNode<openvdb::v10_0::PointIndex<unsigned int, 0u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&&)::{lambda()#1}>(openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tools::PointIndexLeafNode<openvdb::v10_0::PointIndex<unsigned int, 0u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&)::{lambda()#1}::operator()() const':
    openvdb.cc:(.text._ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_5tools18PointIndexLeafNodeINS4_10PointIndexIjLj0EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_ENKUlvE_clEv[_ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_5tools18PointIndexLeafNodeINS4_10PointIndexIjLj0EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_ENKUlvE_clEv]+0x30): relocation truncated to fit: R_MIPS_TLS_GD against `std::__once_callable@@GLIBCXX_3.4.11'
    CMakeFiles/openvdb_shared.dir/openvdb.cc.o: in function `std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tools::PointIndexLeafNode<openvdb::v10_0::PointIndex<unsigned int, 0u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}>(std::once_flag&, openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tools::PointIndexLeafNode<openvdb::v10_0::PointIndex<unsigned int, 0u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&&)::{lambda()#1}>(openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tools::PointIndexLeafNode<openvdb::v10_0::PointIndex<unsigned int, 0u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&)':
    openvdb.cc:(.text._ZNSt9once_flag18_Prepare_executionC2IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_5tools18PointIndexLeafNodeINS4_10PointIndexIjLj0EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_[_ZNSt9once_flag18_Prepare_executionC5IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_5tools18PointIndexLeafNodeINS4_10PointIndexIjLj0EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_]+0x70): relocation truncated to fit: R_MIPS_TLS_GD against `std::__once_callable@@GLIBCXX_3.4.11'
    openvdb.cc:(.text._ZNSt9once_flag18_Prepare_executionC2IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_5tools18PointIndexLeafNodeINS4_10PointIndexIjLj0EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_[_ZNSt9once_flag18_Prepare_executionC5IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_5tools18PointIndexLeafNodeINS4_10PointIndexIjLj0EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_]+0xbc): relocation truncated to fit: R_MIPS_TLS_GD against `std::__once_call@@GLIBCXX_3.4.11'
    CMakeFiles/openvdb_shared.dir/openvdb.cc.o: in function `std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::points::PointDataLeafNode<openvdb::v10_0::PointIndex<unsigned int, 1u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}>(std::once_flag&, openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::points::PointDataLeafNode<openvdb::v10_0::PointIndex<unsigned int, 1u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&&)::{lambda()#1}>(openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::points::PointDataLeafNode<openvdb::v10_0::PointIndex<unsigned int, 1u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&)::{lambda()#1}::operator()() const':
    openvdb.cc:(.text._ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_6points17PointDataLeafNodeINS4_10PointIndexIjLj1EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_ENKUlvE_clEv[_ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_6points17PointDataLeafNodeINS4_10PointIndexIjLj1EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_ENKUlvE_clEv]+0x30): relocation truncated to fit: R_MIPS_TLS_GD against `std::__once_callable@@GLIBCXX_3.4.11'
    CMakeFiles/openvdb_shared.dir/openvdb.cc.o: in function `std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::points::PointDataLeafNode<openvdb::v10_0::PointIndex<unsigned int, 1u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}>(std::once_flag&, openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::points::PointDataLeafNode<openvdb::v10_0::PointIndex<unsigned int, 1u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&&)::{lambda()#1}>(openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::points::PointDataLeafNode<openvdb::v10_0::PointIndex<unsigned int, 1u>, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&)':
    openvdb.cc:(.text._ZNSt9once_flag18_Prepare_executionC2IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_6points17PointDataLeafNodeINS4_10PointIndexIjLj1EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_[_ZNSt9once_flag18_Prepare_executionC5IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_6points17PointDataLeafNodeINS4_10PointIndexIjLj1EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_]+0x70): relocation truncated to fit: R_MIPS_TLS_GD against `std::__once_callable@@GLIBCXX_3.4.11'
    openvdb.cc:(.text._ZNSt9once_flag18_Prepare_executionC2IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_6points17PointDataLeafNodeINS4_10PointIndexIjLj1EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_[_ZNSt9once_flag18_Prepare_executionC5IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS4_6points17PointDataLeafNodeINS4_10PointIndexIjLj1EEELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSK_]+0xbc): relocation truncated to fit: R_MIPS_TLS_GD against `std::__once_call@@GLIBCXX_3.4.11'
    CMakeFiles/openvdb_shared.dir/openvdb.cc.o: in function `std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<bool, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}>(std::once_flag&, openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<bool, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&&)::{lambda()#1}>(openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<bool, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&)::{lambda()#1}::operator()() const':
    openvdb.cc:(.text._ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeIbLj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSH_ENKUlvE_clEv[_ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeIbLj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSH_ENKUlvE_clEv]+0x30): relocation truncated to fit: R_MIPS_TLS_GD against `std::__once_callable@@GLIBCXX_3.4.11'
    CMakeFiles/openvdb_shared.dir/openvdb.cc.o: in function `std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<bool, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}>(std::once_flag&, openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<bool, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&&)::{lambda()#1}>(openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<bool, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&)':
    openvdb.cc:(.text._ZNSt9once_flag18_Prepare_executionC2IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeIbLj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSH_[_ZNSt9once_flag18_Prepare_executionC5IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeIbLj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSH_]+0x70): relocation truncated to fit: R_MIPS_TLS_GD against `std::__once_callable@@GLIBCXX_3.4.11'
    openvdb.cc:(.text._ZNSt9once_flag18_Prepare_executionC2IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeIbLj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSH_[_ZNSt9once_flag18_Prepare_executionC5IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeIbLj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSH_]+0xbc): relocation truncated to fit: R_MIPS_TLS_GD against `std::__once_call@@GLIBCXX_3.4.11'
    CMakeFiles/openvdb_shared.dir/openvdb.cc.o: in function `std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<openvdb::v10_0::ValueMask, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}>(std::once_flag&, openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<openvdb::v10_0::ValueMask, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&&)::{lambda()#1}>(openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<openvdb::v10_0::ValueMask, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&)::{lambda()#1}::operator()() const':
    openvdb.cc:(.text._ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeINS4_9ValueMaskELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSI_ENKUlvE_clEv[_ZZNSt9once_flag18_Prepare_executionC4IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeINS4_9ValueMaskELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSI_ENKUlvE_clEv]+0x30): relocation truncated to fit: R_MIPS_TLS_GD against `std::__once_callable@@GLIBCXX_3.4.11'
    CMakeFiles/openvdb_shared.dir/openvdb.cc.o: in function `std::once_flag::_Prepare_execution::_Prepare_execution<std::call_once<openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<openvdb::v10_0::ValueMask, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}>(std::once_flag&, openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<openvdb::v10_0::ValueMask, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&&)::{lambda()#1}>(openvdb::v10_0::tree::Tree<openvdb::v10_0::tree::RootNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::InternalNode<openvdb::v10_0::tree::LeafNode<openvdb::v10_0::ValueMask, 3u>, 4u>, 5u> > >::treeType()::{lambda()#1}&)':
    openvdb.cc:(.text._ZNSt9once_flag18_Prepare_executionC2IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeINS4_9ValueMaskELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSI_[_ZNSt9once_flag18_Prepare_executionC5IZSt9call_onceIZN7openvdb5v10_04tree4TreeINS5_8RootNodeINS5_12InternalNodeINS8_INS5_8LeafNodeINS4_9ValueMaskELj3EEELj4EEELj5EEEEEE8treeTypeEvEUlvE_JEEvRS_OT_DpOT0_EUlvE_EERSI_]+0x70): additional relocation overflows omitted from the output
    collect2: error: ld returned 1 exit status
    2d0d8115
Loading