./configure: Wrote _build/detected-cpp-config.h ./configure: Wrote _build/detected-config.sh ./configure: Wrote _build/detected-config.h _build/oils.sh: Building oils-for-unix: _bin/cxx-opt-sh/oils-for-unix _build/oils.sh: PWD = /home/uke/oil CXX _gen/bin/oils_for_unix.mycpp.cc CXX _gen/bin/text_files.cc CXX _gen/core/runtime.asdl.cc _gen/bin/oils_for_unix.mycpp.cc: In member function 'void format::_PrettyPrinter::PrintNode(hnode_asdl::hnode_t*, format::ColorOutput*, int)': _gen/bin/oils_for_unix.mycpp.cc:12542:24: warning: unused variable 'node' [-Wunused-variable] hnode::External* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp.cc: In function 'bool format::_TrySingleLine(hnode_asdl::hnode_t*, format::ColorOutput*, int)': _gen/bin/oils_for_unix.mycpp.cc:12630:24: warning: unused variable 'node' [-Wunused-variable] hnode::External* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'virtual int dirs_osh::Cd::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp.cc:13725:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'virtual int error_ysh::Try::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp.cc:14087:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'Dict* func_hay::EvalHay::_Call(syntax_asdl::command_t*)': _gen/bin/oils_for_unix.mycpp.cc:14593:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'virtual value_asdl::value_t* func_reflect::GetFrame::Call(typed_args::Reader*)': _gen/bin/oils_for_unix.mycpp.cc:15457:16: warning: variable 'index' set but not used [-Wunused-but-set-variable] mops::BigInt index; ^~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'virtual int hay_ysh::Hay::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp.cc:15798:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'virtual int io_ysh::RunBlock::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp.cc:16469:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'virtual value_asdl::value_t* method_io::Eval::Call(typed_args::Reader*)': _gen/bin/oils_for_unix.mycpp.cc:17699:7: warning: variable 'unused_status' set but not used [-Wunused-but-set-variable] int unused_status; ^~~~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'virtual int misc_osh::Help::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp.cc:18820:8: warning: variable 'found' set but not used [-Wunused-but-set-variable] bool found; ^~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'virtual int process_osh::Ulimit::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp.cc:20020:16: warning: variable 'old_soft' set but not used [-Wunused-but-set-variable] mops::BigInt old_soft; ^~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc:20021:16: warning: variable 'old_hard' set but not used [-Wunused-but-set-variable] mops::BigInt old_hard; ^~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'virtual int pure_osh::Shopt::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp.cc:20404:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'virtual int pure_ysh::Shvar::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp.cc:20770:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'virtual int pure_ysh::PushRegisters::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp.cc:20953:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In function 'BigStr* read_osh::ReadAll()': _gen/bin/oils_for_unix.mycpp.cc:21214:7: warning: unused variable 'orig_local_modes' [-Wunused-variable] int orig_local_modes; ^~~~~~~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'virtual int trap_osh::Trap::Run(runtime_asdl::cmd_value::Argv*)': _gen/bin/oils_for_unix.mycpp.cc:21846:31: warning: unused variable '_' [-Wunused-variable] syntax_asdl::command_t* _ = it.Value(); ^ _gen/bin/oils_for_unix.mycpp.cc:21851:31: warning: unused variable '_' [-Wunused-variable] syntax_asdl::command_t* _ = it.Value(); ^ _gen/bin/oils_for_unix.mycpp.cc: In function 'BigStr* alloc::SnipCodeBlock(syntax_asdl::Token*, syntax_asdl::Token*, List*)': _gen/bin/oils_for_unix.mycpp.cc:21935:8: warning: variable 'found_left' set but not used [-Wunused-but-set-variable] bool found_left; ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc:21936:8: warning: variable 'found_right' set but not used [-Wunused-but-set-variable] bool found_right; ^~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'BigStr* alloc::Arena::SnipCodeString(syntax_asdl::Token*, syntax_asdl::Token*)': _gen/bin/oils_for_unix.mycpp.cc:22062:8: warning: variable 'found_left' set but not used [-Wunused-but-set-variable] bool found_left; ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc:22063:8: warning: variable 'found_right' set but not used [-Wunused-but-set-variable] bool found_right; ^~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'BigStr* main_loop::Headless::EVAL(BigStr*)': _gen/bin/oils_for_unix.mycpp.cc:25508:7: warning: variable 'unused_status' set but not used [-Wunused-but-set-variable] int unused_status; ^~~~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'void process::FdState::Pop(List*)': _gen/bin/oils_for_unix.mycpp.cc:26249:7: warning: variable 'unused_status' set but not used [-Wunused-but-set-variable] int unused_status; ^~~~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'void process::JobList::DebugPrint()': _gen/bin/oils_for_unix.mycpp.cc:27198:9: warning: unused variable 'pid' [-Wunused-variable] int pid = it.Key(); ^~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'int process::JobList::NumRunning()': _gen/bin/oils_for_unix.mycpp.cc:27221:9: warning: unused variable '_' [-Wunused-variable] int _ = it.Key(); ^ _gen/bin/oils_for_unix.mycpp.cc: In member function 'void state::MutableOpts::_SetOldOption(BigStr*, bool)': _gen/bin/oils_for_unix.mycpp.cc:27850:8: warning: variable 'success' set but not used [-Wunused-but-set-variable] bool success; ^~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'void state::MutableOpts::SetOldOption(BigStr*, bool)': _gen/bin/oils_for_unix.mycpp.cc:27867:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'value_asdl::value_t* state::Mem::GetValue(BigStr*, runtime_asdl::scope_t)': _gen/bin/oils_for_unix.mycpp.cc:29305:8: warning: variable 'ok' set but not used [-Wunused-but-set-variable] bool ok; ^~ _gen/bin/oils_for_unix.mycpp.cc: In function 'void util::HelpFlag(pyutil::_ResourceLoader*, BigStr*, mylib::Writer*)': _gen/bin/oils_for_unix.mycpp.cc:30345:8: warning: variable 'found' set but not used [-Wunused-but-set-variable] bool found; ^~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'void j8::InstancePrinter::_PrintSparseArray(value_asdl::value::SparseArray*, int)': _gen/bin/oils_for_unix.mycpp.cc:30663:8: warning: variable 'first' set but not used [-Wunused-but-set-variable] bool first; ^~~~~ _gen/bin/oils_for_unix.mycpp.cc: In function 'syntax_asdl::Token* location::LeftTokenForWordPart(syntax_asdl::word_part_t*)': _gen/bin/oils_for_unix.mycpp.cc:34146:31: warning: unused variable 'part' [-Wunused-variable] word_part::BracedTuple* part = static_cast(UP_part); ^~~~ _gen/bin/oils_for_unix.mycpp.cc: In function 'syntax_asdl::Token* location::_RightTokenForWordPart(syntax_asdl::word_part_t*)': _gen/bin/oils_for_unix.mycpp.cc:34244:31: warning: unused variable 'part' [-Wunused-variable] word_part::BracedTuple* part = static_cast(UP_part); ^~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'void cmd_eval::CommandEvaluator::_CheckStatus(int, runtime_asdl::CommandStatus*, syntax_asdl::command_t*, syntax_asdl::loc_t*)': _gen/bin/oils_for_unix.mycpp.cc:37037:32: warning: unused variable 'node' [-Wunused-variable] command::ShAssignment* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp.cc:37042:28: warning: unused variable 'node' [-Wunused-variable] command::Subshell* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp.cc:37047:28: warning: unused variable 'node' [-Wunused-variable] command::Pipeline* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'int cmd_eval::CommandEvaluator::_DoSimple(syntax_asdl::command::Simple*, runtime_asdl::CommandStatus*)': _gen/bin/oils_for_unix.mycpp.cc:37543:24: warning: unused variable 'cmd_val' [-Wunused-variable] cmd_value::Assign* cmd_val = static_cast(UP_cmd_val); ^~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'void cmd_eval::CommandEvaluator::RunTrapsOnExit(syntax_asdl::IntParamBox*)': _gen/bin/oils_for_unix.mycpp.cc:38905:8: warning: variable 'is_fatal' set but not used [-Wunused-but-set-variable] bool is_fatal; ^~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'Tuple4*, List*, syntax_asdl::ArgList*, value_asdl::LiteralBlock*> cmd_parse::CommandParser::_ScanSimpleCommand()': _gen/bin/oils_for_unix.mycpp.cc:39781:8: warning: variable 'quoted' set but not used [-Wunused-but-set-variable] bool quoted; ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In function 'int string_ops::DecodeUtf8Char(BigStr*, int)': _gen/bin/oils_for_unix.mycpp.cc:44346:7: warning: variable '_bytes_read' set but not used [-Wunused-but-set-variable] int _bytes_read; ^~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In function 'List*>* string_ops::_AllMatchPositions(BigStr*, BigStr*)': _gen/bin/oils_for_unix.mycpp.cc:44649:7: warning: variable 'start' set but not used [-Wunused-but-set-variable] int start; ^~~~~ _gen/bin/oils_for_unix.mycpp.cc: In function 'void word_compile::RemoveLeadingSpaceDQ(List*)': _gen/bin/oils_for_unix.mycpp.cc:45855:8: warning: variable 'line_ended' set but not used [-Wunused-but-set-variable] bool line_ended; ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In function 'runtime_asdl::word_style_t ysh_ify::_GetRhsStyle(syntax_asdl::rhs_word_t*)': _gen/bin/oils_for_unix.mycpp.cc:51124:29: warning: unused variable 'part0' [-Wunused-variable] DoubleQuoted* part0 = static_cast(UP_part0); ^~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'void ysh_ify::YshPrinter::DoRedirect(syntax_asdl::Redir*, Dict*)': _gen/bin/oils_for_unix.mycpp.cc:51162:7: warning: variable 'op_id' set but not used [-Wunused-but-set-variable] int op_id; ^~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'void ysh_ify::YshPrinter::DoShAssignment(syntax_asdl::command::ShAssignment*, bool, Dict*)': _gen/bin/oils_for_unix.mycpp.cc:51216:8: warning: variable 'has_rhs' set but not used [-Wunused-but-set-variable] bool has_rhs; ^~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'void ysh_ify::YshPrinter::DoCommand(syntax_asdl::command_t*, Dict*, bool)': _gen/bin/oils_for_unix.mycpp.cc:51711:24: warning: unused variable 'node' [-Wunused-variable] command::DParen* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp.cc:51716:26: warning: unused variable 'node' [-Wunused-variable] command::DBracket* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'syntax_asdl::command::Mutation* expr_to_ast::Transformer::MakeMutation(pnode::PNode*)': _gen/bin/oils_for_unix.mycpp.cc:55099:7: warning: variable 'typ' set but not used [-Wunused-but-set-variable] int typ; ^~~ _gen/bin/oils_for_unix.mycpp.cc: In member function 'syntax_asdl::proc_sig_t* expr_to_ast::Transformer::Proc(pnode::PNode*)': _gen/bin/oils_for_unix.mycpp.cc:55486:7: warning: variable 'typ' set but not used [-Wunused-but-set-variable] int typ; ^~~ _gen/bin/oils_for_unix.mycpp.cc: In function 'void shell::SourceStartupFile(process::FdState*, BigStr*, BigStr*, parse_lib::ParseContext*, cmd_eval::CommandEvaluator*, ui::ErrorFormatter*)': _gen/bin/oils_for_unix.mycpp.cc:58509:7: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int unused; ^~~~~~ CXX _gen/core/value.asdl.cc CXX _gen/cpp/build_stamp.cc CXX _gen/data_lang/nil8.asdl.cc CXX _gen/display/pretty.asdl.cc CXX _gen/frontend/arg_types.cc CXX _gen/frontend/consts.cc CXX _gen/frontend/help_meta.cc CXX _gen/frontend/id_kind.asdl.cc CXX _gen/frontend/signal.cc CXX _gen/frontend/syntax.asdl.cc CXX _gen/osh/arith_parse.cc CXX _gen/ysh/grammar_tables.cc CXX cpp/core.cc CXX cpp/data_lang.cc CXX cpp/fanos.cc CXX cpp/fanos_shared.c CXX cpp/frontend_flag_spec.cc CXX cpp/frontend_match.cc CXX cpp/frontend_pyreadline.cc CXX cpp/libc.cc CXX cpp/osh.cc CXX cpp/osh_tdop.cc CXX cpp/pgen2.cc CXX cpp/pylib.cc CXX cpp/stdlib.cc CXX mycpp/bump_leak_heap.cc CXX mycpp/gc_builtins.cc CXX mycpp/gc_mops.cc CXX mycpp/gc_mylib.cc CXX mycpp/gc_str.cc CXX mycpp/hash.cc CXX mycpp/mark_sweep_heap.cc WAIT LINK _bin/cxx-opt-sh/oils-for-unix osh -> oils-for-unix ysh -> oils-for-unix real 0m36.687s user 0m55.784s sys 0m3.823s status elapsed_secs user_secs sys_secs max_rss_KiB verb out 0 0.063326 0.052632 0.010675 29696 compile_one _build/obj/cxx-opt-sh/_gen/bin/text_files.o 0 1.173969 1.096147 0.077437 119756 compile_one _build/obj/cxx-opt-sh/_gen/core/runtime.asdl.o 0 1.194016 1.091110 0.102456 121396 compile_one _build/obj/cxx-opt-sh/_gen/core/value.asdl.o 0 0.012558 0.009340 0.002926 14720 compile_one _build/obj/cxx-opt-sh/_gen/cpp/build_stamp.o 0 0.407994 0.381662 0.026212 72280 compile_one _build/obj/cxx-opt-sh/_gen/data_lang/nil8.asdl.o 0 0.428297 0.376625 0.051498 72520 compile_one _build/obj/cxx-opt-sh/_gen/display/pretty.asdl.o 0 0.219108 0.174401 0.044537 57600 compile_one _build/obj/cxx-opt-sh/_gen/frontend/arg_types.o 0 0.583726 0.507874 0.075651 82264 compile_one _build/obj/cxx-opt-sh/_gen/frontend/consts.o 0 1.270697 1.230025 0.040061 70176 compile_one _build/obj/cxx-opt-sh/_gen/frontend/help_meta.o 0 0.224081 0.191455 0.032386 54400 compile_one _build/obj/cxx-opt-sh/_gen/frontend/id_kind.asdl.o 0 0.193401 0.161391 0.031815 56608 compile_one _build/obj/cxx-opt-sh/_gen/frontend/signal.o 0 2.939428 2.750748 0.188139 180548 compile_one _build/obj/cxx-opt-sh/_gen/frontend/syntax.asdl.o 0 0.261345 0.197370 0.063825 68904 compile_one _build/obj/cxx-opt-sh/_gen/osh/arith_parse.o 0 2.448308 2.293055 0.154644 206780 compile_one _build/obj/cxx-opt-sh/_gen/ysh/grammar_tables.o 0 0.627996 0.548039 0.079647 101228 compile_one _build/obj/cxx-opt-sh/cpp/core.o 0 0.340254 0.304368 0.035735 67724 compile_one _build/obj/cxx-opt-sh/cpp/data_lang.o 0 0.212968 0.172665 0.040151 58132 compile_one _build/obj/cxx-opt-sh/cpp/fanos.o 0 0.067401 0.044786 0.022327 27948 compile_one _build/obj/cxx-opt-sh/cpp/fanos_shared.o 0 0.533449 0.447289 0.085925 96544 compile_one _build/obj/cxx-opt-sh/cpp/frontend_flag_spec.o 0 1.370722 1.231963 0.138420 142456 compile_one _build/obj/cxx-opt-sh/cpp/frontend_match.o 0 0.431516 0.371709 0.059616 86784 compile_one _build/obj/cxx-opt-sh/cpp/frontend_pyreadline.o 0 0.287359 0.252979 0.034208 62296 compile_one _build/obj/cxx-opt-sh/cpp/libc.o 0 0.336101 0.280226 0.055661 84996 compile_one _build/obj/cxx-opt-sh/cpp/osh.o 0 0.268821 0.199942 0.068738 73808 compile_one _build/obj/cxx-opt-sh/cpp/osh_tdop.o 0 0.378111 0.308960 0.069014 86144 compile_one _build/obj/cxx-opt-sh/cpp/pgen2.o 0 0.177723 0.141532 0.036127 55372 compile_one _build/obj/cxx-opt-sh/cpp/pylib.o 0 0.453411 0.377671 0.075437 93744 compile_one _build/obj/cxx-opt-sh/cpp/stdlib.o 0 0.025732 0.015098 0.010665 17920 compile_one _build/obj/cxx-opt-sh/mycpp/bump_leak_heap.o 0 0.319957 0.287470 0.032264 69576 compile_one _build/obj/cxx-opt-sh/mycpp/gc_builtins.o 0 0.192977 0.141082 0.051700 55040 compile_one _build/obj/cxx-opt-sh/mycpp/gc_mops.o 0 0.323646 0.276428 0.047095 62840 compile_one _build/obj/cxx-opt-sh/mycpp/gc_mylib.o 0 3.827892 3.548000 0.275679 304372 compile_one _build/obj/cxx-opt-sh/mycpp/gc_str.o 0 0.050286 0.023004 0.027288 28032 compile_one _build/obj/cxx-opt-sh/mycpp/hash.o 0 0.452596 0.388655 0.063780 70408 compile_one _build/obj/cxx-opt-sh/mycpp/mark_sweep_heap.o 0 36.160422 35.050923 1.039269 801992 compile_one _build/obj/cxx-opt-sh/_gen/bin/oils_for_unix.o 0 0.456924 0.328864 0.128064 97920 link _bin/cxx-opt-sh/oils-for-unix