Skip to content

Internal compiler error on Ubuntu 12.04 #9433

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

Closed
vinmay opened this issue Sep 23, 2013 · 3 comments
Closed

Internal compiler error on Ubuntu 12.04 #9433

vinmay opened this issue Sep 23, 2013 · 3 comments

Comments

@vinmay
Copy link

vinmay commented Sep 23, 2013

I am new to this. I ran the ./configure and further ran the 'make' command.
I tried many times I am getting thissame error. I don't know if i am seriously going on some where.

**cfg: build triple i686-unknown-linux-gnu
cfg: host triples i686-unknown-linux-gnu
cfg: target triples i686-unknown-linux-gnu
cfg: enabling more debugging (CFG_ENABLE_DEBUG)
cfg: host for i686-unknown-linux-gnu is i386
cfg: os for i686-unknown-linux-gnu is unknown-linux-gnu
cfg: using gcc
cfg: no pdflatex found, omitting doc/rust.pdf
cfg: no llnextgen found, omitting grammar-verification
compile_and_link: i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/librustc.so
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1 to get further details and report the results to github.com/mozilla/rust/issues
make: * [i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/librustc.so] Error 101

@alexcrichton
Copy link
Member

Could you provide the output of these various commands?

  • git rev-parse HEAD
  • RUST_LOG=rustc=1 make
  • The log of configure would be nice

This shouldn't be happening, so I'm curious why it is happening...

@vinmay
Copy link
Author

vinmay commented Sep 23, 2013

git rev-parse HEAD
5b6ef09

