Skip to content

Instantly share code, notes, and snippets.

@thadguidry
Created May 1, 2013 01:54
Show Gist options
  • Save thadguidry/5493287 to your computer and use it in GitHub Desktop.
Save thadguidry/5493287 to your computer and use it in GitHub Desktop.
against Incoming. with Clang 3.3 and building LLVM as part of Rust build.
Thad@Thad-Windows ~/rust
$ ./configure --enable-clang --build-triple=i686-pc-mingw32
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/Thad/rust/configure args
configure:
configure: CFG_ENABLE_CLANG := 1
configure: CFG_PREFIX := /usr/local
configure: CFG_LOCAL_RUST_ROOT := /usr/local
configure: CFG_LLVM_ROOT :=
configure: CFG_BUILD_TRIPLE := i686-pc-mingw32
configure: CFG_HOST_TRIPLES := i686-pc-mingw32
configure: CFG_TARGET_TRIPLES := i686-pc-mingw32
configure: CFG_ANDROID_CROSS_PATH := /opt/ndk_standalone
configure: CFG_MINGW32_CROSS_PATH :=
configure:
configure: validating /home/Thad/rust/configure args
configure:
configure:
configure: looking for build programs
configure:
configure: CFG_PERL := /usr/bin/perl
configure: CFG_CURL := /cygdrive/c/Git/bin/curl (7.26.0)
configure: CFG_PYTHON := /usr/bin/python2.7
configure: CFG_GIT := /usr/bin/git (1.7.9)
configure: CFG_CLANG := /home/Thad/build/Debug+Asserts/bin/ ...
configure: CFG_GCC := /usr/bin/gcc (4.5.3)
configure: CFG_LD := /usr/bin/ld (2.23.52.20130309)
configure: CFG_VALGRIND :=
configure: CFG_PERF :=
configure: CFG_ISCC :=
configure: CFG_LLNEXTGEN :=
configure: CFG_PANDOC :=
configure: CFG_PDFLATEX :=
configure: CFG_XETEX :=
configure: CFG_LUATEX :=
configure: CFG_NODE :=
configure: CFG_GDB :=
configure:
configure: found ok version of CLANG: 3.3
configure:
configure:
configure: making directories
configure:
configure:
configure: configuring submodules
configure:
configure: git: submodule sync
configure: git: submodule update
configure: git: submodule foreach sync
configure: git: submodule foreach update
configure: git: submodule status
218ab86721eefd7b7e97fa6d9f95a80a1fa8686c src/libuv (remotes/origin/master)
2e9f0d21fe321849a4759a01fc28eae82ef196d6 src/llvm (heads/master)
configure: git: submodule clobber
Removing projects/compiler-rt/
Removing tools/clang/
configure:
configure: looking at LLVM
configure:
configure: configuring LLVM for i686-pc-mingw32
configure: configuring LLVM with:
configure: --enable-targets=x86,x86_64,arm,mips --enable-optimized --disable-docs --enable-bindings=none --disable-threads --disable-pthreads --build=i686-pc-mingw32 --host=i686-pc-mingw32 --target=i686-pc-mingw32 --with-python=/usr/bin/python2.7
/home/Thad/rust/src/llvm/configure: line 1983: -m32: command not found
/home/Thad/rust/src/llvm/configure: line 1984: -m32: command not found
checking for i686-pc-mingw32-clang... clang -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... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang -m32 accepts -g... yes
checking for clang -m32 option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ -m32 accepts -g... yes
checking how to run the C preprocessor... clang -m32 -E
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking type of operating system we're going to host on... MingW
checking type of operating system we're going to target... MingW
checking target architecture... x86
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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... -O2
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... /usr/bin/cp
checking for date... /usr/bin/date
checking for find... /usr/bin/find
checking for grep... (cached) /usr/bin/grep
checking for mkdir... /usr/bin/mkdir
checking for mv... /usr/bin/mv
checking for i686-pc-mingw32-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-mingw32-ar... no
checking for ar... ar
checking for rm... /usr/bin/rm
checking for sed... /usr/bin/sed
checking for tar... /usr/bin/tar
checking for pwd... /usr/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... /usr/bin/bzip2
checking for cat... /usr/bin/cat
checking for doxygen... no
checking for groff... /usr/bin/groff
checking for gzip... /usr/bin/gzip
checking for pdfroff... /usr/bin/pdfroff
checking for zip... no
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.23.52.20130309
checking for compiler -Wl,-R<path> option... yes
checking for compiler -Wl,-export-dynamic 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... Win32 ld.exe
checking which extension is used for loadable modules... .dll
checking which variable specifies run-time library path... PATH
checking for the default library search path... /lib /usr/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... yes
checking whether we have to add an underscore for dlsym... unknown
checking whether deplibs are loaded by dlopen... unknown
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 -Wcovered-switch-default -Wno-maybe-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 main in -limagehlp... yes
checking for main in -lpsapi... yes
checking for library containing dlopen... none required
checking for library containing clock_gettime... none required
checking for library containing mallinfo... none required
checking for xml2-config... no
checking for libxml2 includes... xml2-config not found
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... no
checking execinfo.h presence... no
checking for execinfo.h... no
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... no
checking link.h presence... no
checking for link.h... no
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... yes
checking windows.h presence... yes
checking for windows.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 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 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... no
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... no
checking for pread... 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 arc4random... no
checking for strtoll... yes
checking for strtoq... no
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... no
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 _alloca in -lgcc... yes
checking for __alloca in -lgcc... no
checking for __chkstk in -lgcc... yes
checking for ___chkstk in -lgcc... no
checking for __ashldi3 in -lgcc... yes
checking for __ashrdi3 in -lgcc... yes
checking for __divdi3 in -lgcc... yes
checking for __fixdfdi in -lgcc... yes
checking for __fixsfdi in -lgcc... yes
checking for __floatdidf in -lgcc... yes
checking for __lshrdi3 in -lgcc... yes
checking for __moddi3 in -lgcc... yes
checking for __udivdi3 in -lgcc... yes
checking for __umoddi3 in -lgcc... yes
checking for __main in -lgcc... yes
checking for __cmpdi2 in -lgcc... yes
checking whether EnumerateLoadedModules() accepts new decl... yes
checking for isnan in <math.h>... yes
checking for isnan in <cmath>... no
checking for std::isnan in <cmath>... yes
checking for isinf in <math.h>... yes
checking for isinf in <cmath>... no
checking for std::isinf in <cmath>... yes
checking for finite in <ieeefp.h>... yes
checking for GCC atomic builtins... yes
checking for __dso_handle... no
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 tools/clang/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: creating tools/clang/include/clang/Config/config.h
config.status: tools/clang/include/clang/Config/config.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/Thad/rust/llvm/i686-pc-mingw32/projects/sample)
configure: running /bin/sh /home/Thad/rust/src/llvm/projects/sample/configure --prefix=/usr/local '--enable-targets=x86,x86_64,arm,mips' '--enable-optimized' '--disable-docs' '--enable-bindings=none' '--disable-threads' '--disable-pthreads' '--build=i686-pc-mingw32' '--host=i686-pc-mingw32' '--target=i686-pc-mingw32' '--with-python=/usr/bin/python2.7' 'build_alias=i686-pc-mingw32' 'host_alias=i686-pc-mingw32' 'target_alias=i686-pc-mingw32' 'CC=clang -m32' 'CFLAGS=-m32' 'LDFLAGS=-m32' 'CXX=clang++ -m32' 'CXXFLAGS=-m32' --cache-file=/dev/null --srcdir=/home/Thad/rust/src/llvm/projects/sample
checking llvm-config... no
checking LLVM package version... unknown
checking for i686-pc-mingw32-clang... clang -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... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang -m32 accepts -g... yes
checking for clang -m32 option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ -m32 accepts -g... yes
checking how to run the C preprocessor... clang -m32 -E
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking type of operating system we're going to host on... MingW
checking type of operating system we're going to target... MingW
checking target architecture... x86
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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... -O2
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... /usr/bin/cp
checking for date... /usr/bin/date
checking for find... /usr/bin/find
checking for grep... (cached) /usr/bin/grep
checking for mkdir... /usr/bin/mkdir
checking for mv... /usr/bin/mv
checking for i686-pc-mingw32-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-mingw32-ar... no
checking for ar... ar
checking for rm... /usr/bin/rm
checking for sed... /usr/bin/sed
checking for tar... /usr/bin/tar
checking for pwd... /usr/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... /usr/bin/bzip2
checking for cat... /usr/bin/cat
checking for doxygen... no
checking for groff... /usr/bin/groff
checking for gzip... /usr/bin/gzip
checking for pod2html... /usr/bin/pod2html
checking for pod2man... /usr/bin/pod2man
checking for pdfroff... /usr/bin/pdfroff
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... no
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.23.52.20130309
checking for compiler -Wl,-R<path> option... yes
checking for compiler -Wl,-export-dynamic 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... Win32 ld.exe
checking which extension is used for loadable modules... .dll
checking which variable specifies run-time library path... PATH
checking for the default library search path... /lib /usr/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... yes
checking whether we have to add an underscore for dlsym... unknown
checking whether deplibs are loaded by dlopen... unknown
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 -Wcovered-switch-default
checking for sin in -lm... yes
checking for main in -limagehlp... yes
checking for main in -lpsapi... yes
checking for library containing dlopen... none required
checking for library containing mallinfo... none required
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... no
checking execinfo.h presence... no
checking for execinfo.h... no
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... no
checking link.h presence... no
checking for link.h... no
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... yes
checking windows.h presence... yes
checking for windows.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 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 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... no
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... no
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... no
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... no
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 _alloca in -lgcc... yes
checking for __alloca in -lgcc... no
checking for __chkstk in -lgcc... yes
checking for ___chkstk in -lgcc... no
checking for __ashldi3 in -lgcc... yes
checking for __ashrdi3 in -lgcc... yes
checking for __divdi3 in -lgcc... yes
checking for __fixdfdi in -lgcc... yes
checking for __fixsfdi in -lgcc... yes
checking for __floatdidf in -lgcc... yes
checking for __lshrdi3 in -lgcc... yes
checking for __moddi3 in -lgcc... yes
checking for __udivdi3 in -lgcc... yes
checking for __umoddi3 in -lgcc... yes
checking for __main in -lgcc... yes
checking for __cmpdi2 in -lgcc... yes
checking whether EnumerateLoadedModules() accepts new decl... yes
checking for isnan in <math.h>... yes
checking for isnan in <cmath>... no
checking for std::isnan in <cmath>... yes
checking for isinf in <math.h>... yes
checking for isinf in <cmath>... no
checking for std::isinf in <cmath>... yes
checking for finite in <ieeefp.h>... yes
checking for GCC atomic builtins... yes
checking for __dso_handle... no
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/Thad/rust/
configure: CFG_BUILD_DIR := /home/Thad/rust/
configure: CFG_OSTYPE := w64-mingw32
configure: CFG_CPUTYPE := x86_64
configure: CFG_CONFIGURE_ARGS := --enable-clang --build-triple=i686- ...
configure: CFG_PREFIX := /usr/local
configure: CFG_BUILD_TRIPLE := i686-pc-mingw32
configure: CFG_HOST_TRIPLES := i686-pc-mingw32
configure: CFG_TARGET_TRIPLES := i686-pc-mingw32
configure: CFG_C_COMPILER := clang
configure: CFG_LIBDIR := lib
configure: CFG_DISABLE_MANAGE_SUBMODULES :=
configure: CFG_ANDROID_CROSS_PATH := /opt/ndk_standalone
configure: CFG_MINGW32_CROSS_PATH :=
configure: CFG_BAD_VALGRIND := 1
configure: CFG_LLVM_ROOT :=
configure: CFG_LLVM_SRC_DIR := /home/Thad/rust/src/llvm/
configure: CFG_LLVM_BUILD_DIR_i686_pc_mingw32 := /home/Thad/rust/llvm/i686-pc-mingw3 ...
configure: CFG_LLVM_INST_DIR_i686_pc_mingw32 := /home/Thad/rust/llvm/i686-pc-mingw3 ...
configure:
configure: leaving ./Makefile unchanged
configure: mv config.tmp config.mk
configure:
configure: complete
configure:
Thad@Thad-Windows ~/rust
$ make
cfg: build triple i686-pc-mingw32
cfg: host triples i686-pc-mingw32
cfg: target triples i686-pc-mingw32
cfg: host for i686-pc-mingw32 is i386
cfg: os for i686-pc-mingw32 is pc-mingw32
cfg: using clang
cfg: disabling valgrind due to its unreliability on this platform
cfg: no pandoc found, omitting doc/rust.pdf
cfg: no llnextgen found, omitting grammar-verification
cfg: no pandoc found, omitting library doc build
fetch: i686-pc-mingw32/stage0/bin/rustc.exe
determined most recent snapshot: rust-stage0-2013-03-28-f7a2371-winnt-i386-858a74afb210b30697227a87b67e44786b383a0c.tar.bz2
got download with ok hash
opening snapshot dl/rust-stage0-2013-03-28-f7a2371-winnt-i386-858a74afb210b30697227a87b67e44786b383a0c.tar.bz2
extracting rust-stage0/bin/rustc.exe
extracting rust-stage0/bin/core-c3ca5d77d81b46c1-0.6.dll
extracting rust-stage0/bin/std-4782a756585a81-0.6.dll
extracting rust-stage0/bin/rustc-c84825241471686d-0.6.dll
extracting rust-stage0/bin/syntax-84efebcb12c867a2-0.6.dll
extracting rust-stage0/bin/rustrt.dll
extracting rust-stage0/bin/rustllvm.dll
compile: rt/i686-pc-mingw32/sync/timer.o
compile: rt/i686-pc-mingw32/sync/lock_and_signal.o
compile: rt/i686-pc-mingw32/sync/rust_thread.o
compile: rt/i686-pc-mingw32/rust.o
In file included from /home/Thad/rust/src/rt/rust.cpp:18:
In file included from /home/Thad/rust/src/rt/rust_util.h:15:
In file included from /home/Thad/rust/src/rt/rust_task.h:121:
/home/Thad/rust/src/rt/arch/i386/sp.h:48:12: error: variable 'limit' is
uninitialized when used here [-Werror,-Wuninitialized]
return limit;
^~~~~
/home/Thad/rust/src/rt/arch/i386/sp.h:30:20: note: initialize the variable
'limit' to silence this warning
uintptr_t limit;
^
= 0
In file included from /home/Thad/rust/src/rt/rust.cpp:18:
In file included from /home/Thad/rust/src/rt/rust_util.h:15:
/home/Thad/rust/src/rt/rust_task.h:554:23: error: use of undeclared identifier
'RED_ZONE_SIZE'
- RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:613:34: error: use of undeclared identifier
'RED_ZONE_SIZE'
assert((uintptr_t)stk->end - RED_ZONE_SIZE
^
/usr/include/assert.h:16:24: note: expanded from macro 'assert'
# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
^
In file included from /home/Thad/rust/src/rt/rust.cpp:18:
In file included from /home/Thad/rust/src/rt/rust_util.h:15:
/home/Thad/rust/src/rt/rust_task.h:616:48: error: use of undeclared identifier
'RED_ZONE_SIZE'
record_sp_limit(stk->data + LIMIT_OFFSET + RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:633:20: error: use of undeclared identifier
'RED_ZONE_SIZE'
sp_limit - RED_ZONE_SIZE - LIMIT_OFFSET - sizeof(stk_seg);
^
5 errors generated.
compile: rt/i686-pc-mingw32/rust_builtin.o
In file included from /home/Thad/rust/src/rt/rust_builtin.cpp:13:
In file included from /home/Thad/rust/src/rt/rust_sched_loop.h:238:
In file included from /home/Thad/rust/src/rt/rust_task.h:121:
/home/Thad/rust/src/rt/arch/i386/sp.h:48:12: error: variable 'limit' is
uninitialized when used here [-Werror,-Wuninitialized]
return limit;
^~~~~
/home/Thad/rust/src/rt/arch/i386/sp.h:30:20: note: initialize the variable
'limit' to silence this warning
uintptr_t limit;
^
= 0
In file included from /home/Thad/rust/src/rt/rust_builtin.cpp:13:
In file included from /home/Thad/rust/src/rt/rust_sched_loop.h:238:
/home/Thad/rust/src/rt/rust_task.h:554:23: error: use of undeclared identifier
'RED_ZONE_SIZE'
- RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:613:34: error: use of undeclared identifier
'RED_ZONE_SIZE'
assert((uintptr_t)stk->end - RED_ZONE_SIZE
^
/usr/include/assert.h:16:24: note: expanded from macro 'assert'
# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
^
In file included from /home/Thad/rust/src/rt/rust_builtin.cpp:13:
In file included from /home/Thad/rust/src/rt/rust_sched_loop.h:238:
/home/Thad/rust/src/rt/rust_task.h:616:48: error: use of undeclared identifier
'RED_ZONE_SIZE'
record_sp_limit(stk->data + LIMIT_OFFSET + RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:633:20: error: use of undeclared identifier
'RED_ZONE_SIZE'
sp_limit - RED_ZONE_SIZE - LIMIT_OFFSET - sizeof(stk_seg);
^
/home/Thad/rust/src/rt/rust_builtin.cpp:456:25: error: no member named
'tm_gmtoff' in 'tm'
int32_t gmtoff = tm.tm_gmtoff;
~~ ^
/home/Thad/rust/src/rt/rust_builtin.cpp:457:27: error: no member named 'tm_zone'
in 'tm'; did you mean 'tm_mon'?
const char *zone = tm.tm_zone;
^~~~~~~
tm_mon
/usr/include/time.h:37:7: note: 'tm_mon' declared here
int tm_mon;
^
/home/Thad/rust/src/rt/rust_builtin.cpp:457:17: error: cannot initialize a
variable of type 'const char *' with an lvalue of type 'int'
const char *zone = tm.tm_zone;
^ ~~~~~~~~~~
8 errors generated.
compile: rt/i686-pc-mingw32/rust_run_program.o
compile: rt/i686-pc-mingw32/rust_env.o
compile: rt/i686-pc-mingw32/rust_rng.o
In file included from /home/Thad/rust/src/rt/rust_rng.cpp:13:
In file included from /home/Thad/rust/src/rt/rust_util.h:15:
In file included from /home/Thad/rust/src/rt/rust_task.h:121:
/home/Thad/rust/src/rt/arch/i386/sp.h:48:12: error: variable 'limit' is
uninitialized when used here [-Werror,-Wuninitialized]
return limit;
^~~~~
/home/Thad/rust/src/rt/arch/i386/sp.h:30:20: note: initialize the variable
'limit' to silence this warning
uintptr_t limit;
^
= 0
In file included from /home/Thad/rust/src/rt/rust_rng.cpp:13:
In file included from /home/Thad/rust/src/rt/rust_util.h:15:
/home/Thad/rust/src/rt/rust_task.h:554:23: error: use of undeclared identifier
'RED_ZONE_SIZE'
- RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:613:34: error: use of undeclared identifier
'RED_ZONE_SIZE'
assert((uintptr_t)stk->end - RED_ZONE_SIZE
^
/usr/include/assert.h:16:24: note: expanded from macro 'assert'
# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
^
In file included from /home/Thad/rust/src/rt/rust_rng.cpp:13:
In file included from /home/Thad/rust/src/rt/rust_util.h:15:
/home/Thad/rust/src/rt/rust_task.h:616:48: error: use of undeclared identifier
'RED_ZONE_SIZE'
record_sp_limit(stk->data + LIMIT_OFFSET + RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:633:20: error: use of undeclared identifier
'RED_ZONE_SIZE'
sp_limit - RED_ZONE_SIZE - LIMIT_OFFSET - sizeof(stk_seg);
^
5 errors generated.
compile: rt/i686-pc-mingw32/rust_sched_loop.o
In file included from /home/Thad/rust/src/rt/rust_sched_loop.cpp:12:
In file included from /home/Thad/rust/src/rt/rust_sched_loop.h:238:
In file included from /home/Thad/rust/src/rt/rust_task.h:121:
/home/Thad/rust/src/rt/arch/i386/sp.h:48:12: error: variable 'limit' is
uninitialized when used here [-Werror,-Wuninitialized]
return limit;
^~~~~
/home/Thad/rust/src/rt/arch/i386/sp.h:30:20: note: initialize the variable
'limit' to silence this warning
uintptr_t limit;
^
= 0
In file included from /home/Thad/rust/src/rt/rust_sched_loop.cpp:12:
In file included from /home/Thad/rust/src/rt/rust_sched_loop.h:238:
/home/Thad/rust/src/rt/rust_task.h:554:23: error: use of undeclared identifier
'RED_ZONE_SIZE'
- RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:613:34: error: use of undeclared identifier
'RED_ZONE_SIZE'
assert((uintptr_t)stk->end - RED_ZONE_SIZE
^
/usr/include/assert.h:16:24: note: expanded from macro 'assert'
# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
^
In file included from /home/Thad/rust/src/rt/rust_sched_loop.cpp:12:
In file included from /home/Thad/rust/src/rt/rust_sched_loop.h:238:
/home/Thad/rust/src/rt/rust_task.h:616:48: error: use of undeclared identifier
'RED_ZONE_SIZE'
record_sp_limit(stk->data + LIMIT_OFFSET + RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:633:20: error: use of undeclared identifier
'RED_ZONE_SIZE'
sp_limit - RED_ZONE_SIZE - LIMIT_OFFSET - sizeof(stk_seg);
^
5 errors generated.
compile: rt/i686-pc-mingw32/rust_sched_launcher.o
In file included from /home/Thad/rust/src/rt/rust_sched_launcher.cpp:12:
In file included from /home/Thad/rust/src/rt/rust_sched_launcher.h:17:
In file included from /home/Thad/rust/src/rt/rust_sched_loop.h:238:
In file included from /home/Thad/rust/src/rt/rust_task.h:121:
/home/Thad/rust/src/rt/arch/i386/sp.h:48:12: error: variable 'limit' is
uninitialized when used here [-Werror,-Wuninitialized]
return limit;
^~~~~
/home/Thad/rust/src/rt/arch/i386/sp.h:30:20: note: initialize the variable
'limit' to silence this warning
uintptr_t limit;
^
= 0
In file included from /home/Thad/rust/src/rt/rust_sched_launcher.cpp:12:
In file included from /home/Thad/rust/src/rt/rust_sched_launcher.h:17:
In file included from /home/Thad/rust/src/rt/rust_sched_loop.h:238:
/home/Thad/rust/src/rt/rust_task.h:554:23: error: use of undeclared identifier
'RED_ZONE_SIZE'
- RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:613:34: error: use of undeclared identifier
'RED_ZONE_SIZE'
assert((uintptr_t)stk->end - RED_ZONE_SIZE
^
/usr/include/assert.h:16:24: note: expanded from macro 'assert'
# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
^
In file included from /home/Thad/rust/src/rt/rust_sched_launcher.cpp:12:
In file included from /home/Thad/rust/src/rt/rust_sched_launcher.h:17:
In file included from /home/Thad/rust/src/rt/rust_sched_loop.h:238:
/home/Thad/rust/src/rt/rust_task.h:616:48: error: use of undeclared identifier
'RED_ZONE_SIZE'
record_sp_limit(stk->data + LIMIT_OFFSET + RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:633:20: error: use of undeclared identifier
'RED_ZONE_SIZE'
sp_limit - RED_ZONE_SIZE - LIMIT_OFFSET - sizeof(stk_seg);
^
5 errors generated.
compile: rt/i686-pc-mingw32/rust_sched_driver.o
In file included from /home/Thad/rust/src/rt/rust_sched_driver.cpp:14:
In file included from /home/Thad/rust/src/rt/rust_sched_loop.h:238:
In file included from /home/Thad/rust/src/rt/rust_task.h:121:
/home/Thad/rust/src/rt/arch/i386/sp.h:48:12: error: variable 'limit' is
uninitialized when used here [-Werror,-Wuninitialized]
return limit;
^~~~~
/home/Thad/rust/src/rt/arch/i386/sp.h:30:20: note: initialize the variable
'limit' to silence this warning
uintptr_t limit;
^
= 0
In file included from /home/Thad/rust/src/rt/rust_sched_driver.cpp:14:
In file included from /home/Thad/rust/src/rt/rust_sched_loop.h:238:
/home/Thad/rust/src/rt/rust_task.h:554:23: error: use of undeclared identifier
'RED_ZONE_SIZE'
- RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:613:34: error: use of undeclared identifier
'RED_ZONE_SIZE'
assert((uintptr_t)stk->end - RED_ZONE_SIZE
^
/usr/include/assert.h:16:24: note: expanded from macro 'assert'
# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
^
In file included from /home/Thad/rust/src/rt/rust_sched_driver.cpp:14:
In file included from /home/Thad/rust/src/rt/rust_sched_loop.h:238:
/home/Thad/rust/src/rt/rust_task.h:616:48: error: use of undeclared identifier
'RED_ZONE_SIZE'
record_sp_limit(stk->data + LIMIT_OFFSET + RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:633:20: error: use of undeclared identifier
'RED_ZONE_SIZE'
sp_limit - RED_ZONE_SIZE - LIMIT_OFFSET - sizeof(stk_seg);
^
5 errors generated.
compile: rt/i686-pc-mingw32/rust_scheduler.o
In file included from /home/Thad/rust/src/rt/rust_scheduler.cpp:14:
In file included from /home/Thad/rust/src/rt/rust_task.h:121:
/home/Thad/rust/src/rt/arch/i386/sp.h:48:12: error: variable 'limit' is
uninitialized when used here [-Werror,-Wuninitialized]
return limit;
^~~~~
/home/Thad/rust/src/rt/arch/i386/sp.h:30:20: note: initialize the variable
'limit' to silence this warning
uintptr_t limit;
^
= 0
In file included from /home/Thad/rust/src/rt/rust_scheduler.cpp:14:
/home/Thad/rust/src/rt/rust_task.h:554:23: error: use of undeclared identifier
'RED_ZONE_SIZE'
- RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:613:34: error: use of undeclared identifier
'RED_ZONE_SIZE'
assert((uintptr_t)stk->end - RED_ZONE_SIZE
^
/usr/include/assert.h:16:24: note: expanded from macro 'assert'
# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
^
In file included from /home/Thad/rust/src/rt/rust_scheduler.cpp:14:
/home/Thad/rust/src/rt/rust_task.h:616:48: error: use of undeclared identifier
'RED_ZONE_SIZE'
record_sp_limit(stk->data + LIMIT_OFFSET + RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:633:20: error: use of undeclared identifier
'RED_ZONE_SIZE'
sp_limit - RED_ZONE_SIZE - LIMIT_OFFSET - sizeof(stk_seg);
^
5 errors generated.
compile: rt/i686-pc-mingw32/rust_sched_reaper.o
compile: rt/i686-pc-mingw32/rust_task.o
/home/Thad/rust/src/rt/rust_task.cpp:16:10: fatal error: 'execinfo.h' file not
found
#include <execinfo.h>
^
1 error generated.
compile: rt/i686-pc-mingw32/rust_stack.o
compile: rt/i686-pc-mingw32/rust_upcall.o
In file included from /home/Thad/rust/src/rt/rust_upcall.cpp:20:
In file included from /home/Thad/rust/src/rt/rust_task.h:121:
/home/Thad/rust/src/rt/arch/i386/sp.h:48:12: error: variable 'limit' is
uninitialized when used here [-Werror,-Wuninitialized]
return limit;
^~~~~
/home/Thad/rust/src/rt/arch/i386/sp.h:30:20: note: initialize the variable
'limit' to silence this warning
uintptr_t limit;
^
= 0
In file included from /home/Thad/rust/src/rt/rust_upcall.cpp:20:
/home/Thad/rust/src/rt/rust_task.h:554:23: error: use of undeclared identifier
'RED_ZONE_SIZE'
- RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:613:34: error: use of undeclared identifier
'RED_ZONE_SIZE'
assert((uintptr_t)stk->end - RED_ZONE_SIZE
^
/usr/include/assert.h:16:24: note: expanded from macro 'assert'
# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
^
In file included from /home/Thad/rust/src/rt/rust_upcall.cpp:20:
/home/Thad/rust/src/rt/rust_task.h:616:48: error: use of undeclared identifier
'RED_ZONE_SIZE'
record_sp_limit(stk->data + LIMIT_OFFSET + RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:633:20: error: use of undeclared identifier
'RED_ZONE_SIZE'
sp_limit - RED_ZONE_SIZE - LIMIT_OFFSET - sizeof(stk_seg);
^
5 errors generated.
compile: rt/i686-pc-mingw32/rust_uv.o
In file included from /home/Thad/rust/src/rt/rust_uv.cpp:17:
In file included from /home/Thad/rust/src/rt/rust_task.h:121:
/home/Thad/rust/src/rt/arch/i386/sp.h:48:12: error: variable 'limit' is
uninitialized when used here [-Werror,-Wuninitialized]
return limit;
^~~~~
/home/Thad/rust/src/rt/arch/i386/sp.h:30:20: note: initialize the variable
'limit' to silence this warning
uintptr_t limit;
^
= 0
In file included from /home/Thad/rust/src/rt/rust_uv.cpp:17:
/home/Thad/rust/src/rt/rust_task.h:554:23: error: use of undeclared identifier
'RED_ZONE_SIZE'
- RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:613:34: error: use of undeclared identifier
'RED_ZONE_SIZE'
assert((uintptr_t)stk->end - RED_ZONE_SIZE
^
/usr/include/assert.h:16:24: note: expanded from macro 'assert'
# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
^
In file included from /home/Thad/rust/src/rt/rust_uv.cpp:17:
/home/Thad/rust/src/rt/rust_task.h:616:48: error: use of undeclared identifier
'RED_ZONE_SIZE'
record_sp_limit(stk->data + LIMIT_OFFSET + RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:633:20: error: use of undeclared identifier
'RED_ZONE_SIZE'
sp_limit - RED_ZONE_SIZE - LIMIT_OFFSET - sizeof(stk_seg);
^
In file included from /home/Thad/rust/src/rt/rust_uv.cpp:19:
In file included from /home/Thad/rust/src/libuv/include/uv.h:67:
/home/Thad/rust/src/libuv/include/uv-private/uv-unix.h:140:9: error: unknown
type name 'pthread_barrier_t'; did you mean 'pthread_attr_t'?
typedef pthread_barrier_t uv_barrier_t;
^~~~~~~~~~~~~~~~~
pthread_attr_t
/usr/include/cygwin/types.h:185:50: note: 'pthread_attr_t' declared here
typedef struct __pthread_attr_t {char __dummy;} *pthread_attr_t;
^
6 errors generated.
compile: rt/i686-pc-mingw32/rust_crate_map.o
compile: rt/i686-pc-mingw32/rust_log.o
In file included from /home/Thad/rust/src/rt/rust_log.cpp:19:
In file included from /home/Thad/rust/src/rt/rust_util.h:15:
In file included from /home/Thad/rust/src/rt/rust_task.h:121:
/home/Thad/rust/src/rt/arch/i386/sp.h:48:12: error: variable 'limit' is
uninitialized when used here [-Werror,-Wuninitialized]
return limit;
^~~~~
/home/Thad/rust/src/rt/arch/i386/sp.h:30:20: note: initialize the variable
'limit' to silence this warning
uintptr_t limit;
^
= 0
In file included from /home/Thad/rust/src/rt/rust_log.cpp:19:
In file included from /home/Thad/rust/src/rt/rust_util.h:15:
/home/Thad/rust/src/rt/rust_task.h:554:23: error: use of undeclared identifier
'RED_ZONE_SIZE'
- RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:613:34: error: use of undeclared identifier
'RED_ZONE_SIZE'
assert((uintptr_t)stk->end - RED_ZONE_SIZE
^
/usr/include/assert.h:16:24: note: expanded from macro 'assert'
# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
^
In file included from /home/Thad/rust/src/rt/rust_log.cpp:19:
In file included from /home/Thad/rust/src/rt/rust_util.h:15:
/home/Thad/rust/src/rt/rust_task.h:616:48: error: use of undeclared identifier
'RED_ZONE_SIZE'
record_sp_limit(stk->data + LIMIT_OFFSET + RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:633:20: error: use of undeclared identifier
'RED_ZONE_SIZE'
sp_limit - RED_ZONE_SIZE - LIMIT_OFFSET - sizeof(stk_seg);
^
5 errors generated.
compile: rt/i686-pc-mingw32/rust_gc_metadata.o
compile: rt/i686-pc-mingw32/rust_util.o
compile: rt/i686-pc-mingw32/rust_exchange_alloc.o
compile: rt/i686-pc-mingw32/isaac/randport.o
compile: rt/i686-pc-mingw32/miniz.o
compile: rt/i686-pc-mingw32/rust_kernel.o
In file included from /home/Thad/rust/src/rt/rust_kernel.cpp:14:
In file included from /home/Thad/rust/src/rt/rust_util.h:15:
In file included from /home/Thad/rust/src/rt/rust_task.h:121:
/home/Thad/rust/src/rt/arch/i386/sp.h:48:12: error: variable 'limit' is
uninitialized when used here [-Werror,-Wuninitialized]
return limit;
^~~~~
/home/Thad/rust/src/rt/arch/i386/sp.h:30:20: note: initialize the variable
'limit' to silence this warning
uintptr_t limit;
^
= 0
In file included from /home/Thad/rust/src/rt/rust_kernel.cpp:14:
In file included from /home/Thad/rust/src/rt/rust_util.h:15:
/home/Thad/rust/src/rt/rust_task.h:554:23: error: use of undeclared identifier
'RED_ZONE_SIZE'
- RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:613:34: error: use of undeclared identifier
'RED_ZONE_SIZE'
assert((uintptr_t)stk->end - RED_ZONE_SIZE
^
/usr/include/assert.h:16:24: note: expanded from macro 'assert'
# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
^
In file included from /home/Thad/rust/src/rt/rust_kernel.cpp:14:
In file included from /home/Thad/rust/src/rt/rust_util.h:15:
/home/Thad/rust/src/rt/rust_task.h:616:48: error: use of undeclared identifier
'RED_ZONE_SIZE'
record_sp_limit(stk->data + LIMIT_OFFSET + RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:633:20: error: use of undeclared identifier
'RED_ZONE_SIZE'
sp_limit - RED_ZONE_SIZE - LIMIT_OFFSET - sizeof(stk_seg);
^
5 errors generated.
compile: rt/i686-pc-mingw32/rust_abi.o
compile: rt/i686-pc-mingw32/rust_debug.o
In file included from /home/Thad/rust/src/rt/rust_debug.cpp:16:
In file included from /home/Thad/rust/src/rt/rust_task.h:121:
/home/Thad/rust/src/rt/arch/i386/sp.h:48:12: error: variable 'limit' is
uninitialized when used here [-Werror,-Wuninitialized]
return limit;
^~~~~
/home/Thad/rust/src/rt/arch/i386/sp.h:30:20: note: initialize the variable
'limit' to silence this warning
uintptr_t limit;
^
= 0
In file included from /home/Thad/rust/src/rt/rust_debug.cpp:16:
/home/Thad/rust/src/rt/rust_task.h:554:23: error: use of undeclared identifier
'RED_ZONE_SIZE'
- RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:613:34: error: use of undeclared identifier
'RED_ZONE_SIZE'
assert((uintptr_t)stk->end - RED_ZONE_SIZE
^
/usr/include/assert.h:16:24: note: expanded from macro 'assert'
# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
^
In file included from /home/Thad/rust/src/rt/rust_debug.cpp:16:
/home/Thad/rust/src/rt/rust_task.h:616:48: error: use of undeclared identifier
'RED_ZONE_SIZE'
record_sp_limit(stk->data + LIMIT_OFFSET + RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:633:20: error: use of undeclared identifier
'RED_ZONE_SIZE'
sp_limit - RED_ZONE_SIZE - LIMIT_OFFSET - sizeof(stk_seg);
^
5 errors generated.
compile: rt/i686-pc-mingw32/memory_region.o
compile: rt/i686-pc-mingw32/boxed_region.o
In file included from /home/Thad/rust/src/rt/boxed_region.cpp:13:
In file included from /home/Thad/rust/src/rt/rust_task.h:121:
/home/Thad/rust/src/rt/arch/i386/sp.h:48:12: error: variable 'limit' is
uninitialized when used here [-Werror,-Wuninitialized]
return limit;
^~~~~
/home/Thad/rust/src/rt/arch/i386/sp.h:30:20: note: initialize the variable
'limit' to silence this warning
uintptr_t limit;
^
= 0
In file included from /home/Thad/rust/src/rt/boxed_region.cpp:13:
/home/Thad/rust/src/rt/rust_task.h:554:23: error: use of undeclared identifier
'RED_ZONE_SIZE'
- RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:613:34: error: use of undeclared identifier
'RED_ZONE_SIZE'
assert((uintptr_t)stk->end - RED_ZONE_SIZE
^
/usr/include/assert.h:16:24: note: expanded from macro 'assert'
# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
^
In file included from /home/Thad/rust/src/rt/boxed_region.cpp:13:
/home/Thad/rust/src/rt/rust_task.h:616:48: error: use of undeclared identifier
'RED_ZONE_SIZE'
record_sp_limit(stk->data + LIMIT_OFFSET + RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:633:20: error: use of undeclared identifier
'RED_ZONE_SIZE'
sp_limit - RED_ZONE_SIZE - LIMIT_OFFSET - sizeof(stk_seg);
^
5 errors generated.
compile: rt/i686-pc-mingw32/arch/i386/context.o
compile: rt/i686-pc-mingw32/arch/i386/gpr.o
compile: rt/i686-pc-mingw32/rust_android_dummy.o
compile: rt/i686-pc-mingw32/rust_test_helpers.o
In file included from /home/Thad/rust/src/rt/rust_test_helpers.cpp:13:
In file included from /home/Thad/rust/src/rt/rust_sched_loop.h:238:
In file included from /home/Thad/rust/src/rt/rust_task.h:121:
/home/Thad/rust/src/rt/arch/i386/sp.h:48:12: error: variable 'limit' is
uninitialized when used here [-Werror,-Wuninitialized]
return limit;
^~~~~
/home/Thad/rust/src/rt/arch/i386/sp.h:30:20: note: initialize the variable
'limit' to silence this warning
uintptr_t limit;
^
= 0
In file included from /home/Thad/rust/src/rt/rust_test_helpers.cpp:13:
In file included from /home/Thad/rust/src/rt/rust_sched_loop.h:238:
/home/Thad/rust/src/rt/rust_task.h:554:23: error: use of undeclared identifier
'RED_ZONE_SIZE'
- RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:613:34: error: use of undeclared identifier
'RED_ZONE_SIZE'
assert((uintptr_t)stk->end - RED_ZONE_SIZE
^
/usr/include/assert.h:16:24: note: expanded from macro 'assert'
# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
^
In file included from /home/Thad/rust/src/rt/rust_test_helpers.cpp:13:
In file included from /home/Thad/rust/src/rt/rust_sched_loop.h:238:
/home/Thad/rust/src/rt/rust_task.h:616:48: error: use of undeclared identifier
'RED_ZONE_SIZE'
record_sp_limit(stk->data + LIMIT_OFFSET + RED_ZONE_SIZE);
^
/home/Thad/rust/src/rt/rust_task.h:633:20: error: use of undeclared identifier
'RED_ZONE_SIZE'
sp_limit - RED_ZONE_SIZE - LIMIT_OFFSET - sizeof(stk_seg);
^
5 errors generated.
compile: rt/i686-pc-mingw32/linenoise/linenoise.o
compile: rt/i686-pc-mingw32/linenoise/utf8.o
make: llvm
make[1]: Entering directory `/home/Thad/rust/llvm/i686-pc-mingw32'
llvm[1]: Constructing LLVMBuild project information.
make[1]: Leaving directory `/home/Thad/rust/llvm/i686-pc-mingw32'
make[1]: Entering directory `/home/Thad/rust/llvm/i686-pc-mingw32'
make[2]: Entering directory `/home/Thad/rust/llvm/i686-pc-mingw32/lib/Support'
llvm[2]: Compiling APFloat.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling APInt.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling APSInt.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling Allocator.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling Atomic.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling BlockFrequency.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling BranchProbability.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling CommandLine.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling ConstantRange.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling ConvertUTF.c for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling ConvertUTFWrapper.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling CrashRecoveryContext.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling DAGDeltaAlgorithm.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling DataExtractor.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling DataStream.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling Debug.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling DeltaAlgorithm.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling Disassembler.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling Dwarf.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling DynamicLibrary.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
In file included from /home/Thad/rust/src/llvm/lib/Support/DynamicLibrary.cpp:57:
/home/Thad/rust/src/llvm/lib/Support/Windows/DynamicLibrary.inc:31:10: warning:
unknown pragma ignored [-Wunknown-pragmas]
#pragma comment(lib, "dbghelp.lib")
^
2 warnings generated.
llvm[2]: Compiling Errno.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling ErrorHandling.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling FileOutputBuffer.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling FileUtilities.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling FoldingSet.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling FormattedStream.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling GraphWriter.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling Hashing.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling Host.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling IncludeFile.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling IntEqClasses.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling IntervalMap.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling IntrusiveRefCntPtr.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling IsInf.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling IsNAN.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling Locale.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling LockFileManager.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling ManagedStatic.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling Memory.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
In file included from /home/Thad/rust/src/llvm/lib/Support/Memory.cpp:24:
/home/Thad/rust/src/llvm/lib/Support/Windows/Memory.inc:85:30: warning:
implicit conversion of NULL constant to 'unsigned int' [-Wnull-conversion]
: NULL;
^~~~
0
2 warnings generated.
llvm[2]: Compiling MemoryBuffer.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling MemoryObject.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling Mutex.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling Path.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
In file included from /home/Thad/rust/src/llvm/lib/Support/Path.cpp:294:
/home/Thad/rust/src/llvm/lib/Support/Windows/Path.inc:199:27: warning: 'exists'
is deprecated: PathV1 has been deprecated and will be removed as soon as
all LLVM and Clang clients have been moved over to PathV2. Please use
`fs::exists` from PathV2 instead. [-Wdeprecated-declarations]
assert(TempDirectory->exists() && "Who has removed TempDirectory?");
^
/usr/include/assert.h:16:24: note: expanded from macro 'assert'
# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
^
/home/Thad/rust/src/llvm/include/llvm/Support/PathV1.h:369:38: note: 'exists'
declared here
LLVM_ATTRIBUTE_DEPRECATED(bool exists() const,
^
/home/Thad/rust/src/llvm/include/llvm/Support/Compiler.h:255:3: note: expanded
from macro 'LLVM_ATTRIBUTE_DEPRECATED'
decl __attribute__((deprecated(message)))
^
In file included from /home/Thad/rust/src/llvm/lib/Support/Path.cpp:294:
/home/Thad/rust/src/llvm/lib/Support/Windows/Path.inc:222:32: warning: format
specifies type 'unsigned int' but the argument has type 'DWORD'
(aka 'unsigned long') [-Wformat]
sprintf(pathname, "LLVM_%u", GetCurrentProcessId());
~~ ^~~~~~~~~~~~~~~~~~~~~
%lu
/home/Thad/rust/src/llvm/lib/Support/Windows/Path.inc:615:45: error: use of
undeclared identifier '_alloca'
char *pathname = reinterpret_cast<char *>(_alloca(len+2));
^
/home/Thad/rust/src/llvm/lib/Support/Windows/Path.inc:697:47: error: use of
undeclared identifier '_alloca'
char *pathname = reinterpret_cast<char *>(_alloca(path.length()+3));
^
3 warnings and 2 errors generated.
llvm[2]: Compiling PathV2.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
In file included from /home/Thad/rust/src/llvm/lib/Support/PathV2.cpp:921:
/home/Thad/rust/src/llvm/lib/Support/Windows/PathV2.inc:331:14: error: no member
named '_wopen' in the global namespace; did you mean '_lopen'?
int fd = ::_wopen(path_utf16.begin(), O_BINARY | _O_RDWR, S_IWRITE);
~~^~~~~~
_lopen
/usr/include/w32api/winbase.h:1645:27: note: '_lopen' declared here
WINBASEAPI HFILE WINAPI _lopen(LPCSTR lpPathName,int iReadWrite);
^
In file included from /home/Thad/rust/src/llvm/lib/Support/PathV2.cpp:921:
/home/Thad/rust/src/llvm/lib/Support/Windows/PathV2.inc:331:61: error: too many
arguments to function call, expected 2, have 3
int fd = ::_wopen(path_utf16.begin(), O_BINARY | _O_RDWR, S_IWRITE);
~~~~~~~~ ^~~~~~~~
/usr/include/sys/stat.h:85:19: note: expanded from macro 'S_IWRITE'
#define S_IWRITE 0000200 /* write permission, owner */
^~~~~~~
/usr/include/w32api/winbase.h:1645:3: note: '_lopen' declared here
WINBASEAPI HFILE WINAPI _lopen(LPCSTR lpPathName,int iReadWrite);
^
/usr/include/w32api/winbase.h:21:20: note: expanded from macro 'WINBASEAPI'
#define WINBASEAPI DECLSPEC_IMPORT
^
/usr/include/w32api/winnt.h:93:25: note: expanded from macro 'DECLSPEC_IMPORT'
#define DECLSPEC_IMPORT __declspec(dllimport)
^
In file included from /home/Thad/rust/src/llvm/lib/Support/PathV2.cpp:921:
/home/Thad/rust/src/llvm/lib/Support/Windows/PathV2.inc:337:21: error: no member
named '_chsize' in the global namespace
errno_t error = ::_chsize(fd, size);
~~^
/home/Thad/rust/src/llvm/lib/Support/Windows/PathV2.inc:659:14: error: no member
named '_open_osfhandle' in the global namespace; did you mean
'get_osfhandle'?
int fd = ::_open_osfhandle(intptr_t(TempFileHandle), 0);
~~^~~~~~~~~~~~~~~
get_osfhandle
/usr/include/io.h:21:13: note: 'get_osfhandle' declared here
extern long get_osfhandle(int);
^
In file included from /home/Thad/rust/src/llvm/lib/Support/PathV2.cpp:921:
/home/Thad/rust/src/llvm/lib/Support/Windows/PathV2.inc:659:56: error: too many
arguments to function call, expected 1, have 2
int fd = ::_open_osfhandle(intptr_t(TempFileHandle), 0);
~~~~~~~~~~~~~~~~~ ^
/usr/include/io.h:21:1: note: 'get_osfhandle' declared here
extern long get_osfhandle(int);
^
In file included from /home/Thad/rust/src/llvm/lib/Support/PathV2.cpp:921:
/home/Thad/rust/src/llvm/lib/Support/Windows/PathV2.inc:720:9: error: use of
undeclared identifier '_close'
_close(FileDescriptor);
^
/home/Thad/rust/src/llvm/lib/Support/Windows/PathV2.inc:731:3: warning: default
label in switch which covers all enumeration values
[-Wcovered-switch-default]
default: llvm_unreachable("invalid mapping mode");
^
/home/Thad/rust/src/llvm/lib/Support/Windows/PathV2.inc:744:9: error: use of
undeclared identifier '_close'
_close(FileDescriptor);
^
/home/Thad/rust/src/llvm/lib/Support/Windows/PathV2.inc:755:3: warning: default
label in switch which covers all enumeration values
[-Wcovered-switch-default]
default: llvm_unreachable("invalid mapping mode");
^
/home/Thad/rust/src/llvm/lib/Support/Windows/PathV2.inc:767:9: error: use of
undeclared identifier '_close'
_close(FileDescriptor);
^
/home/Thad/rust/src/llvm/lib/Support/Windows/PathV2.inc:782:11: error: use of
undeclared identifier '_close'
_close(FileDescriptor);
^
/home/Thad/rust/src/llvm/lib/Support/Windows/PathV2.inc:795:7: error: use of
undeclared identifier '_close'
_close(FileDescriptor); // Also closes FileHandle.
^
/home/Thad/rust/src/llvm/lib/Support/Windows/PathV2.inc:857:41: error: use of
undeclared identifier '_get_osfhandle'; did you mean 'get_osfhandle'?
FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(fd));
^~~~~~~~~~~~~~
get_osfhandle
/usr/include/io.h:21:13: note: 'get_osfhandle' declared here
extern long get_osfhandle(int);
^
In file included from /home/Thad/rust/src/llvm/lib/Support/PathV2.cpp:921:
/home/Thad/rust/src/llvm/lib/Support/Windows/PathV2.inc:860:7: error: use of
undeclared identifier '_close'
_close(FileDescriptor);
^
3 warnings and 12 errors generated.
llvm[2]: Compiling PluginLoader.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling PrettyStackTrace.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
llvm[2]: Compiling Process.cpp for Release+Asserts build
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
In file included from /home/Thad/rust/src/llvm/lib/Support/Process.cpp:88:
/home/Thad/rust/src/llvm/lib/Support/Windows/Process.inc:15:10: fatal error:
'direct.h' file not found
#include <direct.h>
^
1 warning and 1 error generated.
/usr/bin/mv: cannot stat `/home/Thad/rust/llvm/i686-pc-mingw32/lib/Support/Release+Asserts/Process.d.tmp': No such file or directory
/home/Thad/rust/src/llvm/Makefile.rules:1613: recipe for target `/home/Thad/rust/llvm/i686-pc-mingw32/lib/Support/Release+Asserts/Process.o' failed
make[2]: *** [/home/Thad/rust/llvm/i686-pc-mingw32/lib/Support/Release+Asserts/Process.o] Error 1
make[2]: Leaving directory `/home/Thad/rust/llvm/i686-pc-mingw32/lib/Support'
/home/Thad/rust/src/llvm/Makefile.rules:866: recipe for target `all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/Thad/rust/llvm/i686-pc-mingw32'
/home/Thad/rust/mk/llvm.mk:33: recipe for target `/home/Thad/rust/llvm/i686-pc-mingw32/Release+Asserts/bin/llvm-config.exe' failed
make: *** [/home/Thad/rust/llvm/i686-pc-mingw32/Release+Asserts/bin/llvm-config.exe] Error 2
Thad@Thad-Windows ~/rust
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment