./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:12479: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:12567: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:13662: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:14024: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:14530: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:15394: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:15735: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:16406: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:17636: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:18600: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:19800:16: warning: variable 'old_soft' set but not used [-Wunused-but-set-variable] mops::BigInt old_soft; ^~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc:19801: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:20184: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:20550: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:20733: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:20994: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:21626:31: warning: unused variable '_' [-Wunused-variable] syntax_asdl::command_t* _ = it.Value(); ^ _gen/bin/oils_for_unix.mycpp.cc:21631: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:21715:8: warning: variable 'found_left' set but not used [-Wunused-but-set-variable] bool found_left; ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc:21716: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:21842:8: warning: variable 'found_left' set but not used [-Wunused-but-set-variable] bool found_left; ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc:21843: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:25288: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:26029: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:26978: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:27001: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:27630: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:27647: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:29077: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:30096: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:30414: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:33849: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:33947: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:36740:32: warning: unused variable 'node' [-Wunused-variable] command::ShAssignment* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp.cc:36745:28: warning: unused variable 'node' [-Wunused-variable] command::Subshell* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp.cc:36750: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:37240: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:38602: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:39478: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:44043: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:44346: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:45552: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:50821: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:50859: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:50913: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:51408:24: warning: unused variable 'node' [-Wunused-variable] command::DParen* node = static_cast(UP_node); ^~~~ _gen/bin/oils_for_unix.mycpp.cc:51413: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:54748: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:55135: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:58138: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 0m35.753s user 0m54.622s sys 0m3.893s status elapsed_secs user_secs sys_secs max_rss_KiB verb out 0 0.063247 0.036791 0.026430 29696 compile_one _build/obj/cxx-opt-sh/_gen/bin/text_files.o 0 1.172373 1.093350 0.078631 120136 compile_one _build/obj/cxx-opt-sh/_gen/core/runtime.asdl.o 0 1.189373 1.081108 0.107878 121308 compile_one _build/obj/cxx-opt-sh/_gen/core/value.asdl.o 0 0.011982 0.003567 0.008445 14720 compile_one _build/obj/cxx-opt-sh/_gen/cpp/build_stamp.o 0 0.407203 0.375059 0.032016 72124 compile_one _build/obj/cxx-opt-sh/_gen/data_lang/nil8.asdl.o 0 0.425122 0.378967 0.045880 72456 compile_one _build/obj/cxx-opt-sh/_gen/display/pretty.asdl.o 0 0.217168 0.182207 0.034872 57984 compile_one _build/obj/cxx-opt-sh/_gen/frontend/arg_types.o 0 0.577682 0.513300 0.064204 81920 compile_one _build/obj/cxx-opt-sh/_gen/frontend/consts.o 0 1.252057 1.219861 0.032036 69992 compile_one _build/obj/cxx-opt-sh/_gen/frontend/help_meta.o 0 0.223245 0.195177 0.027966 54376 compile_one _build/obj/cxx-opt-sh/_gen/frontend/id_kind.asdl.o 0 0.192665 0.157002 0.035538 56780 compile_one _build/obj/cxx-opt-sh/_gen/frontend/signal.o 0 2.929466 2.765381 0.163625 181272 compile_one _build/obj/cxx-opt-sh/_gen/frontend/syntax.asdl.o 0 0.259859 0.193275 0.066431 68644 compile_one _build/obj/cxx-opt-sh/_gen/osh/arith_parse.o 0 2.412364 2.264166 0.147644 207504 compile_one _build/obj/cxx-opt-sh/_gen/ysh/grammar_tables.o 0 0.620267 0.540216 0.079544 101028 compile_one _build/obj/cxx-opt-sh/cpp/core.o 0 0.333871 0.279772 0.053943 67480 compile_one _build/obj/cxx-opt-sh/cpp/data_lang.o 0 0.210546 0.174458 0.035974 58172 compile_one _build/obj/cxx-opt-sh/cpp/fanos.o 0 0.066842 0.044653 0.022086 27904 compile_one _build/obj/cxx-opt-sh/cpp/fanos_shared.o 0 0.531230 0.475399 0.055706 95768 compile_one _build/obj/cxx-opt-sh/cpp/frontend_flag_spec.o 0 1.364746 1.244190 0.118396 141452 compile_one _build/obj/cxx-opt-sh/cpp/frontend_match.o 0 0.432950 0.372310 0.060464 87280 compile_one _build/obj/cxx-opt-sh/cpp/frontend_pyreadline.o 0 0.287078 0.235410 0.051494 62292 compile_one _build/obj/cxx-opt-sh/cpp/libc.o 0 0.332898 0.279733 0.053020 85288 compile_one _build/obj/cxx-opt-sh/cpp/osh.o 0 0.266834 0.196270 0.070467 73244 compile_one _build/obj/cxx-opt-sh/cpp/osh_tdop.o 0 0.385231 0.325834 0.059172 85584 compile_one _build/obj/cxx-opt-sh/cpp/pgen2.o 0 0.176504 0.136603 0.039759 55376 compile_one _build/obj/cxx-opt-sh/cpp/pylib.o 0 0.451699 0.388207 0.063192 94872 compile_one _build/obj/cxx-opt-sh/cpp/stdlib.o 0 0.025943 0.012548 0.013414 17920 compile_one _build/obj/cxx-opt-sh/mycpp/bump_leak_heap.o 0 0.319285 0.267582 0.051534 69436 compile_one _build/obj/cxx-opt-sh/mycpp/gc_builtins.o 0 0.191915 0.152280 0.039529 54784 compile_one _build/obj/cxx-opt-sh/mycpp/gc_mops.o 0 0.326661 0.270439 0.056083 62704 compile_one _build/obj/cxx-opt-sh/mycpp/gc_mylib.o 0 3.755207 3.474255 0.280547 304756 compile_one _build/obj/cxx-opt-sh/mycpp/gc_str.o 0 0.049388 0.034864 0.014347 28032 compile_one _build/obj/cxx-opt-sh/mycpp/hash.o 0 0.449044 0.380586 0.068330 70424 compile_one _build/obj/cxx-opt-sh/mycpp/mark_sweep_heap.o 0 35.234121 34.040407 1.155442 795580 compile_one _build/obj/cxx-opt-sh/_gen/bin/oils_for_unix.o 0 0.450513 0.330643 0.119564 97308 link _bin/cxx-opt-sh/oils-for-unix