RUST_LOG=rustc=1 make
**cfg: build triple i686-unknown-linux-gnu
cfg: host triples i686-unknown-linux-gnu
cfg: target triples i686-unknown-linux-gnu
cfg: enabling more debugging (CFG_ENABLE_DEBUG)
cfg: host for i686-unknown-linux-gnu is i386
cfg: os for i686-unknown-linux-gnu is unknown-linux-gnu
cfg: using gcc
cfg: no llnextgen found, omitting grammar-verification
fetch: i686-unknown-linux-gnu/stage0/bin/rustc
determined most recent snapshot: rust-stage0-2013-09-17-cbd1eef-linux-i386-38347b579312ff30c36d257a1161660eb0ae8422.tar.bz2
got download with ok hash
opening snapshot dl/rust-stage0-2013-09-17-cbd1eef-linux-i386-38347b579312ff30c36d257a1161660eb0ae8422.tar.bz2
removing i686-unknown-linux-gnu/stage0/lib/libsyntax-64629f7f0c6a9bc-0.8-pre.so
removing i686-unknown-linux-gnu/stage0/lib/libextra.so
removing i686-unknown-linux-gnu/stage0/lib/librustllvm.so
removing i686-unknown-linux-gnu/stage0/lib/librustc.so
removing i686-unknown-linux-gnu/stage0/lib/libextra-a7c050cfd46b2c9a-0.8-pre.so
removing i686-unknown-linux-gnu/stage0/lib/libstd.so
removing i686-unknown-linux-gnu/stage0/lib/libstd-6c65cf4b443341b1-0.8-pre.so
removing i686-unknown-linux-gnu/stage0/lib/librustrt.so
removing i686-unknown-linux-gnu/stage0/lib/librustc-d3cb8c2ccd84a7a7-0.8-pre.so
removing i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/libstd-6c65cf4b443341b1-0.8.so
removing i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/libsyntax-64629f7f0c6a9bc-0.8.so
removing i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/libextra.so
removing i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/librustllvm.so
removing i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/rustc.o
removing i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/libextra-a7c050cfd46b2c9a-0.8.so
removing i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/libmorestack.a
removing i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/libsyntax.so
removing i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/libstd.so
removing i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/librustrt.so
removing i686-unknown-linux-gnu/stage0/bin/rustc
extracting rust-stage0/bin/rustc
extracting rust-stage0/lib/libstd-6c65cf4b443341b1-0.8-pre.so
extracting rust-stage0/lib/libextra-a7c050cfd46b2c9a-0.8-pre.so
extracting rust-stage0/lib/librustc-d3cb8c2ccd84a7a7-0.8-pre.so
extracting rust-stage0/lib/libsyntax-64629f7f0c6a9bc-0.8-pre.so
extracting rust-stage0/lib/librustrt.so
extracting rust-stage0/lib/librustllvm.so
compile: i686-unknown-linux-gnu/rt/stage0/sync/lock_and_signal.o
compile: i686-unknown-linux-gnu/rt/stage0/sync/rust_thread.o
compile: i686-unknown-linux-gnu/rt/stage0/rust_builtin.o
compile: i686-unknown-linux-gnu/rt/stage0/rust_rng.o
compile: i686-unknown-linux-gnu/rt/stage0/rust_upcall.o
compile: i686-unknown-linux-gnu/rt/stage0/rust_uv.o
compile: i686-unknown-linux-gnu/rt/stage0/miniz.o
compile: i686-unknown-linux-gnu/rt/stage0/memory_region.o
compile: i686-unknown-linux-gnu/rt/stage0/boxed_region.o
compile: i686-unknown-linux-gnu/rt/stage0/arch/i386/context.o
compile: i686-unknown-linux-gnu/rt/stage0/arch/i386/gpr.o
compile: i686-unknown-linux-gnu/rt/stage0/rust_android_dummy.o
compile: i686-unknown-linux-gnu/rt/stage0/rust_test_helpers.o
compile: i686-unknown-linux-gnu/rt/stage0/linenoise/linenoise.o
compile: i686-unknown-linux-gnu/rt/stage0/linenoise/utf8.o
compile: i686-unknown-linux-gnu/rt/stage0/arch/i386/_context.o
compile: i686-unknown-linux-gnu/rt/stage0/arch/i386/ccall.o
compile: i686-unknown-linux-gnu/rt/stage0/arch/i386/record_sp.o
def: i686-unknown-linux-gnu/rt/rustrt.linux.def
link: i686-unknown-linux-gnu/rt/stage0/librustrt.so
cp: i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/librustrt.so
compile: i686-unknown-linux-gnu/rt/stage0/arch/i386/morestack.o
link: i686-unknown-linux-gnu/rt/stage0/arch/i386/libmorestack.a
cp: i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/libmorestack.a
compile_and_link: i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/libstd.so
task failed at 'failure in fork: Cannot allocate memory', /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/libstd/run.rs:659
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1 to get further details and report the results to github.com/mozilla/rust/issues
task failed at 'explicit failure', /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/librustc/rustc.rs:377
make: * [i686-unknown-linux-gnu/stage0/lib/rustc/i686-unknown-linux-gnu/lib/libstd.so] Error 101

