Mercurial > hg > Members > anatofuz > MoarVM
changeset 45:6e8bd93cbb96
remove static stuff on cbc-interp.cbc
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 02 Dec 2018 11:30:34 +0900 |
parents | 47f12bb731b8 |
children | e3cd4e21b560 |
files | 3rdparty/libatomicops/config.log src/core/cbc-interp.cbc |
diffstat | 2 files changed, 19 insertions(+), 531 deletions(-) [+] |
line wrap: on
line diff
--- a/3rdparty/libatomicops/config.log Fri Nov 30 15:16:35 2018 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,508 +0,0 @@ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by libatomic_ops configure 7.3alpha3, which was -generated by GNU Autoconf 2.69. Invocation command line was - - $ ./configure - -## --------- ## -## Platform. ## -## --------- ## - -hostname = dalmore -uname -m = x86_64 -uname -r = 3.10.0-862.11.6.el7.x86_64 -uname -s = Linux -uname -v = #1 SMP Tue Aug 14 21:49:04 UTC 2018 - -/usr/bin/uname -p = x86_64 -/bin/uname -X = unknown - -/bin/arch = x86_64 -/usr/bin/arch -k = unknown -/usr/convex/getsysinfo = unknown -/usr/bin/hostinfo = unknown -/bin/machine = unknown -/usr/bin/oslevel = unknown -/bin/universe = unknown - -PATH: /mnt/dalmore-home/one/src/kuji-baito2018/anaconda3/bin -PATH: /mnt/dalmore-home/one/src/cross/bin -PATH: /usr/local/x86-cbc/bin -PATH: /mnt/dalmore-home//one/bin -PATH: /usr/local/cuda/bin -PATH: /Library/Developer/CommandLineTools/usr/bin -PATH: /usr/local/bin -PATH: /usr/bin -PATH: /mnt/dalmore-home//one/bin -PATH: /usr/local/sbin -PATH: /usr/sbin -PATH: /usr/local/opt/go/libexec/bin - - -## ----------- ## -## Core tests. ## -## ----------- ## - -configure:2133: checking build system type -configure:2147: result: x86_64-unknown-linux-gnu -configure:2167: checking host system type -configure:2180: result: x86_64-unknown-linux-gnu -configure:2200: checking target system type -configure:2213: result: x86_64-unknown-linux-gnu -configure:2256: checking for a BSD-compatible install -configure:2324: result: /usr/bin/install -c -configure:2335: checking whether build environment is sane -configure:2390: result: yes -configure:2541: checking for a thread-safe mkdir -p -configure:2580: result: /usr/bin/mkdir -p -configure:2587: checking for gawk -configure:2603: found /usr/bin/gawk -configure:2614: result: gawk -configure:2625: checking whether make sets $(MAKE) -configure:2647: result: yes -configure:2676: checking whether make supports nested variables -configure:2693: result: yes -configure:2819: checking whether to enable maintainer-specific portions of Makefiles -configure:2828: result: no -configure:2858: checking for style of include used by make -configure:2886: result: GNU -configure:2957: checking for gcc -configure:2984: result: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -configure:3213: checking for C compiler version -configure:3222: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang --version >&5 -clang version 7.0.0 -Target: x86_64-unknown-linux-gnu -Thread model: posix -InstalledDir: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin -configure:3233: $? = 0 -configure:3222: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -v >&5 -clang version 7.0.0 -Target: x86_64-unknown-linux-gnu -Thread model: posix -InstalledDir: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin -Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.2 -Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.5 -Candidate multilib: .;@m64 -Candidate multilib: 32;@m32 -Selected multilib: .;@m64 -... rest of stderr output deleted ... -configure:3233: $? = 0 -configure:3222: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -V >&5 -clang-7.0: error: argument to '-V' is missing (expected 1 value) -clang-7.0: error: no input files -configure:3233: $? = 1 -configure:3222: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -qversion >&5 -clang-7.0: error: unknown argument '-qversion', did you mean '--version'? -clang-7.0: error: no input files -configure:3233: $? = 1 -configure:3253: checking whether the C compiler works -configure:3275: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:3279: $? = 0 -configure:3327: result: yes -configure:3330: checking for C compiler default output file name -configure:3332: result: a.out -configure:3338: checking for suffix of executables -configure:3345: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -o conftest -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:3349: $? = 0 -configure:3371: result: -configure:3393: checking whether we are cross compiling -configure:3401: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -o conftest -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:3405: $? = 0 -configure:3412: ./conftest -configure:3416: $? = 0 -configure:3431: result: no -configure:3436: checking for suffix of object files -configure:3458: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:3462: $? = 0 -configure:3483: result: o -configure:3487: checking whether we are using the GNU C compiler -configure:3506: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:3506: $? = 0 -configure:3515: result: yes -configure:3524: checking whether /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang accepts -g -configure:3544: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -g conftest.c >&5 -configure:3544: $? = 0 -configure:3585: result: yes -configure:3602: checking for /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang option to accept ISO C89 -configure:3665: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:3665: $? = 0 -configure:3678: result: none needed -configure:3703: checking whether /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang understands -c and -o together -configure:3725: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c conftest.c -o conftest2.o -configure:3728: $? = 0 -configure:3725: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c conftest.c -o conftest2.o -configure:3728: $? = 0 -configure:3740: result: yes -configure:3759: checking dependency style of /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -configure:3870: result: none -configure:3895: checking dependency style of /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -configure:4004: result: none -configure:4062: checking for ranlib -configure:4078: found /usr/bin/ranlib -configure:4089: result: ranlib -configure:4119: checking how to run the C preprocessor -configure:4150: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -E conftest.c -configure:4150: $? = 0 -configure:4164: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -E conftest.c -conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found -#include <ac_nonexistent.h> - ^~~~~~~~~~~~~~~~~~ -1 error generated. -configure:4164: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "libatomic_ops" -| #define PACKAGE_TARNAME "libatomic_ops" -| #define PACKAGE_VERSION "7.3alpha3" -| #define PACKAGE_STRING "libatomic_ops 7.3alpha3" -| #define PACKAGE_BUGREPORT "gc@linux.hpl.hp.com" -| #define PACKAGE_URL "" -| #define PACKAGE "libatomic_ops" -| #define VERSION "7.3alpha3" -| /* end confdefs.h. */ -| #include <ac_nonexistent.h> -configure:4189: result: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -E -configure:4209: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -E conftest.c -configure:4209: $? = 0 -configure:4223: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -E conftest.c -conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found -#include <ac_nonexistent.h> - ^~~~~~~~~~~~~~~~~~ -1 error generated. -configure:4223: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "libatomic_ops" -| #define PACKAGE_TARNAME "libatomic_ops" -| #define PACKAGE_VERSION "7.3alpha3" -| #define PACKAGE_STRING "libatomic_ops 7.3alpha3" -| #define PACKAGE_BUGREPORT "gc@linux.hpl.hp.com" -| #define PACKAGE_URL "" -| #define PACKAGE "libatomic_ops" -| #define VERSION "7.3alpha3" -| /* end confdefs.h. */ -| #include <ac_nonexistent.h> -configure:4252: checking for grep that handles long lines and -e -configure:4310: result: /usr/bin/grep -configure:4315: checking for egrep -configure:4377: result: /usr/bin/grep -E -configure:4382: checking for ANSI C header files -configure:4402: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:4402: $? = 0 -configure:4475: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -o conftest -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:4475: $? = 0 -configure:4475: ./conftest -configure:4475: $? = 0 -configure:4486: result: yes -configure:4499: checking for sys/types.h -configure:4499: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:4499: $? = 0 -configure:4499: result: yes -configure:4499: checking for sys/stat.h -configure:4499: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:4499: $? = 0 -configure:4499: result: yes -configure:4499: checking for stdlib.h -configure:4499: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:4499: $? = 0 -configure:4499: result: yes -configure:4499: checking for string.h -configure:4499: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:4499: $? = 0 -configure:4499: result: yes -configure:4499: checking for memory.h -configure:4499: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:4499: $? = 0 -configure:4499: result: yes -configure:4499: checking for strings.h -configure:4499: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:4499: $? = 0 -configure:4499: result: yes -configure:4499: checking for inttypes.h -configure:4499: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:4499: $? = 0 -configure:4499: result: yes -configure:4499: checking for stdint.h -configure:4499: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:4499: $? = 0 -configure:4499: result: yes -configure:4499: checking for unistd.h -configure:4499: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:4499: $? = 0 -configure:4499: result: yes -configure:4517: checking for stdlib.h -configure:4517: result: yes -configure:4517: checking for unistd.h -configure:4517: result: yes -configure:4517: checking for sys/param.h -configure:4517: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:4517: $? = 0 -configure:4517: result: yes -configure:4537: checking for getpagesize -configure:4537: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -o conftest -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:4537: $? = 0 -configure:4537: result: yes -configure:4546: checking for working mmap -configure:4693: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -o conftest -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:4693: $? = 0 -configure:4693: ./conftest -configure:4693: $? = 0 -configure:4703: result: yes -configure:4716: checking for PIC compiler flag -configure:4726: result: -fPIC -configure:4729: checking whether gcc -fPIC causes __PIC__ definition -configure:4749: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -fPIC -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:4749: $? = 0 -configure:4756: result: yes -configure:4767: checking for gcc -Wextra -configure:4782: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -c -Wextra -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c >&5 -configure:4782: $? = 0 -configure:4789: result: yes -configure:4869: checking for pthread_self in -lpthread -configure:4894: /mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -o conftest -Wall -Wextra -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1 conftest.c -lpthread >&5 -configure:4894: $? = 0 -configure:4903: result: yes -configure:5072: checking that generated files are newer than configure -configure:5078: result: done -configure:5117: creating ./config.status - -## ---------------------- ## -## Running config.status. ## -## ---------------------- ## - -This file was extended by libatomic_ops config.status 7.3alpha3, which was -generated by GNU Autoconf 2.69. Invocation command line was - - CONFIG_FILES = - CONFIG_HEADERS = - CONFIG_LINKS = - CONFIG_COMMANDS = - $ ./config.status - -on dalmore - -config.status:894: creating src/Makefile -config.status:894: creating src/config.h -config.status:1075: src/config.h is unchanged -config.status:1123: executing depfiles commands -config.status:1123: executing default commands - -## ---------------- ## -## Cache variables. ## -## ---------------- ## - -ac_cv_build=x86_64-unknown-linux-gnu -ac_cv_c_compiler_gnu=yes -ac_cv_cc_wextra=yes -ac_cv_env_CCASFLAGS_set= -ac_cv_env_CCASFLAGS_value= -ac_cv_env_CCAS_set= -ac_cv_env_CCAS_value= -ac_cv_env_CC_set=set -ac_cv_env_CC_value=/mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -ac_cv_env_CFLAGS_set=set -ac_cv_env_CFLAGS_value='-fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1' -ac_cv_env_CPPFLAGS_set= -ac_cv_env_CPPFLAGS_value= -ac_cv_env_CPP_set= -ac_cv_env_CPP_value= -ac_cv_env_LDFLAGS_set= -ac_cv_env_LDFLAGS_value= -ac_cv_env_LIBS_set= -ac_cv_env_LIBS_value= -ac_cv_env_build_alias_set= -ac_cv_env_build_alias_value= -ac_cv_env_host_alias_set= -ac_cv_env_host_alias_value= -ac_cv_env_target_alias_set= -ac_cv_env_target_alias_value= -ac_cv_func_getpagesize=yes -ac_cv_func_mmap_fixed_mapped=yes -ac_cv_header_inttypes_h=yes -ac_cv_header_memory_h=yes -ac_cv_header_stdc=yes -ac_cv_header_stdint_h=yes -ac_cv_header_stdlib_h=yes -ac_cv_header_string_h=yes -ac_cv_header_strings_h=yes -ac_cv_header_sys_param_h=yes -ac_cv_header_sys_stat_h=yes -ac_cv_header_sys_types_h=yes -ac_cv_header_unistd_h=yes -ac_cv_host=x86_64-unknown-linux-gnu -ac_cv_lib_pthread_pthread_self=yes -ac_cv_objext=o -ac_cv_path_EGREP='/usr/bin/grep -E' -ac_cv_path_GREP=/usr/bin/grep -ac_cv_path_install='/usr/bin/install -c' -ac_cv_path_mkdir=/usr/bin/mkdir -ac_cv_pic_macro=yes -ac_cv_prog_AWK=gawk -ac_cv_prog_CPP='/mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -E' -ac_cv_prog_ac_ct_CC=/mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -ac_cv_prog_ac_ct_RANLIB=ranlib -ac_cv_prog_cc_c89= -ac_cv_prog_cc_g=yes -ac_cv_prog_make_make_set=yes -ac_cv_target=x86_64-unknown-linux-gnu -am_cv_CCAS_dependencies_compiler_type=none -am_cv_CC_dependencies_compiler_type=none -am_cv_make_support_nested_variables=yes -am_cv_prog_cc_c_o=yes - -## ----------------- ## -## Output variables. ## -## ----------------- ## - -ACLOCAL='${SHELL} /mnt/dalmore-home/one/src/Perl6/llvm/MoarVM/3rdparty/libatomicops/missing aclocal-1.14' -AMDEPBACKSLASH='\' -AMDEP_FALSE='#' -AMDEP_TRUE='' -AMTAR='$${TAR-tar}' -AM_BACKSLASH='\' -AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' -AM_DEFAULT_VERBOSITY='1' -AM_V='$(V)' -AUTOCONF='${SHELL} /mnt/dalmore-home/one/src/Perl6/llvm/MoarVM/3rdparty/libatomicops/missing autoconf' -AUTOHEADER='${SHELL} /mnt/dalmore-home/one/src/Perl6/llvm/MoarVM/3rdparty/libatomicops/missing autoheader' -AUTOMAKE='${SHELL} /mnt/dalmore-home/one/src/Perl6/llvm/MoarVM/3rdparty/libatomicops/missing automake-1.14' -AWK='gawk' -CC='/mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang' -CCAS='/mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang' -CCASDEPMODE='depmode=none' -CCASFLAGS='-fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1' -CCDEPMODE='depmode=none' -CFLAGS='-Wall -Wextra -fno-omit-frame-pointer -g3 -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fPIC -DDEBUG_HELPERS -DMVM_TRACING=0 -DMVM_CGOTO=1 -DMVM_RDTSCP=1' -CPP='/mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang -E' -CPPFLAGS='' -CYGPATH_W='echo' -DEFS='-DHAVE_CONFIG_H' -DEPDIR='.deps' -ECHO_C='' -ECHO_N='-n' -ECHO_T='' -EGREP='/usr/bin/grep -E' -EXEEXT='' -GREP='/usr/bin/grep' -HAVE_PTHREAD_H_FALSE='#' -HAVE_PTHREAD_H_TRUE='' -INSTALL_DATA='${INSTALL} -m 644' -INSTALL_PROGRAM='${INSTALL}' -INSTALL_SCRIPT='${INSTALL}' -INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' -LDFLAGS='' -LIBOBJS='' -LIBS='' -LTLIBOBJS='' -MAINT='#' -MAINTAINER_MODE_FALSE='' -MAINTAINER_MODE_TRUE='#' -MAKEINFO='${SHELL} /mnt/dalmore-home/one/src/Perl6/llvm/MoarVM/3rdparty/libatomicops/missing makeinfo' -MKDIR_P='/usr/bin/mkdir -p' -NEED_ASM_FALSE='' -NEED_ASM_TRUE='#' -OBJEXT='o' -PACKAGE='libatomic_ops' -PACKAGE_BUGREPORT='gc@linux.hpl.hp.com' -PACKAGE_NAME='libatomic_ops' -PACKAGE_STRING='libatomic_ops 7.3alpha3' -PACKAGE_TARNAME='libatomic_ops' -PACKAGE_URL='' -PACKAGE_VERSION='7.3alpha3' -PATH_SEPARATOR=':' -PICFLAG='-fPIC' -RANLIB='ranlib' -SET_MAKE='' -SHELL='/bin/sh' -STRIP='' -THREADDLLIBS='-lpthread' -VERSION='7.3alpha3' -ac_ct_CC='/mnt/dalmore-home//one/src/crosscompilers/cbc_llvm_build/bin/clang' -am__EXEEXT_FALSE='' -am__EXEEXT_TRUE='#' -am__fastdepCCAS_FALSE='' -am__fastdepCCAS_TRUE='#' -am__fastdepCC_FALSE='' -am__fastdepCC_TRUE='#' -am__include='include' -am__isrc='' -am__leading_dot='.' -am__nodep='_no' -am__quote='' -am__tar='$${TAR-tar} chof - "$$tardir"' -am__untar='$${TAR-tar} xf -' -bindir='${exec_prefix}/bin' -build='x86_64-unknown-linux-gnu' -build_alias='' -build_cpu='x86_64' -build_os='linux-gnu' -build_vendor='unknown' -datadir='${datarootdir}' -datarootdir='${prefix}/share' -docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' -dvidir='${docdir}' -exec_prefix='${prefix}' -host='x86_64-unknown-linux-gnu' -host_alias='' -host_cpu='x86_64' -host_os='linux-gnu' -host_vendor='unknown' -htmldir='${docdir}' -includedir='${prefix}/include' -infodir='${datarootdir}/info' -install_sh='${SHELL} /mnt/dalmore-home/one/src/Perl6/llvm/MoarVM/3rdparty/libatomicops/install-sh' -libdir='${exec_prefix}/lib' -libexecdir='${exec_prefix}/libexec' -localedir='${datarootdir}/locale' -localstatedir='${prefix}/var' -mandir='${datarootdir}/man' -mkdir_p='$(MKDIR_P)' -oldincludedir='/usr/include' -pdfdir='${docdir}' -prefix='/usr/local' -program_transform_name='s,x,x,' -psdir='${docdir}' -sbindir='${exec_prefix}/sbin' -sharedstatedir='${prefix}/com' -sysconfdir='${prefix}/etc' -target='x86_64-unknown-linux-gnu' -target_alias='' -target_cpu='x86_64' -target_os='linux-gnu' -target_vendor='unknown' - -## ----------- ## -## confdefs.h. ## -## ----------- ## - -/* confdefs.h */ -#define PACKAGE_NAME "libatomic_ops" -#define PACKAGE_TARNAME "libatomic_ops" -#define PACKAGE_VERSION "7.3alpha3" -#define PACKAGE_STRING "libatomic_ops 7.3alpha3" -#define PACKAGE_BUGREPORT "gc@linux.hpl.hp.com" -#define PACKAGE_URL "" -#define PACKAGE "libatomic_ops" -#define VERSION "7.3alpha3" -#define STDC_HEADERS 1 -#define HAVE_SYS_TYPES_H 1 -#define HAVE_SYS_STAT_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_STRING_H 1 -#define HAVE_MEMORY_H 1 -#define HAVE_STRINGS_H 1 -#define HAVE_INTTYPES_H 1 -#define HAVE_STDINT_H 1 -#define HAVE_UNISTD_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_UNISTD_H 1 -#define HAVE_SYS_PARAM_H 1 -#define HAVE_GETPAGESIZE 1 -#define HAVE_MMAP 1 -#define NDEBUG 1 -#define _REENTRANT 1 - -configure: exit 0
--- a/src/core/cbc-interp.cbc Fri Nov 30 15:16:35 2018 +0900 +++ b/src/core/cbc-interp.cbc Sun Dec 02 11:30:34 2018 +0900 @@ -480,14 +480,11 @@ goto cbc_next(i); } __code cbc_return_o(INTERP i){ - static MVMObject *value; - value = GET_REG(i->cur_op, 0,i).o; + MVMObject *value = GET_REG(i->cur_op, 0, i).o; if (MVM_spesh_log_is_logging(i->tc)) { - do { - MVM_gc_root_temp_push(i->tc, (MVMCollectable **)&(value)); // This is invoke call elimination - MVM_spesh_log_return_type(i->tc, value); - MVM_gc_root_temp_pop(i->tc); - } while (0); + MVMROOT(i->tc, value, { + MVM_spesh_log_return_type(i->tc, value); + }); } MVM_args_set_result_obj(i->tc, value, MVM_RETURN_CALLER_FRAME); if (MVM_frame_try_return(i->tc) == 0) @@ -1523,7 +1520,7 @@ goto cbc_next(i); } __code cbc_invokewithcapture(INTERP i){ - static MVMObject *cobj; + MVMObject *cobj; cobj = GET_REG(i->cur_op, 4,i).o; if (IS_CONCRETE(cobj) && REPR(cobj)->ID == MVM_REPR_ID_MVMCallCapture) { MVMObject *code = GET_REG(i->cur_op, 2,i).o; @@ -1987,8 +1984,7 @@ goto cbc_next(i); } __code cbc_clone(INTERP i){ - static MVMObject *value; - value = GET_REG(i->cur_op, 2,i).o; + MVMObject *value = GET_REG(i->cur_op, 2,i).o; if (IS_CONCRETE(value)) { MVMROOT(i->tc, value, { MVMObject *cloned = REPR(value)->allocate(i->tc, STABLE(value)); @@ -2651,16 +2647,15 @@ goto cbc_next(i); } __code cbc_setmethcache(INTERP i){ - static MVMObject *iter; + MVMObject *iter = MVM_iter(i->tc, GET_REG(i->cur_op, 2,i).o); MVMObject *cache; MVMSTable *stable; - iter = MVM_iter(i->tc, GET_REG(i->cur_op, 2,i).o); MVMROOT(i->tc, iter, { cache = MVM_repr_alloc_init(i->tc, i->tc->instance->boot_types.BOOTHash); }); while (MVM_iter_istrue(i->tc, (MVMIter *)iter)) { - static MVMRegister result; //invoke elimination was failed codesegment + MVMRegister result; REPR(iter)->pos_funcs.shift(i->tc, STABLE(iter), iter, OBJECT_BODY(iter), &result, MVM_reg_obj); MVM_repr_bind_key_o(i->tc, cache, MVM_iterkey_s(i->tc, (MVMIter *)iter), @@ -3053,7 +3048,7 @@ } __code cbc_freshcoderef(INTERP i){ MVMObject * const cr = GET_REG(i->cur_op, 2,i).o; - static MVMCode *ncr; //invoke tail call elimination + MVMCode *ncr; if (REPR(cr)->ID != MVM_REPR_ID_MVMCode) MVM_exception_throw_adhoc(i->tc, "freshcoderef requires a coderef"); ncr = (MVMCode *)(GET_REG(i->cur_op, 0,i).o = MVM_repr_clone(i->tc, cr)); @@ -3166,16 +3161,15 @@ } goto cbc_next(i); } -__code cbc_setcontspec(INTERP i){ + // still no tail call trouble on waste +void cbc_setcontspec0(INTERP i){ MVMSTable *st = STABLE(GET_REG(i->cur_op, 0,i).o); MVMString *name = GET_REG(i->cur_op, 2,i).s; const MVMContainerConfigurer *cc = MVM_6model_get_container_config(i->tc, name); - static char *waste[] = { NULL, NULL }; if (cc == NULL) { - static char *c_name; - //char *c_name = MVM_string_utf8_encode_C_string(i->tc, name); invoke elimination codesegment + char *c_name = MVM_string_utf8_encode_C_string(i->tc, name); c_name = MVM_string_utf8_encode_C_string(i->tc, name); - //char *waste[] = { c_name, NULL }; + char *waste[] = { c_name, NULL }; waste[0] = c_name; MVM_exception_throw_adhoc_free(i->tc, waste, "Cannot use unknown container spec %s", c_name); @@ -3187,6 +3181,10 @@ cc->set_container_spec(i->tc, st); cc->configure_container_spec(i->tc, st, GET_REG(i->cur_op, 4,i).o); i->cur_op += 6; + return; +} +__code cbc_setcontspec(INTERP i){ + cbc_setcontspec0(i); goto cbc_next(i); } __code cbc_sha1(INTERP i){ @@ -3343,10 +3341,8 @@ i->cur_op += 2; goto cbc_next(i); } -__code cbc_pushcompsc(INTERP i){ //lasterror - //MVMObject * const sc = GET_REG(i->cur_op, 0,i).o; - static MVMObject * sc; - sc = GET_REG(i->cur_op, 0,i).o; +__code cbc_pushcompsc(INTERP i){ + MVMObject * const sc = GET_REG(i->cur_op, 0,i).o; if (REPR(sc)->ID != MVM_REPR_ID_SCRef) MVM_exception_throw_adhoc(i->tc, "Can only push an SCRef with pushcompsc"); if (MVM_is_null(i->tc, i->tc->compiling_scs)) {