~/oil/_tmp/native-tar-test/oils-for-unix-0.24.0 ~/oil/_tmp/native-tar-test ./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 PWD = /home/uke/oil/_tmp/native-tar-test/oils-for-unix-0.24.0 cxx = cxx variant = opt translator = mycpp skip_rebuild = true 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:12655:24: warning: unused variable ‘node’ [-Wunused-variable] 12655 | hnode::External* node = static_cast(UP_node); | ^~~~ _gen/bin/oils_for_unix.mycpp.cc: In function ‘bool format::_TrySingleLine(hnode_asdl::hnode_t*, ColorOutput*, int)’: _gen/bin/oils_for_unix.mycpp.cc:12743:24: warning: unused variable ‘node’ [-Wunused-variable] 12743 | hnode::External* node = static_cast(UP_node); | ^~~~ _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:20259:16: warning: variable ‘old_soft’ set but not used [-Wunused-but-set-variable] 20259 | mops::BigInt old_soft; | ^~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc:20260:16: warning: variable ‘old_hard’ set but not used [-Wunused-but-set-variable] 20260 | mops::BigInt old_hard; | ^~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In function ‘BigStr* read_osh::ReadAll()’: _gen/bin/oils_for_unix.mycpp.cc:21580:7: warning: unused variable ‘orig_local_modes’ [-Wunused-variable] 21580 | 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:22227:31: warning: unused variable ‘_’ [-Wunused-variable] 22227 | syntax_asdl::command_t* _ = it.Value(); | ^ _gen/bin/oils_for_unix.mycpp.cc:22232:31: warning: unused variable ‘_’ [-Wunused-variable] 22232 | 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:22318:8: warning: variable ‘found_left’ set but not used [-Wunused-but-set-variable] 22318 | bool found_left; | ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc:22319:8: warning: variable ‘found_right’ set but not used [-Wunused-but-set-variable] 22319 | 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:22445:8: warning: variable ‘found_left’ set but not used [-Wunused-but-set-variable] 22445 | bool found_left; | ^~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc:22446:8: warning: variable ‘found_right’ set but not used [-Wunused-but-set-variable] 22446 | bool found_right; | ^~~~~~~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In member function ‘void process::JobList::DebugPrint()’: _gen/bin/oils_for_unix.mycpp.cc:27697:9: warning: unused variable ‘pid’ [-Wunused-variable] 27697 | 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:27720:9: warning: unused variable ‘_’ [-Wunused-variable] 27720 | 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:28429:8: warning: variable ‘success’ set but not used [-Wunused-but-set-variable] 28429 | bool success; | ^~~~~~~ _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:29773:8: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable] 29773 | 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:30829:8: warning: variable ‘found’ set but not used [-Wunused-but-set-variable] 30829 | bool found; | ^~~~~ _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:34648:31: warning: unused variable ‘part’ [-Wunused-variable] 34648 | 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:34746:31: warning: unused variable ‘part’ [-Wunused-variable] 34746 | 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:37540:32: warning: unused variable ‘node’ [-Wunused-variable] 37540 | command::ShAssignment* node = static_cast(UP_node); | ^~~~ _gen/bin/oils_for_unix.mycpp.cc:37545:28: warning: unused variable ‘node’ [-Wunused-variable] 37545 | command::Subshell* node = static_cast(UP_node); | ^~~~ _gen/bin/oils_for_unix.mycpp.cc:37550:28: warning: unused variable ‘node’ [-Wunused-variable] 37550 | 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:38054:24: warning: unused variable ‘cmd_val’ [-Wunused-variable] 38054 | 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:39433:8: warning: variable ‘is_fatal’ set but not used [-Wunused-but-set-variable] 39433 | 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:40309:8: warning: variable ‘quoted’ set but not used [-Wunused-but-set-variable] 40309 | bool quoted; | ^~~~~~ _gen/bin/oils_for_unix.mycpp.cc: In function ‘int string_ops::DecodeUtf8Char(BigStr*, int)’: _gen/bin/oils_for_unix.mycpp.cc:44884:7: warning: variable ‘_bytes_read’ set but not used [-Wunused-but-set-variable] 44884 | 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:45187:7: warning: variable ‘start’ set but not used [-Wunused-but-set-variable] 45187 | int start; | ^~~~~ _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:51657:29: warning: unused variable ‘part0’ [-Wunused-variable] 51657 | 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:51695:7: warning: variable ‘op_id’ set but not used [-Wunused-but-set-variable] 51695 | 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:51749:8: warning: variable ‘has_rhs’ set but not used [-Wunused-but-set-variable] 51749 | 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:52244:24: warning: unused variable ‘node’ [-Wunused-variable] 52244 | command::DParen* node = static_cast(UP_node); | ^~~~ _gen/bin/oils_for_unix.mycpp.cc:52249:26: warning: unused variable ‘node’ [-Wunused-variable] 52249 | command::DBracket* node = static_cast(UP_node); | ^~~~ 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 cpp/frontend_pyreadline.cc:94:13: warning: ‘void py_readline::readline_cb(char*)’ defined but not used [-Wunused-function] 94 | static void readline_cb(char* line) { | ^~~~~~~~~~~ cpp/frontend_pyreadline.cc:21:18: warning: ‘py_readline::gReadline’ defined but not used [-Wunused-variable] 21 | static Readline* gReadline = nullptr; | ^~~~~~~~~ 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_iolib.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 0m42.715s user 1m7.493s sys 0m3.254s -rwxr-xr-x 1 uke uke 2322672 Nov 19 16:09 _bin/cxx-opt-sh/oils-for-unix.stripped You can now run _bin/cxx-opt-sh/oils-for-unix.stripped. Example: + _bin/cxx-opt-sh/oils-for-unix.stripped osh -n -c 'echo "hello $name"' (command.Simple blame_tok: (Token id: Id.Lit_Chars length: 4 col: 0 line: (SourceLine line_num:1 content:"echo \"hello $name\"" src:(source.CFlag)) ) more_env: [] words: [ (CompoundWord parts:[...0x12f6]) (CompoundWord parts: [ (DoubleQuoted left: (Token id:Id.Left_DoubleQuote length:1 col:5 line:...0x12fe) parts: [ (Token id:Id.Lit_Chars length:6 col:6 line:...0x12fe) (SimpleVarSub tok: (Token id:Id.VSub_DollarName length:5 col:12 line:...0x12fe) ) ] right: (Token id:Id.Right_DoubleQuote length:1 col:17 line:...0x12fe) ) ] ) ] is_last_cmd: F ) ~/oil/_tmp/native-tar-test