configure (Is this the 'configure' log you were expecting?)
configure: looking for configure programs
configure: found cmp
configure: found mkdir
configure: found printf
configure: found cut
configure: found head
configure: found grep
configure: found xargs
configure: found cp
configure: found find
configure: found uname
configure: found date
configure: found tr
configure: found sed
configure: found file
configure: inspecting environment
configure: recreating config.tmp
configure:
configure: processing /home/vinmay/root/experiments/rust/configure args
configure:
configure: CFG_PREFIX := /usr/local
configure: CFG_LOCAL_RUST_ROOT := /usr/local
configure: CFG_LLVM_ROOT :=
configure: CFG_BUILD_TRIPLE := i686-unknown-linux-gnu
configure: CFG_HOST_TRIPLES := i686-unknown-linux-gnu
configure: CFG_TARGET_TRIPLES := i686-unknown-linux-gnu
configure: CFG_ANDROID_CROSS_PATH := /opt/ndk_standalone
configure: CFG_MINGW32_CROSS_PATH :=
configure:
configure: validating /home/vinmay/root/experiments/rust/configure args
configure:
configure:
configure: looking for build programs
configure:
configure: CFG_PERL := /usr/bin/perl
configure: CFG_CURLORWGET := /usr/bin/curl (7.22.0)
configure: CFG_PYTHON := /usr/bin/python2.7
configure: CFG_GIT := /usr/bin/git (1.7.9.5)
configure: CFG_CLANG :=
configure: CFG_CCACHE :=
configure: CFG_GCC := /usr/bin/gcc (4.6.3-1ubuntu5))
configure: CFG_LD := /usr/bin/ld (2.22)
configure: CFG_VALGRIND :=
configure: CFG_PERF :=
configure: CFG_ISCC :=
configure: CFG_LLNEXTGEN :=
configure: CFG_PANDOC := /usr/bin/pandoc (1.9.1.1)
configure: CFG_PDFLATEX := /usr/bin/pdflatex (3.1415926-1.40.10-2.2)
configure: CFG_XETEX := /usr/bin/xetex (3.1415926-2.2-0.9995.2)
configure: CFG_LUATEX := /usr/bin/luatex (0.70.1-2011120612)
configure: CFG_NODE := /usr/local/bin/node (0.11.2-pre)
configure: CFG_GDB := /usr/bin/gdb (7.4-2012.02-0ubuntu2))
configure: CFG_PAXCTL :=
configure: CFG_ZCAT := /bin/zcat (1.4)
configure:
configure: looking for target specific programs
configure:
configure: CFG_ADB :=
configure:
configure: GRSecurity: no
configure:
configure:
configure: making directories
configure:
configure:
configure: configuring submodules
configure:
configure: git: submodule sync
Synchronizing submodule url for 'src/gyp'
Synchronizing submodule url for 'src/libuv'
Synchronizing submodule url for 'src/llvm'
configure: git: submodule update
Submodule 'src/gyp' () registered for path 'src/gyp'
Submodule 'src/libuv' () registered for path 'src/libuv'
Submodule 'src/llvm' () registered for path 'src/llvm'
configure: git: submodule foreach sync
Entering 'src/gyp'
Entering 'src/libuv'
Entering 'src/llvm'
configure: git: submodule foreach update
Submodule 'src/gyp' () registered for path 'src/gyp'
Submodule 'src/libuv' () registered for path 'src/libuv'
Submodule 'src/llvm' () registered for path 'src/llvm'
configure: git: submodule status
f407f09c94e00d2d570e8e42114e3f6848b2deb2 src/gyp (f407f09)
d88cf5652a1afb23939da0bae86c70ec521b9921 src/libuv (v0.11.7-60-gd88cf56)
c9ffab392a39eb85f2f15ffc8d41e8c4f4397b8e src/llvm (remotes/origin/rust-llvm-2013-09-15)
configure: git: submodule clobber
Entering 'src/gyp'
Removing pylib/gyp/init.pyc
Removing pylib/gyp/common.pyc
Removing pylib/gyp/generator/init.pyc
Removing pylib/gyp/generator/make.pyc
Removing pylib/gyp/input.pyc
Removing pylib/gyp/xcode_emulation.pyc
Entering 'src/libuv'
Entering 'src/llvm'
Removing utils/llvm-build/llvmbuild/init.pyc
Removing utils/llvm-build/llvmbuild/componentinfo.pyc
Removing utils/llvm-build/llvmbuild/configutil.pyc
Removing utils/llvm-build/llvmbuild/main.pyc
Removing utils/llvm-build/llvmbuild/util.pyc
Entering 'src/gyp'
Entering 'src/libuv'
Entering 'src/llvm'
configure:
configure: looking at LLVM
configure:
configure: configuring LLVM for i686-unknown-linux-gnu
configure: configuring LLVM with:
configure: --enable-targets=x86,x86_64,arm,mips --enable-optimized --enable-assertions --disable-docs --enable-bindings=none --disable-terminfo --build=i686-unknown-linux-gnu --host=i686-unknown-linux-gnu --target=i686-unknown-linux-gnu --with-python=/usr/bin/python2.7
checking for i686-unknown-linux-gnu-clang... gcc -m32
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -m32 accepts -g... yes
checking for gcc -m32 option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -m32 accepts -g... yes
checking how to run the C preprocessor... gcc -m32 -E
checking build system type... i686-unknown-linux-gnu
checking host system type... i686-unknown-linux-gnu
checking target system type... i686-unknown-linux-gnu
checking type of operating system we're going to host on... Linux
checking type of operating system we're going to target... Linux
checking target architecture... x86
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking optimization flags... -O3
checking for BSD-compatible nm... /usr/bin/nm -B
checking for GNU make... make
checking whether ln -s works... yes
checking for cmp... /usr/bin/cmp
checking for cp... /bin/cp
checking for date... /bin/date
checking for find... /usr/bin/find
checking for grep... (cached) /bin/grep
checking for mkdir... /bin/mkdir
checking for mv... /bin/mv
checking for i686-unknown-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-unknown-linux-gnu-ar... no
checking for ar... ar
checking for rm... /bin/rm
checking for sed... /bin/sed
checking for tar... /bin/tar
checking for pwd... /bin/pwd
checking for Graphviz... echo Graphviz
checking for dot... echo dot
checking for fdp... echo fdp
checking for neato... echo neato
checking for twopi... echo twopi
checking for circo... echo circo
checking for gv... no
checking for gsview32... no
checking for dotty... echo dotty
checking for xdot... no
checking for xdot.py... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for bzip2... /bin/bzip2
checking for cat... /bin/cat
checking for doxygen... no
checking for groff... /usr/bin/groff
checking for gzip... /bin/gzip
checking for pdfroff... no
checking for zip... /usr/bin/zip
checking for ocamlc... no
checking for ocamlopt... no
checking for ocamldep... no
checking for ocamldoc... no
checking for gas... no
checking for as... /usr/bin/as
checking for linker version... 2.22
checking for compiler -Wl,-R option... yes
checking for compiler -rdynamic option... yes
checking for compiler -Wl,--version-script option... yes
checking for an ANSI C-conforming const... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking which extension is used for loadable modules... .so
checking for the default library search path... /lib /usr/lib /usr/lib/i386-linux-gnu/mesa /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu /usr/local/lib
checking for objdir... .libs
checking command to parse /usr/bin/nm -B output from object... ok
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen in -ldl... yes
checking for dlerror... yes
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_append... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for unistd.h... (cached) yes
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking tool compatibility... ok
checking optional compiler flags... -Wno-variadic-macros -Wno-missing-field-initializers -Wno-uninitialized
checking for python... user defined: /usr/bin/python2.7
checking for python >= 2.5... /usr/bin/python2.7 (2.7.3)
checking for sin in -lm... yes
checking for library containing dlopen... -ldl
checking for library containing clock_gettime... -lrt
checking for library containing mallinfo... none required
checking for pthread_mutex_init in -lpthread... yes
checking for library containing pthread_mutex_lock... none required
checking for library containing pthread_rwlock_init... none required
checking for library containing pthread_getspecific... none required
checking for compress2 in -lz... yes
checking for xml2-config... xml2-config
checking for libxml2 includes... -I/usr/include/libxml2
checking for xmlReadFile in -lxml2... yes
checking for dirent.h that defines DIR... (cached) yes
checking for library containing opendir... (cached) none required
checking for MAP_ANONYMOUS vs. MAP_ANON... yes
checking whether stat file-mode macros are broken... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking how to run the C++ preprocessor... g++ -m32 -E
checking cxxabi.h usability... yes
checking cxxabi.h presence... yes
checking for cxxabi.h... yes
checking for dlfcn.h... (cached) yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking for malloc.h... (cached) yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking whether FE_ALL_EXCEPT is declared... yes
checking whether FE_INEXACT is declared... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking CrashReporterClient.h usability... no
checking CrashReporterClient.h presence... no
checking for CrashReporterClient.h... no
checking crashreporter_info... no
checking for HUGE_VAL sanity... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for int64_t... yes
checking for uint64_t... yes
checking for backtrace... yes
checking for ceilf... yes
checking for floorf... yes
checking for roundf... yes
checking for rintf... yes
checking for nearbyintf... yes
checking for getcwd... yes
checking for powf... yes
checking for fmodf... yes
checking for strtof... yes
checking for round... yes
checking for log... yes
checking for log2... yes
checking for log10... yes
checking for exp... yes
checking for exp2... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for gettimeofday... yes
checking for isatty... yes
checking for mkdtemp... yes
checking for mkstemp... yes
checking for mktemp... yes
checking for posix_spawn... yes
checking for pread... yes
checking for realpath... yes
checking for sbrk... yes
checking for setrlimit... (cached) yes
checking for strerror... yes
checking for strerror_r... yes
checking for setenv... yes
checking for arc4random... no
checking for strtoll... yes
checking for strtoq... yes
checking for sysconf... yes
checking for malloc_zone_statistics... no
checking for setjmp... yes
checking for longjmp... yes
checking for sigsetjmp... no
checking for siglongjmp... yes
checking for writev... yes
checking for futimes... yes
checking for futimens... yes
checking if printf has the %a format character... yes
checking for srand48/lrand48/drand48 in <stdlib.h>... yes
checking whether strerror_s is declared... no
checking for isnan in <math.h>... yes
checking for isnan in ... yes
checking for std::isnan in ... yes
checking for isinf in <math.h>... yes
checking for isinf in ... yes
checking for std::isinf in ... yes
checking for finite in <ieeefp.h>... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for mmap of files... yes
checking if /dev/zero is needed for mmap... no
checking for GCC atomic builtins... yes
checking for dso_handle... yes
checking for compiler -fvisibility-inlines-hidden option... yes
configure: creating ./config.status
config.status: creating include/llvm/Config/Targets.def
config.status: creating include/llvm/Config/AsmPrinters.def
config.status: creating include/llvm/Config/AsmParsers.def
config.status: creating include/llvm/Config/Disassemblers.def
config.status: creating Makefile.config
config.status: creating llvm.spec
config.status: creating docs/doxygen.cfg
config.status: creating bindings/ocaml/llvm/META.llvm
config.status: creating include/llvm/Config/config.h
config.status: creating include/llvm/Config/llvm-config.h
config.status: creating include/llvm/Support/DataTypes.h
config.status: include/llvm/Support/DataTypes.h is unchanged
config.status: executing setup commands
config.status: executing Makefile commands
config.status: executing Makefile.common commands
config.status: executing examples/Makefile commands
config.status: executing lib/Makefile commands
config.status: executing runtime/Makefile commands
config.status: executing test/Makefile commands
config.status: executing test/Makefile.tests commands
config.status: executing unittests/Makefile commands
config.status: executing tools/Makefile commands
config.status: executing utils/Makefile commands
config.status: executing projects/Makefile commands
config.status: executing bindings/Makefile commands
config.status: executing bindings/ocaml/Makefile.ocaml commands
=== configuring in projects/sample (/home/vinmay/root/experiments/rust/i686-unknown-linux-gnu/llvm/projects/sample)
configure: running /bin/bash /home/vinmay/root/experiments/rust/src/llvm/projects/sample/configure --prefix=/usr/local '--enable-targets=x86,x86_64,arm,mips' '--enable-optimized' '--enable-assertions' '--disable-docs' '--enable-bindings=none' '--disable-terminfo' '--build=i686-unknown-linux-gnu' '--host=i686-unknown-linux-gnu' '--target=i686-unknown-linux-gnu' '--with-python=/usr/bin/python2.7' 'build_alias=i686-unknown-linux-gnu' 'host_alias=i686-unknown-linux-gnu' 'target_alias=i686-unknown-linux-gnu' 'CC=gcc -m32' 'CFLAGS=-m32' 'LDFLAGS=-m32' 'CXX=g++ -m32' 'CXXFLAGS=-m32' --cache-file=/dev/null --srcdir=/home/vinmay/root/experiments/rust/src/llvm/projects/sample
checking llvm-config... /home/vinmay/root/experiments/rust/i686-unknown-linux-gnu/llvm/Release+Asserts/bin/llvm-config
checking LLVM package version... 3.4svn
checking for i686-unknown-linux-gnu-clang... gcc -m32
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -m32 accepts -g... yes
checking for gcc -m32 option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -m32 accepts -g... yes
checking how to run the C preprocessor... gcc -m32 -E
checking build system type... i686-unknown-linux-gnu
checking host system type... i686-unknown-linux-gnu
checking target system type... i686-unknown-linux-gnu
checking type of operating system we're going to host on... Linux
checking type of operating system we're going to target... Linux
checking target architecture... x86
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking optimization flags... -O3
checking for BSD-compatible nm... /usr/bin/nm -B
checking for GNU make... make
checking whether ln -s works... yes
checking for cmp... /usr/bin/cmp
checking for cp... /bin/cp
checking for date... /bin/date
checking for find... /usr/bin/find
checking for grep... (cached) /bin/grep
checking for mkdir... /bin/mkdir
checking for mv... /bin/mv
checking for i686-unknown-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-unknown-linux-gnu-ar... no
checking for ar... ar
checking for rm... /bin/rm
checking for sed... /bin/sed
checking for tar... /bin/tar
checking for pwd... /bin/pwd
checking for Graphviz... echo Graphviz
checking for dot... echo dot
checking for fdp... echo fdp
checking for neato... echo neato
checking for twopi... echo twopi
checking for circo... echo circo
checking for gv... no
checking for gsview32... no
checking for dotty... echo dotty
checking for xdot.py... echo xdot.py
checking for a BSD-compatible install... /usr/bin/install -c
checking for bzip2... /bin/bzip2
checking for cat... /bin/cat
checking for doxygen... no
checking for groff... /usr/bin/groff
checking for gzip... /bin/gzip
checking for pod2html... /usr/bin/pod2html
checking for pod2man... /usr/bin/pod2man
checking for pdfroff... no
checking for runtest... no
checking for the tclsh program in tclinclude directory... none
checking for tclsh8.4... no
checking for tclsh8.4.8... no
checking for tclsh8.4.7... no
checking for tclsh8.4.6... no
checking for tclsh8.4.5... no
checking for tclsh8.4.4... no
checking for tclsh8.4.3... no
checking for tclsh8.4.2... no
checking for tclsh8.4.1... no
checking for tclsh8.4.0... no
checking for tclsh8.3... no
checking for tclsh8.3.5... no
checking for tclsh8.3.4... no
checking for tclsh8.3.3... no
checking for tclsh8.3.2... no
checking for tclsh8.3.1... no
checking for tclsh8.3.0... no
checking for tclsh... /usr/bin/tclsh
checking for zip... /usr/bin/zip
checking for ocamlc... no
checking for ocamlopt... no
checking for ocamldep... no
checking for ocamldoc... no
checking for gas... no
checking for as... /usr/bin/as
checking for linker version... 2.22
checking for compiler -Wl,-R option... yes
checking for compiler -rdynamic option... yes
checking for compiler -Wl,--version-script option... yes
checking for an ANSI C-conforming const... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking which extension is used for loadable modules... .so
checking for the default library search path... /lib /usr/lib /usr/lib/i386-linux-gnu/mesa /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu /usr/local/lib
checking for objdir... .libs
checking command to parse /usr/bin/nm -B output from object... ok
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen in -ldl... yes
checking for dlerror... yes
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_append... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking sys/dl.h usability... no
checking sys/dl.h presence... no
checking for sys/dl.h... no
checking dld.h usability... no
checking dld.h presence... no
checking for dld.h... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for string.h... (cached) yes
checking for strchr... yes
checking for strrchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strcmp... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking tool compatibility... ok
checking optional compiler flags... -Wno-variadic-macros -Wno-missing-field-initializers
checking for sin in -lm... yes
checking for library containing dlopen... -ldl
checking for library containing clock_gettime... -lrt
checking for library containing mallinfo... none required
checking for pthread_mutex_init in -lpthread... yes
checking for library containing pthread_mutex_lock... none required
checking for library containing pthread_rwlock_init... none required
checking for library containing pthread_getspecific... none required
checking for compress2 in -lz... yes
checking for dirent.h that defines DIR... (cached) yes
checking for library containing opendir... (cached) none required
checking for MAP_ANONYMOUS vs. MAP_ANON... yes
checking whether stat file-mode macros are broken... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking for dlfcn.h... (cached) yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking for malloc.h... (cached) yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for sys/types.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking CrashReporterClient.h usability... no
checking CrashReporterClient.h presence... no
checking for CrashReporterClient.h... no
checking __crashreporter_info
... no
checking for HUGE_VAL sanity... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for int64_t... yes
checking for uint64_t... yes
checking for backtrace... yes
checking for ceilf... yes
checking for floorf... yes
checking for roundf... yes
checking for rintf... yes
checking for nearbyintf... yes
checking for getcwd... yes
checking for powf... yes
checking for fmodf... yes
checking for strtof... yes
checking for round... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for gettimeofday... yes
checking for isatty... yes
checking for mkdtemp... yes
checking for mkstemp... yes
checking for mktemp... yes
checking for posix_spawn... yes
checking for realpath... yes
checking for sbrk... yes
checking for setrlimit... (cached) yes
checking for strdup... yes
checking for strerror... yes
checking for strerror_r... yes
checking for setenv... yes
checking for strtoll... yes
checking for strtoq... yes
checking for sysconf... yes
checking for malloc_zone_statistics... no
checking for setjmp... yes
checking for longjmp... yes
checking for sigsetjmp... no
checking for siglongjmp... yes
checking for writev... yes
checking if printf has the %a format character... yes
checking for srand48/lrand48/drand48 in <stdlib.h>... yes
checking whether strerror_s is declared... no
checking for isnan in <math.h>... yes
checking for isnan in ... yes
checking for std::isnan in ... yes
checking for isinf in <math.h>... yes
checking for isinf in ... yes
checking for std::isinf in ... yes
checking for finite in <ieeefp.h>... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for mmap of files... yes
checking if /dev/zero is needed for mmap... no
checking for GCC atomic builtins... yes
checking for __dso_handle... yes
checking for compiler -fvisibility-inlines-hidden option... yes
configure: creating ./config.status
config.status: creating Makefile.common
config.status: creating Makefile.llvm.config
config.status: executing setup commands
config.status: executing Makefile commands
config.status: executing lib/Makefile commands
config.status: executing lib/sample/Makefile commands
config.status: executing tools/Makefile commands
config.status: executing tools/sample/Makefile commands
configure:
configure: writing configuration
configure:
configure: CFG_SRC_DIR := /home/vinmay/root/experiments/rust/
configure: CFG_BUILD_DIR := /home/vinmay/root/experiments/rust/
configure: CFG_OSTYPE := unknown-linux-gnu
configure: CFG_CPUTYPE := i686
configure: CFG_CONFIGURE_ARGS :=
configure: CFG_PREFIX := /usr/local
configure: CFG_BUILD_TRIPLE := i686-unknown-linux-gnu
configure: CFG_HOST_TRIPLES := i686-unknown-linux-gnu
configure: CFG_TARGET_TRIPLES := i686-unknown-linux-gnu
configure: CFG_C_COMPILER := gcc
configure: CFG_LIBDIR := lib
configure: CFG_DISABLE_MANAGE_SUBMODULES :=
configure: CFG_ANDROID_CROSS_PATH := /opt/ndk_standalone
configure: CFG_MINGW32_CROSS_PATH :=
configure: CFG_LLVM_ROOT :=
configure: CFG_LLVM_SRC_DIR := /home/vinmay/root/experiments/rust/ ...
configure: CFG_LLVM_BUILD_DIR_i686_unknown_linux_gnu := /home/vinmay/root/experiments/rust/ ...
configure: CFG_LLVM_INST_DIR_i686_unknown_linux_gnu := /home/vinmay/root/experiments/rust/ ...
configure:
configure: leaving ./Makefile unchanged
configure: mv config.tmp config.mk
configure:
configure: complete
configure:

@alexcrichton
Copy link
Member

It looks like you're running out of memory. Are you building in a VM? Otherwise sadly this is a known issue that memory usage needs to get back under control. In the meantime allocating more memory to a VM or enabling swap on linux normally helps.

Thanks for the report though!

flip1995 pushed a commit to flip1995/rust that referenced this issue Sep 9, 2022
Fix hang in `vec_init_then_push`

fixes rust-lang#9433
changelog: Fix infinite loop in `vec_init_then_push`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants