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

Compiler crashes on Nvidia jetson #4229

Open
scottcali opened this issue May 10, 2024 · 4 comments
Open

Compiler crashes on Nvidia jetson #4229

scottcali opened this issue May 10, 2024 · 4 comments
Assignees
Labels
Cross Compilation Cross compiling (e.g. aarch64) Lang: C++ Native implementation issue
Milestone

Comments

@scottcali
Copy link

scottcali commented May 10, 2024

Version: main/v9.10
Language: C++

built from source for Ubuntu 22.04 ARM64 in NVIDIA Jetson Orin 36.2, failed:

          /home/dev/projects/repos/or-tools-9.10/ortools/graph/iterators.h:106:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
            106 |     : public std::iterator<std::input_iterator_tag, IntegerType> {
                |                   ^~~~~~~~
          In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
                           from /usr/include/c++/12/algorithm:60,
                           from /home/dev/projects/repos/or-tools-9.10/ortools/lp_data/sparse.h:32:
          /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
            127 |     struct _GLIBCXX17_DEPRECATED iterator
                |                                  ^~~~~~~~
          c++: fatal error: Killed signal terminated program cc1plus
          compilation terminated.

I replace the line 106 with the following codes:
public:

 //using iterator_category = std::input_iterator_tag; 
 using iterator = IntegerType;
 using const_iterator = IntegerType;
 
 using value_type = IntegerType;
 using difference_type = IntegerType;
 using reference = const IntegerType&;
 using pointer = const IntegerType*;
 using iterator_category = std::input_iterator_tag;


   explicit IntegerRangeIterator(IntegerType initial) : current_(initial) {}
   bool operator!=(const IntegerRangeIterator& other) const {
     return current_ != other.current_;
   }
   bool operator==(const IntegerRangeIterator& other) const {
     return current_ == other.current_;
   }
   value_type operator*() const { return current_; }
   pointer operator->() const { return &current_; }
   IntegerRangeIterator& operator++() {
     ++current_;
     return *this;
   }
   IntegerRangeIterator operator++(int) {
     IntegerRangeIterator old_iter = *this;
     ++current_;
     return old_iter;
   }

 IntegerRangeIterator() : begin_iterator_(), end_iterator_() {}
 IntegerRangeIterator(IntegerType begin_iterator, IntegerType end_iterator)
     : begin_iterator_(std::move(begin_iterator)),
       end_iterator_(std::move(end_iterator)) {}


 template <class It = IntegerType>
 typename std::enable_if<std::is_base_of<std::random_access_iterator_tag,
                                         typename std::iterator_traits<
                                             It>::iterator_category>::value,
                         size_t>::type
 size() const {
   return std::distance(begin_iterator_, end_iterator_);
 }
 // Returns true if this iterator range refers to an empty sequence, and false
 // otherwise.
 bool empty() const { return begin_iterator_ == end_iterator_; }

 // Loops from IntegerType(0) up to (but not including) end.
 //IntegerRangeIterator(IntegerType end) : begin_iterator_(IntegerType(0)), end_iterator_(end) {}
 // Loops from begin up to (but not including) end.
 //IntegerRangeIterator(IntegerType begin, IntegerType end) : begin_iterator_(begin), end_iterator_(end) {}
 
 IntegerRangeIterator begin() const { return begin_iterator_; }
 IntegerRangeIterator end() const { return end_iterator_; }
 
  private:
   IntegerType current_;
   IntegerType begin_iterator_, end_iterator_;

//public:

 //explicit IntegerRangeIterator(IntegerType value) : current_(value) {}
 //IntegerRangeIterator(const IntegerRangeIterator& other)
 //    : current_(other.current_) {}
 //IntegerRangeIterator& operator=(const IntegerRangeIterator& other) {
 //  current_ = other.current_;
 //}
 //bool operator!=(const IntegerRangeIterator& other) const {
 //  // This may seems weird, but using < instead of != avoid almost-infinite
 //  // loop if one use IntegerRange<int>(1, 0) below for instance.
 //  return current_ < other.current_;
 //}
 //bool operator==(const IntegerRangeIterator& other) const {
 //  return current_ == other.current_;
 //}
 //IntegerType operator*() const { return current_; }
 //IntegerRangeIterator& operator++() {
 //  ++current_;
 //  return *this;
 //}
 //IntegerRangeIterator operator++(int) {
 //  IntegerRangeIterator previous_position(*this);
 //  ++current_;
 //  return previous_position;
 //}

//private:
// IntegerType index_;

When it compiled, it fails:

Thanks,

Scott

@lperron
Copy link
Collaborator

lperron commented May 11, 2024

It is just a warning.

The problem is that the compiler crashes after.

@lperron lperron changed the title struct std::iterator’ is deprecated [-Wdeprecated-declarations] in C++ 17 Compiler crashes on Nvidia jetson May 11, 2024
@Mizux Mizux self-assigned this May 11, 2024
@Mizux Mizux added Lang: C++ Native implementation issue Cross Compilation Cross compiling (e.g. aarch64) labels May 11, 2024
@Mizux Mizux added this to the v10.0 milestone May 11, 2024
@scottcali
Copy link
Author

Do logs blew provide any helpful information?

[ 78%] Building CXX object ortools/sat/CMakeFiles/ortools_sat.dir/zero_half_cuts.cc.o
cd /home/dev/projects/repos/or-tools-9.10/build/ortools/sat && /usr/bin/c++ -DHAVE_CONFIG_H -DOR_TOOLS_AS_DYNAMIC_LIB -DUSE_BOP -DUSE_CBC -DUSE_CLP -DUSE_GLOP -DUSE_HIGHS -DUSE_LP_PARSER -DUSE_MATH_OPT -DUSE_PDLP -DUSE_SCIP -I/home/dev/projects/repos/or-tools-9.10 -I/home/dev/projects/repos/or-tools-9.10/build -I/home/dev/projects/repos/or-tools-9.10/build/_deps/protobuf-src/src -I/home/dev/projects/repos/or-tools-9.10/build/_deps/protobuf-src -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cbc-src/Cbc/src -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cbc-build/Cbc -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglClique -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglDuplicateRow -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglFlowCover -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglGMI -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglGomory -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglKnapsackCover -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglLandP -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglMixedIntegerRounding -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglMixedIntegerRounding2 -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglPreProcess -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglProbing -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglOddHole -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglRedSplit -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglRedSplit2 -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglResidualCapacity -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglSimpleRounding -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglTwomir -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-src/Cgl/src/CglZeroHalf -I/home/dev/projects/repos/or-tools-9.10/build/_deps/cgl-build/Cgl -I/home/dev/projects/repos/or-tools-9.10/build/_deps/coinutils-src/CoinUtils/src -I/home/dev/projects/repos/or-tools-9.10/build/_deps/coinutils-build/CoinUtils -I/home/dev/projects/repos/or-tools-9.10/build/_deps/osi-src/Osi/src -I/home/dev/projects/repos/or-tools-9.10/build/_deps/osi-src/Osi/src/Osi -I/home/dev/projects/repos/or-tools-9.10/build/_deps/osi-build/Osi -I/home/dev/projects/repos/or-tools-9.10/build/_deps/clp-src/Clp/src/OsiClp -I/home/dev/projects/repos/or-tools-9.10/build/_deps/clp-src/Clp/src -I/home/dev/projects/repos/or-tools-9.10/build/deps/clp-build/Clp -isystem /home/dev/projects/repos/or-tools-9.10/build/deps/abseil-cpp-src -O3 -DNDEBUG -std=c++17 -fPIC -fwrapv -MD -MT ortools/sat/CMakeFiles/ortools_sat.dir/zero_half_cuts.cc.o -MF CMakeFiles/ortools_sat.dir/zero_half_cuts.cc.o.d -o CMakeFiles/ortools_sat.dir/zero_half_cuts.cc.o -c /home/dev/projects/repos/or-tools-9.10/ortools/sat/zero_half_cuts.cc
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/lp_data/CMakeFiles/ortools_lp_data.dir/build.make:90: ortools/lp_data/CMakeFiles/ortools_lp_data.dir/lp_data_utils.cc.o] Error 1
gmake[2]: *** [CMakeFiles/math_opt_proto.dir/build.make:216: CMakeFiles/math_opt_proto.dir/ortools/math_opt/model.pb.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** Waiting for unfinished jobs....
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:566: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/sched_constraints.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [ortools/linear_solver/proto_solver/CMakeFiles/ortools_linear_solver_proto_solver.dir/build.make:118: ortools/linear_solver/proto_solver/CMakeFiles/ortools_linear_solver_proto_solver.dir/pdlp_proto_solver.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/bop/CMakeFiles/ortools_bop.dir/build.make:132: ortools/bop/CMakeFiles/ortools_bop.dir/bop_portfolio.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/build.make:174: ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/gurobi_interface.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:594: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/sched_search.cc.o] Error 1
gmake[2]: *** [ortools/pdlp/CMakeFiles/ortools_pdlp.dir/build.make:76: ortools/pdlp/CMakeFiles/ortools_pdlp.dir/iteration_stats.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:384: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/routing_constraints.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:776: ortools/sat/CMakeFiles/ortools_sat.dir/pb_constraint.cc.o] Error 1
gmake[2]: *** [ortools/linear_solver/proto_solver/CMakeFiles/ortools_linear_solver_proto_solver.dir/build.make:76: ortools/linear_solver/proto_solver/CMakeFiles/ortools_linear_solver_proto_solver.dir/glop_proto_solver.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:356: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/routing.cc.o] Error 1
gmake[2]: *** [ortools/algorithms/CMakeFiles/ortools_algorithms.dir/build.make:146: ortools/algorithms/CMakeFiles/ortools_algorithms.dir/knapsack_solver.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/gscip/CMakeFiles/ortools_gscip.dir/build.make:104: ortools/gscip/CMakeFiles/ortools_gscip.dir/gscip_constraint_handler.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/pdlp/CMakeFiles/ortools_pdlp.dir/build.make:132: ortools/pdlp/CMakeFiles/ortools_pdlp.dir/sharded_optimization_utils.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:202: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/element.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/pdlp/CMakeFiles/ortools_pdlp.dir/build.make:104: ortools/pdlp/CMakeFiles/ortools_pdlp.dir/quadratic_program.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/build.make:216: ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/linear_expr.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:678: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/visitor.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:132: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/count_cst.cc.o] Error 1
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:146: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/default_search.cc.o] Error 1
gmake[2]: *** [ortools/glop/CMakeFiles/ortools_glop.dir/build.make:160: ortools/glop/CMakeFiles/ortools_glop.dir/markowitz.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
c++: fatal error: Killed signal terminated program cc1plus
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
compilation terminated.
gmake[2]: *** [ortools/bop/CMakeFiles/ortools_bop.dir/build.make:118: ortools/bop/CMakeFiles/ortools_bop.dir/bop_ls.cc.o] Error 1
gmake[2]: *** [ortools/glop/CMakeFiles/ortools_glop.dir/build.make:132: ortools/glop/CMakeFiles/ortools_glop.dir/lp_solver.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/linear_solver/proto_solver/CMakeFiles/ortools_linear_solver_proto_solver.dir/build.make:90: ortools/linear_solver/proto_solver/CMakeFiles/ortools_linear_solver_proto_solver.dir/gurobi_proto_solver.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:426: ortools/sat/CMakeFiles/ortools_sat.dir/diffn_util.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:216: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/expr_array.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:314: ortools/sat/CMakeFiles/ortools_sat.dir/cp_model_solver.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/glop/CMakeFiles/ortools_glop.dir/build.make:76: ortools/glop/CMakeFiles/ortools_glop.dir/basis_representation.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/pdlp/CMakeFiles/ortools_pdlp.dir/build.make:202: ortools/pdlp/CMakeFiles/ortools_pdlp.dir/trust_region.cc.o] Error 1
compilation terminated.
gmake[2]: *** [ortools/glop/CMakeFiles/ortools_glop.dir/build.make:90: ortools/glop/CMakeFiles/ortools_glop.dir/dual_edge_norms.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/glop/CMakeFiles/ortools_glop.dir/build.make:258: ortools/glop/CMakeFiles/ortools_glop.dir/update_row.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/glop/CMakeFiles/ortools_glop.dir/build.make:202: ortools/glop/CMakeFiles/ortools_glop.dir/primal_edge_norms.cc.o] Error 1
gmake[2]: *** [ortools/gscip/CMakeFiles/ortools_gscip.dir/build.make:132: ortools/gscip/CMakeFiles/ortools_gscip.dir/gscip_ext.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:314: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/pack.cc.o] Error 1
gmake[2]: *** [ortools/lp_data/CMakeFiles/ortools_lp_data.dir/build.make:104: ortools/lp_data/CMakeFiles/ortools_lp_data.dir/lp_decomposer.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:412: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/routing_filters.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/util/CMakeFiles/ortools_util.dir/build.make:104: ortools/util/CMakeFiles/ortools_util.dir/file_util.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/pdlp/CMakeFiles/ortools_pdlp.dir/build.make:90: ortools/pdlp/CMakeFiles/ortools_pdlp.dir/primal_dual_hybrid_gradient.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:1154: ortools/sat/CMakeFiles/ortools_sat.dir/zero_half_cuts.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:608: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/search.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/graph/CMakeFiles/ortools_graph.dir/build.make:174: ortools/graph/CMakeFiles/ortools_graph.dir/min_cost_flow.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:90: ortools/sat/CMakeFiles/ortools_sat.dir/2d_orthogonal_packing_testing.cc.o] Error 1
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:482: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/routing_lp_scheduling.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/linear_solver/proto_solver/CMakeFiles/ortools_linear_solver_proto_solver.dir/build.make:174: ortools/linear_solver/proto_solver/CMakeFiles/ortools_linear_solver_proto_solver.dir/xpress_proto_solver.cc.o] Error 1
gmake[2]: *** [ortools/linear_solver/proto_solver/CMakeFiles/ortools_linear_solver_proto_solver.dir/build.make:146: ortools/linear_solver/proto_solver/CMakeFiles/ortools_linear_solver_proto_solver.dir/sat_solver_utils.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/build.make:300: ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/sat_interface.cc.o] Error 1
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:118: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/constraints.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [CMakeFiles/math_opt_proto.dir/build.make:244: CMakeFiles/math_opt_proto.dir/ortools/math_opt/model_update.pb.cc.o] Error 1
gmake[2]: *** [ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/build.make:286: ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/pdlp_interface.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/build.make:132: ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/glop_interface.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [CMakeFiles/math_opt_proto.dir/build.make:258: CMakeFiles/math_opt_proto.dir/ortools/math_opt/parameters.pb.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/glop/CMakeFiles/ortools_glop.dir/build.make:118: ortools/glop/CMakeFiles/ortools_glop.dir/initial_basis.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/linear_solver/proto_solver/CMakeFiles/ortools_linear_solver_proto_solver.dir/build.make:104: ortools/linear_solver/proto_solver/CMakeFiles/ortools_linear_solver_proto_solver.dir/highs_proto_solver.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:286: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/local_search.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:398: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/routing_decision_builders.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/bop/CMakeFiles/ortools_bop.dir/build.make:146: ortools/bop/CMakeFiles/ortools_bop.dir/bop_solution.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:104: ortools/sat/CMakeFiles/ortools_sat.dir/2d_packing_brute_force.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/bop/CMakeFiles/ortools_bop.dir/build.make:174: ortools/bop/CMakeFiles/ortools_bop.dir/bop_util.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/build.make:342: ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/solve_mp_model.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/glop/CMakeFiles/ortools_glop.dir/build.make:146: ortools/glop/CMakeFiles/ortools_glop.dir/lu_factorization.cc.o] Error 1
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:510: ortools/sat/CMakeFiles/ortools_sat.dir/encoding.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/bop/CMakeFiles/ortools_bop.dir/build.make:76: ortools/bop/CMakeFiles/ortools_bop.dir/bop_base.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:174: ortools/sat/CMakeFiles/ortools_sat.dir/constraint_violation.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/bop/CMakeFiles/ortools_bop.dir/build.make:160: ortools/bop/CMakeFiles/ortools_bop.dir/bop_solver.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/bop/CMakeFiles/ortools_bop.dir/build.make:104: ortools/bop/CMakeFiles/ortools_bop.dir/bop_lns.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:342: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/resource.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/bop/CMakeFiles/ortools_bop.dir/build.make:90: ortools/bop/CMakeFiles/ortools_bop.dir/bop_fs.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/pdlp/CMakeFiles/ortools_pdlp.dir/build.make:146: ortools/pdlp/CMakeFiles/ortools_pdlp.dir/sharded_quadratic_program.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:734: ortools/sat/CMakeFiles/ortools_sat.dir/max_hs.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/build.make:272: ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/model_validator.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:426: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/routing_flow.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/build.make:370: ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir///deps/scip-src/src/lpi/lpi_glop.cpp.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:580: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/sched_expr.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:300: ortools/sat/CMakeFiles/ortools_sat.dir/cp_model_search.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/bop/CMakeFiles/ortools_bop.dir/build.make:188: ortools/bop/CMakeFiles/ortools_bop.dir/complete_optimizer.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [CMakeFiles/math_opt_proto.dir/build.make:272: CMakeFiles/math_opt_proto.dir/ortools/math_opt/result.pb.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:370: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/routing_breaks.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:398: ortools/sat/CMakeFiles/ortools_sat.dir/diffn.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/lp_data/CMakeFiles/ortools_lp_data.dir/build.make:258: ortools/lp_data/CMakeFiles/ortools_lp_data.dir/sol_reader.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/glop/CMakeFiles/ortools_glop.dir/build.make:104: ortools/glop/CMakeFiles/ortools_glop.dir/entering_variable.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:104: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/constraint_solver.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/graph/CMakeFiles/ortools_graph.dir/build.make:160: ortools/graph/CMakeFiles/ortools_graph.dir/max_flow.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:146: ortools/sat/CMakeFiles/ortools_sat.dir/circuit.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/build.make:230: ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/linear_solver.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:692: ortools/sat/CMakeFiles/ortools_sat.dir/linear_propagation.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:636: ortools/sat/CMakeFiles/ortools_sat.dir/linear_constraint.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/algorithms/CMakeFiles/ortools_algorithms.dir/build.make:216: ortools/algorithms/CMakeFiles/ortools_algorithms.dir/set_cover_reader.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/build.make:258: ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/model_exporter.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:538: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/routing_search.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [CMakeFiles/math_opt_proto.dir/build.make:328: CMakeFiles/math_opt_proto.dir/ortools/math_opt/solvers/gurobi.pb.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:720: ortools/sat/CMakeFiles/ortools_sat.dir/lp_utils.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/glop/CMakeFiles/ortools_glop.dir/build.make:216: ortools/glop/CMakeFiles/ortools_glop.dir/reduced_costs.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:636: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/timetabling.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/build.make:76: ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/bop_interface.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:76: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/alldiff_cst.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:580: ortools/sat/CMakeFiles/ortools_sat.dir/integer_expr.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:244: ortools/sat/CMakeFiles/ortools_sat.dir/cp_model_lns.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/port/CMakeFiles/ortools_port.dir/build.make:76: ortools/port/CMakeFiles/ortools_port.dir/file.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/build.make:468: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/routing_insertion_lns.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/lp_data/CMakeFiles/ortools_lp_data.dir/build.make:76: ortools/lp_data/CMakeFiles/ortools_lp_data.dir/lp_data.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:76: ortools/sat/CMakeFiles/ortools_sat.dir/2d_orthogonal_packing.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:706: ortools/sat/CMakeFiles/ortools_sat.dir/linear_relaxation.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:874: ortools/sat/CMakeFiles/ortools_sat.dir/rins.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [CMakeFiles/math_opt_proto.dir/build.make:202: CMakeFiles/math_opt_proto.dir/ortools/math_opt/infeasible_subsystem.pb.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:804: ortools/sat/CMakeFiles/ortools_sat.dir/presolve_context.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/util/CMakeFiles/ortools_util.dir/build.make:202: ortools/util/CMakeFiles/ortools_util.dir/qap_reader.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:1042: ortools/sat/CMakeFiles/ortools_sat.dir/synchronization.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: *** [ortools/sat/CMakeFiles/ortools_sat.dir/build.make:258: ortools/sat/CMakeFiles/ortools_sat.dir/cp_model_loader.cc.o] Error 1
/home/dev/projects/repos/or-tools-9.10/ortools/pdlp/solvers_proto_validation.cc: In function ‘absl::lts_20240116::Status operations_research::pdlp::ValidateTerminationCriteria(const TerminationCriteria&)’:
/home/dev/projects/repos/or-tools-9.10/ortools/pdlp/solvers_proto_validation.cc:53:42: warning: ‘bool operations_research::pdlp::TerminationCriteria::has_eps_optimal_absolute() const’ is deprecated [-Wdeprecated-declarations]
53 | if (criteria.has_eps_optimal_absolute()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/dev/projects/repos/or-tools-9.10/ortools/pdlp/solvers_proto_validation.h:20,
from /home/dev/projects/repos/or-tools-9.10/ortools/pdlp/solvers_proto_validation.cc:14:
/home/dev/projects/repos/or-tools-9.10/build/ortools/pdlp/solvers.pb.h:2478:13: note: declared here
2478 | inline bool TerminationCriteria::has_eps_optimal_absolute() const {
| ^~~~~~~~~~~~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/pdlp/solvers_proto_validation.cc:58:42: warning: ‘bool operations_research::pdlp::TerminationCriteria::has_eps_optimal_relative() const’ is deprecated [-Wdeprecated-declarations]
58 | if (criteria.has_eps_optimal_relative()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/home/dev/projects/repos/or-tools-9.10/build/ortools/pdlp/solvers.pb.h:2506:13: note: declared here
2506 | inline bool TerminationCriteria::has_eps_optimal_relative() const {
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/dev/projects/repos/or-tools-9.10/ortools/pdlp/solvers_proto_validation.cc:23:
/home/dev/projects/repos/or-tools-9.10/ortools/pdlp/solvers_proto_validation.cc:97:67: warning: ‘double operations_research::pdlp::TerminationCriteria::eps_optimal_absolute() const’ is deprecated [-Wdeprecated-declarations]
97 | RETURN_IF_ERROR(CheckNonNegative(criteria.eps_optimal_absolute(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/home/dev/projects/repos/or-tools-9.10/ortools/base/status_macros.h:31:63: note: in definition of macro ‘RETURN_IF_ERROR’
31 | if (const ::absl::Status status_macro_internal_adaptor = (expr);
| ^~~~
/home/dev/projects/repos/or-tools-9.10/build/ortools/pdlp/solvers.pb.h:2487:15: note: declared here
2487 | inline double TerminationCriteria::eps_optimal_absolute() const {
| ^~~~~~~~~~~~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/pdlp/solvers_proto_validation.cc:99:67: warning: ‘double operations_research::pdlp::TerminationCriteria::eps_optimal_relative() const’ is deprecated [-Wdeprecated-declarations]
99 | RETURN_IF_ERROR(CheckNonNegative(criteria.eps_optimal_relative(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/home/dev/projects/repos/or-tools-9.10/ortools/base/status_macros.h:31:63: note: in definition of macro ‘RETURN_IF_ERROR’
31 | if (const ::absl::Status status_macro_internal_adaptor = (expr);
| ^~~~
/home/dev/projects/repos/or-tools-9.10/build/ortools/pdlp/solvers.pb.h:2515:15: note: declared here
2515 | inline double TerminationCriteria::eps_optimal_relative() const {
| ^~~~~~~~~~~~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/algorithms/set_cover_invariant.cc: In member function ‘std::tuple<double, operations_research::glop::StrictITIVector<operations_research::StrongIndex<operations_research::ElementIndex_index_tag
>, operations_research::StrongIndex<operations_research::SubsetIndex_index_tag
> > > operations_research::SetCoverInvariant::ComputeCostAndCoverage(const operations_research::SubsetBoolVector&) const’:
/home/dev/projects/repos/or-tools-9.10/ortools/algorithms/set_cover_invariant.cc:91:31: warning: range-based ‘for’ loops with initializer only available with ‘-std=c++20’ or ‘-std=gnu++20’ [-Wc++20-extensions]
91 | for (SubsetIndex subset(0); bool b : choices) {
| ^~~~
In file included from /home/dev/projects/repos/or-tools-9.10/ortools/gscip/gscip.h:76,
from /home/dev/projects/repos/or-tools-9.10/ortools/gscip/gscip.cc:14:
/home/dev/projects/repos/or-tools-9.10/ortools/gscip/gscip.cc: In member function ‘absl::lts_20240116::StatusOr<SCIP_Cons*> operations_research::GScip::AddQuadraticConstraint(const operations_research::GScipQuadraticRange&, const std::string&, const operations_research::GScipConstraintOptions&)’:
/home/dev/projects/repos/or-tools-9.10/ortools/gscip/gscip.cc:524:47: warning: ‘SCIP_RETCODE SCIPcreateConsQuadratic(SCIP*, SCIP_CONS**, const char*, int, SCIP_VAR**, double*, int, SCIP_VAR**, SCIP_VAR**, double*, double, double, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)’ is deprecated [-Wdeprecated-declarations]
524 | RETURN_IF_SCIP_ERROR(SCIPcreateConsQuadratic(
| ~~~~~~~~~~~~~~~~~~~~~~~^
525 | scip
, &constraint, name.c_str(), num_lin_vars,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
526 | const_cast<SCIP_Var**>(range.linear_variables.data()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
527 | const_cast<double*>(range.linear_coefficients.data()), num_quad_vars,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
528 | const_cast<SCIP_Var**>(range.quadratic_variables1.data()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
529 | const_cast<SCIP_Var**>(range.quadratic_variables2.data()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
530 | const_cast<double*>(range.quadratic_coefficients.data()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
531 | /lhs=/lb, /rhs=/ub,
| ~~~~~~~~~~~~~~~~~~~~~~~
532 | /initial=/options.initial,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
533 | /separate=/options.separate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
534 | /enforce=/options.enforce,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
535 | /check=/options.check,
| ~~~~~~~~~~~~~~~~~~~~~~~~
536 | /propagate=/options.propagate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
537 | /local=/options.local,
| ~~~~~~~~~~~~~~~~~~~~~~~~
538 | /modifiable=/options.modifiable,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
539 | /dynamic=/options.dynamic,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
540 | /removable=/options.removable));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/base/status_macros.h:31:63: note: in definition of macro ‘RETURN_IF_ERROR’
31 | if (const ::absl::Status status_macro_internal_adaptor = (expr);
| ^~~~
/home/dev/projects/repos/or-tools-9.10/ortools/linear_solver/scip_helper_macros.h:39:49: note: in expansion of macro ‘SCIP_TO_STATUS’
39 | #define RETURN_IF_SCIP_ERROR(x) RETURN_IF_ERROR(SCIP_TO_STATUS(x));
| ^~~~~~~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/gscip/gscip.cc:524:3: note: in expansion of macro ‘RETURN_IF_SCIP_ERROR’
524 | RETURN_IF_SCIP_ERROR(SCIPcreateConsQuadratic(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /home/dev/projects/repos/or-tools-9.10/ortools/gscip/gscip.cc:51:
/home/dev/projects/repos/or-tools-9.10/build/_deps/scip-src/src/scip/cons_quadratic.h:71:14: note: declared here
71 | SCIP_RETCODE SCIPcreateConsQuadratic(
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/pdlp/termination.cc: In function ‘operations_research::pdlp::TerminationCriteria::DetailedOptimalityCriteria operations_research::pdlp::EffectiveOptimalityCriteria(const TerminationCriteria&)’:
/home/dev/projects/repos/or-tools-9.10/ortools/pdlp/termination.cc:136:50: warning: ‘double operations_research::pdlp::TerminationCriteria::eps_optimal_absolute() const’ is deprecated [-Wdeprecated-declarations]
136 | termination_criteria.eps_optimal_absolute());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/dev/projects/repos/or-tools-9.10/build/ortools/pdlp/solve_log.pb.h:32,
from /home/dev/projects/repos/or-tools-9.10/ortools/pdlp/termination.h:20,
from /home/dev/projects/repos/or-tools-9.10/ortools/pdlp/termination.cc:14:
/home/dev/projects/repos/or-tools-9.10/build/ortools/pdlp/solvers.pb.h:2487:15: note: declared here
2487 | inline double TerminationCriteria::eps_optimal_absolute() const {
| ^~~~~~~~~~~~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/pdlp/termination.cc:138:50: warning: ‘double operations_research::pdlp::TerminationCriteria::eps_optimal_relative() const’ is deprecated [-Wdeprecated-declarations]
138 | termination_criteria.eps_optimal_relative());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/home/dev/projects/repos/or-tools-9.10/build/ortools/pdlp/solvers.pb.h:2515:15: note: declared here
2515 | inline double TerminationCriteria::eps_optimal_relative() const {
| ^~~~~~~~~~~~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/sat/cp_model_utils.cc: In function ‘absl::lts_20240116::string_view operations_research::sat::ConstraintCaseName(ConstraintProto::ConstraintCase)’:
/home/dev/projects/repos/or-tools-9.10/ortools/sat/cp_model_utils.cc:481:1: warning: control reaches end of non-void function [-Wreturn-type]
481 | }
| ^
In file included from /home/dev/projects/repos/or-tools-9.10/ortools/linear_solver/proto_solver/scip_proto_solver.cc:41:
/home/dev/projects/repos/or-tools-9.10/ortools/linear_solver/proto_solver/scip_proto_solver.cc: In function ‘absl::lts_20240116::Status operations_research::{anonymous}::AddQuadraticConstraint(const operations_research::MPGeneralConstraintProto&, const std::vector<SCIP_Var*>&, SCIP*, SCIP_CONS**, std::vector<SCIP_Var*>, std::vector, std::vector<SCIP_Var*>, std::vector<SCIP_Var>, std::vector)’:
/home/dev/projects/repos/or-tools-9.10/ortools/linear_solver/proto_solver/scip_proto_solver.cc:271:35: warning: ‘SCIP_RETCODE SCIPcreateConsBasicQuadratic(SCIP*, SCIP_CONS**, const char*, int, SCIP_VAR**, double*, int, SCIP_VAR**, SCIP_VAR**, double*, double, double)’ is deprecated [-Wdeprecated-declarations]
271 | SCIPcreateConsBasicQuadratic(scip,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
272 | /cons=/scip_cst,
| ~~~~~~~~~~~~~~~~~~
273 | /name=/gen_cst.name().c_str(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
274 | /nlinvars=/lsize,
| ~~~~~~~~~~~~~~~~~~~
275 | /linvars=/tmp_variables->data(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
276 | /lincoefs=/tmp_coefficients->data(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
277 | /nquadterms=/qsize,
| ~~~~~~~~~~~~~~~~~~~~~
278 | /quadvars1=/tmp_qvariables1->data(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
279 | /quadvars2=/tmp_qvariables2->data(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
280 | /quadcoefs=/tmp_qcoefficients->data(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
281 | /lhs=/lower_bound,
| ~~~~~~~~~~~~~~~~~~~~
282 | /rhs=/upper_bound));
| ~~~~~~~~~~~~~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/base/status_macros.h:31:63: note: in definition of macro ‘RETURN_IF_ERROR’
31 | if (const ::absl::Status status_macro_internal_adaptor = (expr);
| ^~~~
/home/dev/projects/repos/or-tools-9.10/ortools/linear_solver/scip_helper_macros.h:39:49: note: in expansion of macro ‘SCIP_TO_STATUS’
39 | #define RETURN_IF_SCIP_ERROR(x) RETURN_IF_ERROR(SCIP_TO_STATUS(x));
| ^~~~~~~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/linear_solver/proto_solver/scip_proto_solver.cc:270:3: note: in expansion of macro ‘RETURN_IF_SCIP_ERROR’
270 | RETURN_IF_SCIP_ERROR(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /home/dev/projects/repos/or-tools-9.10/ortools/linear_solver/proto_solver/scip_proto_solver.cc:50:
/home/dev/projects/repos/or-tools-9.10/build/_deps/scip-src/src/scip/cons_quadratic.h:124:14: note: declared here
124 | SCIP_RETCODE SCIPcreateConsBasicQuadratic(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/linear_solver/proto_solver/scip_proto_solver.cc: In function ‘absl::lts_20240116::Status operations_research::{anonymous}::AddQuadraticObjective(const operations_research::MPQuadraticObjective&, SCIP*, std::vector<SCIP_Var*>, std::vector<SCIP_Cons>)’:
/home/dev/projects/repos/or-tools-9.10/ortools/linear_solver/proto_solver/scip_proto_solver.cc:525:52: warning: ‘SCIP_RETCODE SCIPcreateConsBasicQuadratic(SCIP
, SCIP_CONS**, const char*, int, SCIP_VAR**, double*, int, SCIP_VAR**, SCIP_VAR**, double*, double, double)’ is deprecated [-Wdeprecated-declarations]
525 | RETURN_IF_SCIP_ERROR(SCIPcreateConsBasicQuadratic(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
526 | scip, /cons=/&scip_constraints->back(), /name=/"quadobj",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
527 | /nlinvars=/1, /linvars=/linvars, /lincoefs=/lincoefs,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
528 | /nquadterms=/size, /quadvars1=/quadvars1.data(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
529 | /quadvars2=/quadvars2.data(), /quadcoefs=/quadcoefs.data(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
530 | /lhs=/0, /rhs=/0));
| ~~~~~~~~~~~~~~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/base/status_macros.h:31:63: note: in definition of macro ‘RETURN_IF_ERROR’
31 | if (const ::absl::Status status_macro_internal_adaptor = (expr);
| ^~~~
/home/dev/projects/repos/or-tools-9.10/ortools/linear_solver/scip_helper_macros.h:39:49: note: in expansion of macro ‘SCIP_TO_STATUS’
39 | #define RETURN_IF_SCIP_ERROR(x) RETURN_IF_ERROR(SCIP_TO_STATUS(x));
| ^~~~~~~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/linear_solver/proto_solver/scip_proto_solver.cc:525:3: note: in expansion of macro ‘RETURN_IF_SCIP_ERROR’
525 | RETURN_IF_SCIP_ERROR(SCIPcreateConsBasicQuadratic(
| ^~~~~~~~~~~~~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/build/_deps/scip-src/src/scip/cons_quadratic.h:124:14: note: declared here
124 | SCIP_RETCODE SCIPcreateConsBasicQuadratic(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
gmake[1]: *** [CMakeFiles/Makefile2:10141: ortools/port/CMakeFiles/ortools_port.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
/home/dev/projects/repos/or-tools-9.10/ortools/lp_data/mps_reader.cc:315:52: warning: ‘MPSReader’ is deprecated: Use the direct methods instead [-Wdeprecated-declarations]
315 | MPSReaderFormat TemplateFormat(MPSReader::Form form) {
| ^
In file included from /home/dev/projects/repos/or-tools-9.10/ortools/lp_data/mps_reader.cc:14:
/home/dev/projects/repos/or-tools-9.10/ortools/lp_data/mps_reader.h:53:57: note: declared here
53 | class ABSL_DEPRECATED("Use the direct methods instead") MPSReader {
| ^~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/lp_data/mps_reader.cc:315:52: warning: ‘MPSReader’ is deprecated: Use the direct methods instead [-Wdeprecated-declarations]
315 | MPSReaderFormat TemplateFormat(MPSReader::Form form) {
| ^
/home/dev/projects/repos/or-tools-9.10/ortools/lp_data/mps_reader.h:53:57: note: declared here
53 | class ABSL_DEPRECATED("Use the direct methods instead") MPSReader {
| ^~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/lp_data/mps_reader.cc: In function ‘operations_research::MPSReaderFormat operations_research::glop::{anonymous}::TemplateFormat(operations_research::glop::MPSReader::Form)’:
/home/dev/projects/repos/or-tools-9.10/ortools/lp_data/mps_reader.cc:316:30: warning: ‘MPSReader’ is deprecated: Use the direct methods instead [-Wdeprecated-declarations]
316 | return (form == MPSReader::FIXED) ? MPSReaderFormat::kFixed
| ^~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/lp_data/mps_reader.h:53:57: note: declared here
53 | class ABSL_DEPRECATED("Use the direct methods instead") MPSReader {
| ^~~~~~~~~
/home/dev/projects/repos/or-tools-9.10/ortools/lp_data/mps_reader.cc:317:32: warning: ‘MPSReader’ is deprecated: Use the direct methods instead [-Wdeprecated-declarations]
317 | : (form == MPSReader::FREE) ? MPSReaderFormat::kFree
| ^~~~
/home/dev/projects/repos/or-tools-9.10/ortools/lp_data/mps_reader.h:53:57: note: declared here
53 | class ABSL_DEPRECATED("Use the direct methods instead") MPSReader {
| ^~~~~~~~~
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
gmake[1]: *** [CMakeFiles/Makefile2:10236: ortools/util/CMakeFiles/ortools_util.dir/all] Error 2
/home/dev/projects/repos/or-tools-9.10/ortools/gscip/gscip.cc: In function ‘SCIP_VARTYPE operations_research::{anonymous}::ConvertVarType(operations_research::GScipVarType)’:
/home/dev/projects/repos/or-tools-9.10/ortools/gscip/gscip.cc:101:1: warning: control reaches end of non-void function [-Wreturn-type]
101 | }
| ^
/home/dev/projects/repos/or-tools-9.10/ortools/gscip/gscip.cc: In function ‘operations_research::GScipVarType operations_research::{anonymous}::ConvertVarType(SCIP_VARTYPE)’:
/home/dev/projects/repos/or-tools-9.10/ortools/gscip/gscip.cc:114:1: warning: control reaches end of non-void function [-Wreturn-type]
114 | }
| ^
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
[ 78%] Built target ortools_xpress
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
[ 78%] Built target ortools_scheduling
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
[ 78%] Built target ortools_packing
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
[ 78%] Built target ortools_linear_solver_wrappers
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
gmake[1]: *** [CMakeFiles/Makefile2:9122: ortools/gscip/CMakeFiles/ortools_gscip.dir/all] Error 2
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
gmake[1]: *** [CMakeFiles/Makefile2:8290: ortools/algorithms/CMakeFiles/ortools_algorithms.dir/all] Error 2
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
gmake[1]: *** [CMakeFiles/Makefile2:8391: ortools/graph/CMakeFiles/ortools_graph.dir/all] Error 2
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
gmake[1]: *** [CMakeFiles/Makefile2:8589: ortools/linear_solver/CMakeFiles/ortools_linear_solver.dir/all] Error 2
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
gmake[1]: *** [CMakeFiles/Makefile2:2536: CMakeFiles/math_opt_proto.dir/all] Error 2
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
[ 78%] Built target ortools_base
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
gmake[1]: *** [CMakeFiles/Makefile2:8931: ortools/bop/CMakeFiles/ortools_bop.dir/all] Error 2
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
gmake[1]: *** [CMakeFiles/Makefile2:11645: ortools/linear_solver/proto_solver/CMakeFiles/ortools_linear_solver_proto_solver.dir/all] Error 2
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
gmake[1]: *** [CMakeFiles/Makefile2:9026: ortools/glop/CMakeFiles/ortools_glop.dir/all] Error 2
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
gmake[1]: *** [CMakeFiles/Makefile2:9319: ortools/pdlp/CMakeFiles/ortools_pdlp.dir/all] Error 2
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
gmake[1]: *** [CMakeFiles/Makefile2:9734: ortools/lp_data/CMakeFiles/ortools_lp_data.dir/all] Error 2
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
gmake[1]: *** [CMakeFiles/Makefile2:8486: ortools/constraint_solver/CMakeFiles/ortools_constraint_solver.dir/all] Error 2
[ 78%] Linking CXX static library ../../../lib/libCbcSolver.a
cd /home/dev/projects/repos/or-tools-9.10/build/_deps/cbc-build/Cbc && /usr/bin/cmake -P CMakeFiles/CbcSolver.dir/cmake_clean_target.cmake
cd /home/dev/projects/repos/or-tools-9.10/build/_deps/cbc-build/Cbc && /usr/bin/cmake -E cmake_link_script CMakeFiles/CbcSolver.dir/link.txt --verbose=1
/usr/bin/ar qc ../../../lib/libCbcSolver.a CMakeFiles/CbcSolver.dir/src/Cbc_C_Interface.cpp.o CMakeFiles/CbcSolver.dir/src/CbcCbcParam.cpp.o CMakeFiles/CbcSolver.dir/src/Cbc_ampl.cpp.o CMakeFiles/CbcSolver.dir/src/CbcLinked.cpp.o CMakeFiles/CbcSolver.dir/src/CbcLinkedUtils.cpp.o CMakeFiles/CbcSolver.dir/src/unitTestClp.cpp.o CMakeFiles/CbcSolver.dir/src/CbcSolver.cpp.o CMakeFiles/CbcSolver.dir/src/CbcSolverHeuristics.cpp.o CMakeFiles/CbcSolver.dir/src/CbcSolverAnalyze.cpp.o CMakeFiles/CbcSolver.dir/src/CbcMipStartIO.cpp.o CMakeFiles/CbcSolver.dir/src/CbcSolverExpandKnapsack.cpp.o
/usr/bin/ranlib ../../../lib/libCbcSolver.a
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
[ 79%] Built target CbcSolver
gmake[2]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
gmake[1]: *** [CMakeFiles/Makefile2:9421: ortools/sat/CMakeFiles/ortools_sat.dir/all] Error 2
gmake[1]: Leaving directory '/home/dev/projects/repos/or-tools-9.10/build'
gmake: *** [Makefile:166: all] Error 2

@lperron
Copy link
Collaborator

lperron commented May 13, 2024 via email

@scottcali
Copy link
Author

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mmcblk3p1 56451232 32366148 21185116 61% /
tmpfs 15717164 84 15717080 1% /dev/shm
tmpfs 6286868 264580 6022288 5% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 3143432 96 3143336 1% /run/user/128
tmpfs 3143432 80 3143352 1% /run/user/1000

MiB Mem : 30697.6 total, 29142.6 free, 1202.8 used, 352.1 buff/cache
MiB Swap: 15348.8 total, 14836.7 free, 512.1 used. 29133.2 avail Mem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cross Compilation Cross compiling (e.g. aarch64) Lang: C++ Native implementation issue
Projects
None yet
Development

No branches or pull requests

3 participants