I am trying to compile nim on AWS instances of linux. I've tried on the amazon linux -which descends from Fedora- and on an Ubuntu instance.
I get the following message:
... Hint: gcc -c -w -pthread -O3 -fno-strict-aliasing -I/home/ubuntu/.choosenim/toolchains/nim-0.18.0/lib -o nimsuggest/nimcache/linenoise.o /home/ubuntu/.choosenim/toolchains/nim-0.18.0/lib/wrappers/linenoise/linenoise.c [Exec] ... Error: execution of an external program failed: 'gcc -c -w -pthread -O3 -fno-strict-aliasing -I/home/ubuntu/.choosenim/toolchains/nim-0.18.0/lib -o nimsuggest/nimcache/linenoise.o /home/ubuntu/.choosenim/toolchains/nim-0.18.0/lib/wrappers/linenoise/linenoise.c'
Both with the curl -> shell method, or downloading the sources, and going
sh build.sh bin/nim c koch ./koch tools
Any ideas?
Bah, it seems to have been that AWS Linux had a super old version of gcc. Using gcc 7.2 I got 0.18.0 to compile.
edit: Wait. It keeps happening. sh build.sh && bin/nim c koch && ./koch tools does not compile nimble, and running just ./koch tools gets me the error again.
# OS: linux
# CPU: amd64
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_nim.c -o c_code/2_2/compiler_nim.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_system.c -o c_code/2_2/stdlib_system.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_commands.c -o c_code/2_2/compiler_commands.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_os.c -o c_code/2_2/stdlib_os.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_strutils.c -o c_code/2_2/stdlib_strutils.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_parseutils.c -o c_code/2_2/stdlib_parseutils.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_math.c -o c_code/2_2/stdlib_math.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_algorithm.c -o c_code/2_2/stdlib_algorithm.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_times.c -o c_code/2_2/stdlib_times.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_posix.c -o c_code/2_2/stdlib_posix.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_ospaths.c -o c_code/2_2/stdlib_ospaths.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_msgs.c -o c_code/2_2/compiler_msgs.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_options.c -o c_code/2_2/compiler_options.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_tables.c -o c_code/2_2/stdlib_tables.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_ropes.c -o c_code/2_2/compiler_ropes.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_platform.c -o c_code/2_2/compiler_platform.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_terminal.c -o c_code/2_2/stdlib_terminal.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_macros.c -o c_code/2_2/stdlib_macros.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_strtabs.c -o c_code/2_2/stdlib_strtabs.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_osproc.c -o c_code/2_2/stdlib_osproc.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_sets.c -o c_code/2_2/stdlib_sets.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_hashes.c -o c_code/2_2/stdlib_hashes.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_streams.c -o c_code/2_2/stdlib_streams.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_cpuinfo.c -o c_code/2_2/stdlib_cpuinfo.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_linux.c -o c_code/2_2/stdlib_linux.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_strformat.c -o c_code/2_2/stdlib_strformat.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_unicode.c -o c_code/2_2/stdlib_unicode.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_colors.c -o c_code/2_2/stdlib_colors.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_termios.c -o c_code/2_2/stdlib_termios.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_nversion.c -o c_code/2_2/compiler_nversion.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_condsyms.c -o c_code/2_2/compiler_condsyms.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_idents.c -o c_code/2_2/compiler_idents.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_wordrecg.c -o c_code/2_2/compiler_wordrecg.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_extccomp.c -o c_code/2_2/compiler_extccomp.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_sha1.c -o c_code/2_2/stdlib_sha1.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_json.c -o c_code/2_2/stdlib_json.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_lexbase.c -o c_code/2_2/stdlib_lexbase.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_options.c -o c_code/2_2/stdlib_options.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_typetraits.c -o c_code/2_2/stdlib_typetraits.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_nimblecmd.c -o c_code/2_2/compiler_nimblecmd.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_sequtils.c -o c_code/2_2/stdlib_sequtils.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_parseopt.c -o c_code/2_2/stdlib_parseopt.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_lexer.c -o c_code/2_2/compiler_lexer.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_nimlexbase.c -o c_code/2_2/compiler_nimlexbase.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_llstream.c -o c_code/2_2/compiler_llstream.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_nimconf.c -o c_code/2_2/compiler_nimconf.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_main.c -o c_code/2_2/compiler_main.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_ast.c -o c_code/2_2/compiler_ast.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_astalgo.c -o c_code/2_2/compiler_astalgo.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_syntaxes.c -o c_code/2_2/compiler_syntaxes.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_renderer.c -o c_code/2_2/compiler_renderer.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_rodread.c -o c_code/2_2/compiler_rodread.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_rodwrite.c -o c_code/2_2/compiler_rodwrite.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_sem.c -o c_code/2_2/compiler_sem.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_semdata.c -o c_code/2_2/compiler_semdata.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_passes.c -o c_code/2_2/compiler_passes.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_docgen.c -o c_code/2_2/compiler_docgen.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_cgen.c -o c_code/2_2/compiler_cgen.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_jsgen.c -o c_code/2_2/compiler_jsgen.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_importer.c -o c_code/2_2/compiler_importer.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_passaux.c -o c_code/2_2/compiler_passaux.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_depends.c -o c_code/2_2/compiler_depends.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_vm.c -o c_code/2_2/compiler_vm.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_vmdef.c -o c_code/2_2/compiler_vmdef.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_types.c -o c_code/2_2/compiler_types.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_idgen.c -o c_code/2_2/compiler_idgen.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_docgen2.c -o c_code/2_2/compiler_docgen2.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_service.c -o c_code/2_2/compiler_service.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_parser.c -o c_code/2_2/compiler_parser.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_modules.c -o c_code/2_2/compiler_modules.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_ccgutils.c -o c_code/2_2/compiler_ccgutils.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_sigmatch.c -o c_code/2_2/compiler_sigmatch.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_modulegraphs.c -o c_code/2_2/compiler_modulegraphs.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_rod.c -o c_code/2_2/compiler_rod.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_intsets.c -o c_code/2_2/stdlib_intsets.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_rodutils.c -o c_code/2_2/compiler_rodutils.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_pbraces.c -o c_code/2_2/compiler_pbraces.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_filters.c -o c_code/2_2/compiler_filters.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_filter_tmpl.c -o c_code/2_2/compiler_filter_tmpl.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_memfiles.c -o c_code/2_2/stdlib_memfiles.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_trees.c -o c_code/2_2/compiler_trees.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_modulepaths.c -o c_code/2_2/compiler_modulepaths.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_magicsys.c -o c_code/2_2/compiler_magicsys.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_nimsets.c -o c_code/2_2/compiler_nimsets.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_reorder.c -o c_code/2_2/compiler_reorder.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_bitsets.c -o c_code/2_2/compiler_bitsets.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_treetab.c -o c_code/2_2/compiler_treetab.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_semfold.c -o c_code/2_2/compiler_semfold.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_procfind.c -o c_code/2_2/compiler_procfind.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_lookups.c -o c_code/2_2/compiler_lookups.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_pragmas.c -o c_code/2_2/compiler_pragmas.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_semtypinst.c -o c_code/2_2/compiler_semtypinst.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_transf.c -o c_code/2_2/compiler_transf.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_aliases.c -o c_code/2_2/compiler_aliases.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_cgmeth.c -o c_code/2_2/compiler_cgmeth.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_lambdalifting.c -o c_code/2_2/compiler_lambdalifting.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_evaltempl.c -o c_code/2_2/compiler_evaltempl.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_patterns.c -o c_code/2_2/compiler_patterns.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_parampatterns.c -o c_code/2_2/compiler_parampatterns.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_sempass2.c -o c_code/2_2/compiler_sempass2.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_semmacrosanity.c -o c_code/2_2/compiler_semmacrosanity.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_semparallel.c -o c_code/2_2/compiler_semparallel.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_lowerings.c -o c_code/2_2/compiler_lowerings.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_pluginsupport.c -o c_code/2_2/compiler_pluginsupport.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_saturate.c -o c_code/2_2/compiler_saturate.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_prettybase.c -o c_code/2_2/compiler_prettybase.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_pretty.c -o c_code/2_2/compiler_pretty.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_xmltree.c -o c_code/2_2/stdlib_xmltree.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_cgi.c -o c_code/2_2/stdlib_cgi.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_typesrenderer.c -o c_code/2_2/compiler_typesrenderer.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/docutils_rstast.c -o c_code/2_2/docutils_rstast.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/docutils_rst.c -o c_code/2_2/docutils_rst.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/docutils_rstgen.c -o c_code/2_2/docutils_rstgen.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/docutils_highlite.c -o c_code/2_2/docutils_highlite.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_guards.c -o c_code/2_2/compiler_guards.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_writetracking.c -o c_code/2_2/compiler_writetracking.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_cookies.c -o c_code/2_2/stdlib_cookies.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_uri.c -o c_code/2_2/stdlib_uri.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_prefixmatches.c -o c_code/2_2/compiler_prefixmatches.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_destroyer.c -o c_code/2_2/compiler_destroyer.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_liftlocals.c -o c_code/2_2/compiler_liftlocals.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_dfa.c -o c_code/2_2/compiler_dfa.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_vmgen.c -o c_code/2_2/compiler_vmgen.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_vmdeps.c -o c_code/2_2/compiler_vmdeps.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_vmmarshal.c -o c_code/2_2/compiler_vmmarshal.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_gorgeimpl.c -o c_code/2_2/compiler_gorgeimpl.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_active.c -o c_code/2_2/compiler_active.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_itersgen.c -o c_code/2_2/compiler_itersgen.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_locals.c -o c_code/2_2/compiler_locals.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_cgendata.c -o c_code/2_2/compiler_cgendata.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_ccgmerge.c -o c_code/2_2/compiler_ccgmerge.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_ndi.c -o c_code/2_2/compiler_ndi.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_sighashes.c -o c_code/2_2/compiler_sighashes.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_md5.c -o c_code/2_2/stdlib_md5.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_dynlib.c -o c_code/2_2/stdlib_dynlib.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_net.c -o c_code/2_2/stdlib_net.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/stdlib_nativesockets.c -o c_code/2_2/stdlib_nativesockets.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_nodejs.c -o c_code/2_2/compiler_nodejs.o
gcc -w -O3 -fno-strict-aliasing -Ic_code -c c_code/2_2/compiler_scriptconfig.c -o c_code/2_2/compiler_scriptconfig.o
gcc -o bin/nim c_code/2_2/compiler_nim.o c_code/2_2/stdlib_system.o c_code/2_2/compiler_commands.o c_code/2_2/stdlib_os.o c_code/2_2/stdlib_strutils.o c_code/2_2/stdlib_parseutils.o c_code/2_2/stdlib_math.o c_code/2_2/stdlib_algorithm.o c_code/2_2/stdlib_times.o c_code/2_2/stdlib_posix.o c_code/2_2/stdlib_ospaths.o c_code/2_2/compiler_msgs.o c_code/2_2/compiler_options.o c_code/2_2/stdlib_tables.o c_code/2_2/compiler_ropes.o c_code/2_2/compiler_platform.o c_code/2_2/stdlib_terminal.o c_code/2_2/stdlib_macros.o c_code/2_2/stdlib_strtabs.o c_code/2_2/stdlib_osproc.o c_code/2_2/stdlib_sets.o c_code/2_2/stdlib_hashes.o c_code/2_2/stdlib_streams.o c_code/2_2/stdlib_cpuinfo.o c_code/2_2/stdlib_linux.o c_code/2_2/stdlib_strformat.o c_code/2_2/stdlib_unicode.o c_code/2_2/stdlib_colors.o c_code/2_2/stdlib_termios.o c_code/2_2/compiler_nversion.o c_code/2_2/compiler_condsyms.o c_code/2_2/compiler_idents.o c_code/2_2/compiler_wordrecg.o c_code/2_2/compiler_extccomp.o c_code/2_2/stdlib_sha1.o c_code/2_2/stdlib_json.o c_code/2_2/stdlib_lexbase.o c_code/2_2/stdlib_options.o c_code/2_2/stdlib_typetraits.o c_code/2_2/compiler_nimblecmd.o c_code/2_2/stdlib_sequtils.o c_code/2_2/stdlib_parseopt.o c_code/2_2/compiler_lexer.o c_code/2_2/compiler_nimlexbase.o c_code/2_2/compiler_llstream.o c_code/2_2/compiler_nimconf.o c_code/2_2/compiler_main.o c_code/2_2/compiler_ast.o c_code/2_2/compiler_astalgo.o c_code/2_2/compiler_syntaxes.o c_code/2_2/compiler_renderer.o c_code/2_2/compiler_rodread.o c_code/2_2/compiler_rodwrite.o c_code/2_2/compiler_sem.o c_code/2_2/compiler_semdata.o c_code/2_2/compiler_passes.o c_code/2_2/compiler_docgen.o c_code/2_2/compiler_cgen.o c_code/2_2/compiler_jsgen.o c_code/2_2/compiler_importer.o c_code/2_2/compiler_passaux.o c_code/2_2/compiler_depends.o c_code/2_2/compiler_vm.o c_code/2_2/compiler_vmdef.o c_code/2_2/compiler_types.o c_code/2_2/compiler_idgen.o c_code/2_2/compiler_docgen2.o c_code/2_2/compiler_service.o c_code/2_2/compiler_parser.o c_code/2_2/compiler_modules.o c_code/2_2/compiler_ccgutils.o c_code/2_2/compiler_sigmatch.o c_code/2_2/compiler_modulegraphs.o c_code/2_2/compiler_rod.o c_code/2_2/stdlib_intsets.o c_code/2_2/compiler_rodutils.o c_code/2_2/compiler_pbraces.o c_code/2_2/compiler_filters.o c_code/2_2/compiler_filter_tmpl.o c_code/2_2/stdlib_memfiles.o c_code/2_2/compiler_trees.o c_code/2_2/compiler_modulepaths.o c_code/2_2/compiler_magicsys.o c_code/2_2/compiler_nimsets.o c_code/2_2/compiler_reorder.o c_code/2_2/compiler_bitsets.o c_code/2_2/compiler_treetab.o c_code/2_2/compiler_semfold.o c_code/2_2/compiler_procfind.o c_code/2_2/compiler_lookups.o c_code/2_2/compiler_pragmas.o c_code/2_2/compiler_semtypinst.o c_code/2_2/compiler_transf.o c_code/2_2/compiler_aliases.o c_code/2_2/compiler_cgmeth.o c_code/2_2/compiler_lambdalifting.o c_code/2_2/compiler_evaltempl.o c_code/2_2/compiler_patterns.o c_code/2_2/compiler_parampatterns.o c_code/2_2/compiler_sempass2.o c_code/2_2/compiler_semmacrosanity.o c_code/2_2/compiler_semparallel.o c_code/2_2/compiler_lowerings.o c_code/2_2/compiler_pluginsupport.o c_code/2_2/compiler_saturate.o c_code/2_2/compiler_prettybase.o c_code/2_2/compiler_pretty.o c_code/2_2/stdlib_xmltree.o c_code/2_2/stdlib_cgi.o c_code/2_2/compiler_typesrenderer.o c_code/2_2/docutils_rstast.o c_code/2_2/docutils_rst.o c_code/2_2/docutils_rstgen.o c_code/2_2/docutils_highlite.o c_code/2_2/compiler_guards.o c_code/2_2/compiler_writetracking.o c_code/2_2/stdlib_cookies.o c_code/2_2/stdlib_uri.o c_code/2_2/compiler_prefixmatches.o c_code/2_2/compiler_destroyer.o c_code/2_2/compiler_liftlocals.o c_code/2_2/compiler_dfa.o c_code/2_2/compiler_vmgen.o c_code/2_2/compiler_vmdeps.o c_code/2_2/compiler_vmmarshal.o c_code/2_2/compiler_gorgeimpl.o c_code/2_2/compiler_active.o c_code/2_2/compiler_itersgen.o c_code/2_2/compiler_locals.o c_code/2_2/compiler_cgendata.o c_code/2_2/compiler_ccgmerge.o c_code/2_2/compiler_ndi.o c_code/2_2/compiler_sighashes.o c_code/2_2/stdlib_md5.o c_code/2_2/stdlib_dynlib.o c_code/2_2/stdlib_net.o c_code/2_2/stdlib_nativesockets.o c_code/2_2/compiler_nodejs.o c_code/2_2/compiler_scriptconfig.o -ldl -lm -lrt
: SUCCESS
Hint: used config file '/home/ec2-user/nim-0.18.0/config/nim.cfg' [Conf]
Hint: system [Processing]
Hint: koch [Processing]
Hint: os [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: math [Processing]
Hint: algorithm [Processing]
Hint: times [Processing]
Hint: posix [Processing]
Hint: ospaths [Processing]
Hint: parseopt [Processing]
Hint: osproc [Processing]
Hint: strtabs [Processing]
Hint: hashes [Processing]
Hint: streams [Processing]
Hint: cpuinfo [Processing]
Hint: linux [Processing]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/compiler_koch.o /home/ec2-user/nim-0.18.0/nimcache/compiler_koch.c [Exec]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/stdlib_system.o /home/ec2-user/nim-0.18.0/nimcache/stdlib_system.c [Exec]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/stdlib_os.o /home/ec2-user/nim-0.18.0/nimcache/stdlib_os.c [Exec]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/stdlib_strutils.o /home/ec2-user/nim-0.18.0/nimcache/stdlib_strutils.c [Exec]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/stdlib_parseutils.o /home/ec2-user/nim-0.18.0/nimcache/stdlib_parseutils.c [Exec]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/stdlib_math.o /home/ec2-user/nim-0.18.0/nimcache/stdlib_math.c [Exec]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/stdlib_algorithm.o /home/ec2-user/nim-0.18.0/nimcache/stdlib_algorithm.c [Exec]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/stdlib_times.o /home/ec2-user/nim-0.18.0/nimcache/stdlib_times.c [Exec]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/stdlib_posix.o /home/ec2-user/nim-0.18.0/nimcache/stdlib_posix.c [Exec]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/stdlib_ospaths.o /home/ec2-user/nim-0.18.0/nimcache/stdlib_ospaths.c [Exec]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/stdlib_parseopt.o /home/ec2-user/nim-0.18.0/nimcache/stdlib_parseopt.c [Exec]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/stdlib_osproc.o /home/ec2-user/nim-0.18.0/nimcache/stdlib_osproc.c [Exec]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/stdlib_strtabs.o /home/ec2-user/nim-0.18.0/nimcache/stdlib_strtabs.c [Exec]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/stdlib_hashes.o /home/ec2-user/nim-0.18.0/nimcache/stdlib_hashes.c [Exec]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/stdlib_streams.o /home/ec2-user/nim-0.18.0/nimcache/stdlib_streams.c [Exec]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/stdlib_cpuinfo.o /home/ec2-user/nim-0.18.0/nimcache/stdlib_cpuinfo.c [Exec]
Hint: gcc -c -w -I/home/ec2-user/nim-0.18.0/lib -o /home/ec2-user/nim-0.18.0/nimcache/stdlib_linux.o /home/ec2-user/nim-0.18.0/nimcache/stdlib_linux.c [Exec]
Hint: [Link]
Hint: operation successful (26367 lines compiled; 2.262 sec total; 56.398MiB peakmem; Debug Build) [SuccessX]
Hint: used config file '/home/ec2-user/nim-0.18.0/config/nim.cfg' [Conf]
Hint: used config file '/home/ec2-user/nim-0.18.0/nimsuggest/nimsuggest.nim.cfg' [Conf]
Hint: system [Processing]
Hint: nimsuggest [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: math [Processing]
Hint: algorithm [Processing]
Hint: os [Processing]
Hint: times [Processing]
Hint: posix [Processing]
Hint: ospaths [Processing]
Hint: parseopt [Processing]
Hint: sequtils [Processing]
Hint: macros [Processing]
Hint: net [Processing]
Hint: nativesockets [Processing]
Hint: options [Processing]
Hint: typetraits [Processing]
Hint: sets [Processing]
Hint: hashes [Processing]
Hint: rdstdin [Processing]
Hint: linenoise [Processing]
Hint: termios [Processing]
Hint: sexp [Processing]
Hint: lexbase [Processing]
Hint: streams [Processing]
Hint: unicode [Processing]
Hint: options [Processing]
Hint: strtabs [Processing]
Hint: osproc [Processing]
Hint: cpuinfo [Processing]
Hint: linux [Processing]
Hint: commands [Processing]
Hint: msgs [Processing]
Hint: tables [Processing]
Hint: ropes [Processing]
Hint: platform [Processing]
Hint: terminal [Processing]
Hint: strformat [Processing]
Hint: colors [Processing]
Hint: nversion [Processing]
Hint: condsyms [Processing]
Hint: idents [Processing]
Hint: wordrecg [Processing]
Hint: extccomp [Processing]
Hint: sha1 [Processing]
Hint: json [Processing]
Hint: nimblecmd [Processing]
Hint: modules [Processing]
Hint: ast [Processing]
Hint: intsets [Processing]
Hint: idgen [Processing]
Hint: astalgo [Processing]
Hint: rodutils [Processing]
Hint: magicsys [Processing]
Hint: rodread [Processing]
Hint: types [Processing]
Hint: trees [Processing]
Hint: lexer [Processing]
Hint: nimlexbase [Processing]
Hint: llstream [Processing]
Hint: renderer [Processing]
Hint: memfiles [Processing]
Hint: cgendata [Processing]
Hint: passes [Processing]
Hint: nimsets [Processing]
Hint: bitsets [Processing]
Hint: syntaxes [Processing]
Hint: parser [Processing]
Hint: pbraces [Processing]
Hint: filters [Processing]
Hint: filter_tmpl [Processing]
Hint: modulegraphs [Processing]
Hint: rod [Processing]
Hint: reorder [Processing]
Hint: modulepaths [Processing]
Hint: sighashes [Processing]
Hint: md5 [Processing]
Hint: ndi [Processing]
Hint: sigmatch [Processing]
Hint: semdata [Processing]
Hint: treetab [Processing]
Hint: vmdef [Processing]
Hint: lookups [Processing]
Hint: prettybase [Processing]
Hint: semtypinst [Processing]
Hint: parampatterns [Processing]
Hint: pretty [Processing]
Hint: docgen [Processing]
Hint: rstast [Processing]
Hint: rst [Processing]
Hint: rstgen [Processing]
Hint: highlite [Processing]
Hint: sempass2 [Processing]
Hint: guards [Processing]
Hint: saturate [Processing]
Hint: writetracking [Processing]
Hint: xmltree [Processing]
Hint: cgi [Processing]
Hint: cookies [Processing]
Hint: uri [Processing]
Hint: typesrenderer [Processing]
Hint: prefixmatches [Processing]
Hint: sem [Processing]
Hint: semfold [Processing]
Hint: importer [Processing]
Hint: procfind [Processing]
Hint: pragmas [Processing]
Hint: transf [Processing]
Hint: cgmeth [Processing]
Hint: lambdalifting [Processing]
Hint: lowerings [Processing]
Hint: destroyer [Processing]
Hint: dfa [Processing]
Hint: liftlocals [Processing]
Hint: vm [Processing]
Hint: vmgen [Processing]
Hint: vmdeps [Processing]
Hint: vmmarshal [Processing]
Hint: gorgeimpl [Processing]
Hint: evaltempl [Processing]
Hint: aliases [Processing]
Hint: patterns [Processing]
Hint: semmacrosanity [Processing]
Hint: semparallel [Processing]
Hint: pluginsupport [Processing]
Hint: active [Processing]
Hint: locals [Processing]
Hint: itersgen [Processing]
Hint: passaux [Processing]
Hint: nimconf [Processing]
Hint: scriptconfig [Processing]
Hint: gcc -c -w -pthread -O3 -fno-strict-aliasing -I/home/ec2-user/nim-0.18.0/lib -o nimsuggest/nimcache/linenoise.o /home/ec2-user/nim-0.18.0/lib/wrappers/linenoise/linenoise.c [Exec]
Error: execution of an external program failed: 'gcc -c -w -pthread -O3 -fno-strict-aliasing -I/home/ec2-user/nim-0.18.0/lib -o nimsuggest/nimcache/linenoise.o /home/ec2-user/nim-0.18.0/lib/wrappers/linenoise/linenoise.c'
FAILURE
No idea what's going on.
# gcc --version
gcc (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2)
Copyright (C) 2017 Free Software Foundation, Inc.
uname -a
Linux ip-172-31-1-91.ec2.internal 4.9.76-38.79.amzn2.x86_64 #1 SMP Mon Jan 15 23:35:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux