[Gambas-user] New JIT Compiler, Trying.... BIS
Ru Vuott
vuott at ...325...
Thu May 24 02:19:40 CEST 2012
--- Gio 24/5/12, Emil Lenngren <emil.lenngren at ...626...> ha scritto:
> Da: Emil Lenngren <emil.lenngren at ...626...>
> Oggetto: Re: [Gambas-user] New JIT Compiler, Trying.... BIS
> A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
> Data: Giovedì 24 maggio 2012, 02:12
> Ok. So again :) what is the full
> output when you run ./configure in the
> directory gb.jit, followed by make and sudo make install?
>
> /Emil
1)
~/trunk/gb.jit $ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether ln -s works... yes
checking target system... LINUX
checking target architecture... X86_64
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for setenv... yes
checking for unsetenv... yes
checking for getdomainname... yes
checking for getpt... yes
checking for cfmakeraw... yes
checking for main in -lgcc_s... yes
checking for main in -lstdc++... yes
checking which extension is used for shared libraries... .so
checking for threading compiler options... -D_REENTRANT
checking for threading linker options... -lpthread
checking for mathematic libraries... -lm
checking for external gettext library...
checking for ccache... no
checking CFLAGS for gcc -fvisibility=hidden... -fvisibility=hidden
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gb.jit headers... /usr/include/
checking for gb.jit libraries... /usr/lib/
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
2)
~/trunk/gb.jit $ make
make all-recursive
make[1]: Entering directory `/home/ploppo/trunk/gb.jit'
Making all in src
make[2]: Entering directory `/home/ploppo/trunk/gb.jit/src'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_api.lo -MD -MP -MF .deps/gb_jit_la-jit_api.Tpo -c -o gb_jit_la-jit_api.lo `test -f 'jit_api.cpp' || echo './'`jit_api.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_api.lo -MD -MP -MF .deps/gb_jit_la-jit_api.Tpo -c jit_api.cpp -fPIC -DPIC -o .libs/gb_jit_la-jit_api.o
mv -f .deps/gb_jit_la-jit_api.Tpo .deps/gb_jit_la-jit_api.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_codegen.lo -MD -MP -MF .deps/gb_jit_la-jit_codegen.Tpo -c -o gb_jit_la-jit_codegen.lo `test -f 'jit_codegen.cpp' || echo './'`jit_codegen.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_codegen.lo -MD -MP -MF .deps/gb_jit_la-jit_codegen.Tpo -c jit_codegen.cpp -fPIC -DPIC -o .libs/gb_jit_la-jit_codegen.o
In file included from jit_codegen.cpp:32:0:
jit.h: In constructor 'PushUnknownExpression::PushUnknownExpression(Expression*, int, short unsigned int*)':
jit.h:578:6: warning: 'PushUnknownExpression::name_id' will be initialized after [-Wreorder]
jit.h:577:18: warning: 'short unsigned int* PushUnknownExpression::pc' [-Wreorder]
jit.h:579:2: warning: when initialized here [-Wreorder]
jit.h: In constructor 'JumpEnumFirstExpression::JumpEnumFirstExpression(int, Expression*)':
jit.h:833:6: warning: 'JumpEnumFirstExpression::ctrl' will be initialized after [-Wreorder]
jit.h:830:14: warning: 'Expression* JumpEnumFirstExpression::obj' [-Wreorder]
jit.h:834:2: warning: when initialized here [-Wreorder]
In file included from jit_codegen.cpp:32:0:
jit.h: In constructor 'NopExpression::NopExpression()':
jit.h:872:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
jit_codegen.cpp: In lambda function:
jit_codegen.cpp:1501:15: warning: unused variable 'counter' [-Wunused-variable]
jit_codegen.cpp: In member function 'virtual llvm::Value* PushArrayExpression::codegen_get_value()':
jit_codegen.cpp:4275:111: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
jit_codegen.cpp:4369:17: warning: unused variable 'is_null' [-Wunused-variable]
jit_codegen.cpp:4428:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
jit_codegen.cpp: In member function 'virtual void PopArrayExpression::codegen()':
jit_codegen.cpp:4444:111: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
jit_codegen.cpp:4588:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
jit_codegen.cpp: In member function 'virtual llvm::Value* SubrExpression::codegen_get_value()':
jit_codegen.cpp:5370:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from jit_codegen.cpp:5976:0:
jit_codegen_conv.h: In member function 'virtual llvm::Value* ConvExpression::codegen_get_value()':
jit_codegen_conv.h:62:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
jit_codegen_conv.h:292:15: warning: unused variable 'got_error' [-Wunused-variable]
jit_codegen_conv.h:631:15: warning: unused variable 'klass' [-Wunused-variable]
jit_codegen_conv.h:799:1: warning: control reaches end of non-void function [-Wreturn-type]
jit_codegen.cpp: In member function 'virtual llvm::Value* RemExpression::codegen_get_value()':
jit_codegen.cpp:3773:9: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp: In member function 'virtual llvm::Value* QuoExpression::codegen_get_value()':
jit_codegen.cpp:3750:9: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp: In member function 'virtual llvm::Value* MulExpression::codegen_get_value()':
jit_codegen.cpp:3711:25: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp: In member function 'virtual llvm::Value* SubExpression::codegen_get_value()':
jit_codegen.cpp:3687:25: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp: In member function 'virtual llvm::Value* AddExpression::codegen_get_value()':
jit_codegen.cpp:3663:25: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp: In member function 'virtual llvm::Value* AddQuickExpression::codegen_get_value()':
jit_codegen.cpp:2047:28: warning: 'new_val' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp: In member function 'llvm::Value* PushPureObjectPropertyExpression::codegen_private(bool)':
jit_codegen.cpp:1668:272: warning: 'class_desc_property' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp: In member function 'virtual llvm::Value* LessExpression::codegen_get_value()':
jit_codegen.cpp:3596:30: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp: In member function 'virtual llvm::Value* NotExpression::codegen_get_value()':
jit_codegen.cpp:3523:30: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp: In member function 'virtual void PopPureObjectPropertyExpression::codegen()':
jit_codegen.cpp:1752:272: warning: 'class_desc_property' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp: In member function 'virtual void CallExpression::codegen_on_stack()':
jit_codegen.cpp:2701:127: warning: 'object' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp: In member function 'virtual llvm::Value* EqExpression::codegen_get_value()':
jit_codegen.cpp:3488:29: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
In file included from jit_codegen.cpp:5976:0:
jit_codegen_conv.h: In member function 'virtual llvm::Value* ConvExpression::codegen_get_value()':
jit_codegen_conv.h:530:35: warning: 'data' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp: In member function 'virtual llvm::Value* SubrExpression::codegen_get_value()':
jit_codegen.cpp:5846:31: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp:5471:64: warning: 'res' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp:5405:71: warning: 'res' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp:588:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp:5202:17: note: 'ret' was declared here
jit_codegen.cpp:5165:64: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp:5142:101: warning: 'max' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp:5142:101: warning: 'min' may be used uninitialized in this function [-Wuninitialized]
jit_codegen.cpp:5039:64: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
jit.h: At global scope:
jit.h:999:13: warning: 'void check_string(Expression*&)' defined but not used [-Wunused-function]
jit.h:1020:13: warning: 'void check_integer(Expression*&)' defined but not used [-Wunused-function]
jit.h:1031:13: warning: 'void check_float(Expression*&)' defined but not used [-Wunused-function]
jit.h:1043:13: warning: 'void check_pointer(Expression*&)' defined but not used [-Wunused-function]
jit.h:1054:13: warning: 'TYPE check_good_type(TYPE, TYPE)' defined but not used [-Wunused-function]
jit_codegen.cpp:317:21: warning: 'llvm::Value* get_new_struct(llvm::StructType*, llvm::Value*, llvm::Value*, llvm::Value*)' defined but not used [-Wunused-function]
jit_codegen.cpp:990:13: warning: 'void codegen_printf(const char*, int)' defined but not used [-Wunused-function]
jit_codegen.cpp:994:13: warning: 'void codegen_printf(const char*)' defined but not used [-Wunused-function]
jit_codegen.cpp:998:13: warning: 'void codegen_printf(const char*, llvm::Value*)' defined but not used [-Wunused-function]
jit_codegen.cpp:1077:13: warning: 'void borrow_top(TYPE)' defined but not used [-Wunused-function]
jit_codegen.cpp:1081:13: warning: 'void release_top(Expression*)' defined but not used [-Wunused-function]
jit_codegen.cpp:1095:13: warning: 'void release_val(Expression*)' defined but not used [-Wunused-function]
jit_codegen.cpp:2141:26: warning: 'llvm::AllocaInst* create_alloca_in_entry(llvm::Type*)' defined but not used [-Wunused-function]
jit_codegen.cpp:6173:13: warning: 'void JIT_cleanup(llvm::ExecutionEngine**, int)' defined but not used [-Wunused-function]
mv -f .deps/gb_jit_la-jit_codegen.Tpo .deps/gb_jit_la-jit_codegen.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_compile.lo -MD -MP -MF .deps/gb_jit_la-jit_compile.Tpo -c -o gb_jit_la-jit_compile.lo `test -f 'jit_compile.cpp' || echo './'`jit_compile.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_compile.lo -MD -MP -MF .deps/gb_jit_la-jit_compile.Tpo -c jit_compile.cpp -fPIC -DPIC -o .libs/gb_jit_la-jit_compile.o
In file included from jit_compile.cpp:30:0:
jit.h: In constructor 'PushUnknownExpression::PushUnknownExpression(Expression*, int, short unsigned int*)':
jit.h:578:6: warning: 'PushUnknownExpression::name_id' will be initialized after [-Wreorder]
jit.h:577:18: warning: 'short unsigned int* PushUnknownExpression::pc' [-Wreorder]
jit.h:579:2: warning: when initialized here [-Wreorder]
jit.h: In constructor 'JumpEnumFirstExpression::JumpEnumFirstExpression(int, Expression*)':
jit.h:833:6: warning: 'JumpEnumFirstExpression::ctrl' will be initialized after [-Wreorder]
jit.h:830:14: warning: 'Expression* JumpEnumFirstExpression::obj' [-Wreorder]
jit.h:834:2: warning: when initialized here [-Wreorder]
In file included from jit_compile.cpp:30:0:
jit.h: In constructor 'NopExpression::NopExpression()':
jit.h:872:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
jit.h: At global scope:
jit.h:999:13: warning: 'void check_string(Expression*&)' defined but not used [-Wunused-function]
jit.h:1020:13: warning: 'void check_integer(Expression*&)' defined but not used [-Wunused-function]
jit.h:1031:13: warning: 'void check_float(Expression*&)' defined but not used [-Wunused-function]
jit.h:1043:13: warning: 'void check_pointer(Expression*&)' defined but not used [-Wunused-function]
jit.h:1054:13: warning: 'TYPE check_good_type(TYPE, TYPE)' defined but not used [-Wunused-function]
mv -f .deps/gb_jit_la-jit_compile.Tpo .deps/gb_jit_la-jit_compile.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_conv.lo -MD -MP -MF .deps/gb_jit_la-jit_conv.Tpo -c -o gb_jit_la-jit_conv.lo `test -f 'jit_conv.cpp' || echo './'`jit_conv.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_conv.lo -MD -MP -MF .deps/gb_jit_la-jit_conv.Tpo -c jit_conv.cpp -fPIC -DPIC -o .libs/gb_jit_la-jit_conv.o
In file included from jit_conv.cpp:28:0:
jit.h: In constructor 'PushUnknownExpression::PushUnknownExpression(Expression*, int, short unsigned int*)':
jit.h:578:6: warning: 'PushUnknownExpression::name_id' will be initialized after [-Wreorder]
jit.h:577:18: warning: 'short unsigned int* PushUnknownExpression::pc' [-Wreorder]
jit.h:579:2: warning: when initialized here [-Wreorder]
jit.h: In constructor 'JumpEnumFirstExpression::JumpEnumFirstExpression(int, Expression*)':
jit.h:833:6: warning: 'JumpEnumFirstExpression::ctrl' will be initialized after [-Wreorder]
jit.h:830:14: warning: 'Expression* JumpEnumFirstExpression::obj' [-Wreorder]
jit.h:834:2: warning: when initialized here [-Wreorder]
In file included from jit_conv.cpp:28:0:
jit.h: In constructor 'NopExpression::NopExpression()':
jit.h:872:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
jit_conv.cpp: In function 'void JIT_conv(Expression*&, TYPE, Expression*)':
jit_conv.cpp:55:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
jit.h: At global scope:
jit.h:999:13: warning: 'void check_string(Expression*&)' defined but not used [-Wunused-function]
jit.h:1020:13: warning: 'void check_integer(Expression*&)' defined but not used [-Wunused-function]
jit.h:1031:13: warning: 'void check_float(Expression*&)' defined but not used [-Wunused-function]
jit.h:1043:13: warning: 'void check_pointer(Expression*&)' defined but not used [-Wunused-function]
jit.h:1054:13: warning: 'TYPE check_good_type(TYPE, TYPE)' defined but not used [-Wunused-function]
mv -f .deps/gb_jit_la-jit_conv.Tpo .deps/gb_jit_la-jit_conv.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_expressions.lo -MD -MP -MF .deps/gb_jit_la-jit_expressions.Tpo -c -o gb_jit_la-jit_expressions.lo `test -f 'jit_expressions.cpp' || echo './'`jit_expressions.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_expressions.lo -MD -MP -MF .deps/gb_jit_la-jit_expressions.Tpo -c jit_expressions.cpp -fPIC -DPIC -o .libs/gb_jit_la-jit_expressions.o
In file included from jit_expressions.cpp:28:0:
jit.h: In constructor 'PushUnknownExpression::PushUnknownExpression(Expression*, int, short unsigned int*)':
jit.h:578:6: warning: 'PushUnknownExpression::name_id' will be initialized after [-Wreorder]
jit.h:577:18: warning: 'short unsigned int* PushUnknownExpression::pc' [-Wreorder]
jit.h:579:2: warning: when initialized here [-Wreorder]
jit.h: In constructor 'JumpEnumFirstExpression::JumpEnumFirstExpression(int, Expression*)':
jit.h:833:6: warning: 'JumpEnumFirstExpression::ctrl' will be initialized after [-Wreorder]
jit.h:830:14: warning: 'Expression* JumpEnumFirstExpression::obj' [-Wreorder]
jit.h:834:2: warning: when initialized here [-Wreorder]
In file included from jit_expressions.cpp:28:0:
jit.h: In constructor 'NopExpression::NopExpression()':
jit.h:872:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
jit_expressions.cpp: In constructor 'PushArrayExpression::PushArrayExpression(Expression**, int)':
jit_expressions.cpp:143:111: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
jit_expressions.cpp:248:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
jit_expressions.cpp: In constructor 'PopArrayExpression::PopArrayExpression(Expression**, int, Expression*)':
jit_expressions.cpp:263:111: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
jit.h: In constructor 'JumpFirstExpression::JumpFirstExpression(int, Expression*, Expression*, int, int, int)':
jit.h:815:6: warning: 'JumpFirstExpression::ctrl_to' will be initialized after [-Wreorder]
jit.h:814:21: warning: 'Expression* JumpFirstExpression::to' [-Wreorder]
jit_expressions.cpp:611:1: warning: when initialized here [-Wreorder]
jit.h:814:21: warning: 'JumpFirstExpression::to' will be initialized after [-Wreorder]
jit.h:814:14: warning: 'Expression* JumpFirstExpression::step' [-Wreorder]
jit_expressions.cpp:611:1: warning: when initialized here [-Wreorder]
jit.h: In constructor 'JumpEnumNextExpression::JumpEnumNextExpression(JumpEnumFirstExpression*, int, int, short unsigned int*, bool, OnStackExpression*)':
jit.h:857:7: warning: 'JumpEnumNextExpression::drop' will be initialized after [-Wreorder]
jit.h:853:21: warning: 'OnStackExpression* JumpEnumNextExpression::retval' [-Wreorder]
jit_expressions.cpp:631:1: warning: when initialized here [-Wreorder]
jit_expressions.cpp: In constructor 'JumpEnumNextExpression::JumpEnumNextExpression(JumpEnumFirstExpression*, int, int, short unsigned int*, bool, OnStackExpression*)':
jit_expressions.cpp:665:22: warning: 'klass' may be used uninitialized in this function [-Wuninitialized]
jit_expressions.cpp: In constructor 'SubrExpression::SubrExpression(int, Expression**, int, int)':
jit_expressions.cpp:1199:28: warning: 'type' may be used uninitialized in this function [-Wuninitialized]
mv -f .deps/gb_jit_la-jit_expressions.Tpo .deps/gb_jit_la-jit_expressions.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_read.lo -MD -MP -MF .deps/gb_jit_la-jit_read.Tpo -c -o gb_jit_la-jit_read.lo `test -f 'jit_read.cpp' || echo './'`jit_read.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-jit_read.lo -MD -MP -MF .deps/gb_jit_la-jit_read.Tpo -c jit_read.cpp -fPIC -DPIC -o .libs/gb_jit_la-jit_read.o
In file included from jit_read.cpp:28:0:
jit.h: In constructor 'PushUnknownExpression::PushUnknownExpression(Expression*, int, short unsigned int*)':
jit.h:578:6: warning: 'PushUnknownExpression::name_id' will be initialized after [-Wreorder]
jit.h:577:18: warning: 'short unsigned int* PushUnknownExpression::pc' [-Wreorder]
jit.h:579:2: warning: when initialized here [-Wreorder]
jit.h: In constructor 'JumpEnumFirstExpression::JumpEnumFirstExpression(int, Expression*)':
jit.h:833:6: warning: 'JumpEnumFirstExpression::ctrl' will be initialized after [-Wreorder]
jit.h:830:14: warning: 'Expression* JumpEnumFirstExpression::obj' [-Wreorder]
jit.h:834:2: warning: when initialized here [-Wreorder]
In file included from jit_read.cpp:28:0:
jit.h: In constructor 'NopExpression::NopExpression()':
jit.h:872:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
jit_read.cpp: In function 'bool stack_empty()':
jit_read.cpp:58:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
jit_read.cpp: In function 'void JIT_push_unknown()':
jit_read.cpp:221:7: warning: variable 'defined' set but not used [-Wunused-but-set-variable]
jit_read.cpp: In function 'void JIT_pop_unknown()':
jit_read.cpp:520:15: warning: unused variable 'obj' [-Wunused-variable]
jit_read.cpp: In function 'void JIT_read_statement()':
jit_read.cpp:777:9: warning: 'npmax' may be used uninitialized in this function [-Wuninitialized]
jit.h: At global scope:
jit.h:999:13: warning: 'void check_string(Expression*&)' defined but not used [-Wunused-function]
jit.h:1020:13: warning: 'void check_integer(Expression*&)' defined but not used [-Wunused-function]
jit.h:1031:13: warning: 'void check_float(Expression*&)' defined but not used [-Wunused-function]
jit.h:1043:13: warning: 'void check_pointer(Expression*&)' defined but not used [-Wunused-function]
jit.h:1054:13: warning: 'TYPE check_good_type(TYPE, TYPE)' defined but not used [-Wunused-function]
mv -f .deps/gb_jit_la-jit_read.Tpo .deps/gb_jit_la-jit_read.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_jit_la-jit_runtime.lo -MD -MP -MF .deps/gb_jit_la-jit_runtime.Tpo -c -o gb_jit_la-jit_runtime.lo `test -f 'jit_runtime.c' || echo './'`jit_runtime.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT gb_jit_la-jit_runtime.lo -MD -MP -MF .deps/gb_jit_la-jit_runtime.Tpo -c jit_runtime.c -fPIC -DPIC -o .libs/gb_jit_la-jit_runtime.o
jit_runtime.c:128:15: warning: 'JR_date_to_float' defined but not used [-Wunused-function]
jit_runtime.c:134:15: warning: 'JR_string_to_float' defined but not used [-Wunused-function]
jit_runtime.c: In function 'JR_object_cast':
jit_runtime.c:541:1: warning: control reaches end of non-void function [-Wreturn-type]
mv -f .deps/gb_jit_la-jit_runtime.Tpo .deps/gb_jit_la-jit_runtime.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-main.lo -MD -MP -MF .deps/gb_jit_la-main.Tpo -c -o gb_jit_la-main.lo `test -f 'main.cpp' || echo './'`main.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../../main/gbx -I../../main/share -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -MT gb_jit_la-main.lo -MD -MP -MF .deps/gb_jit_la-main.Tpo -c main.cpp -fPIC -DPIC -o .libs/gb_jit_la-main.o
mv -f .deps/gb_jit_la-main.Tpo .deps/gb_jit_la-main.Plo
/bin/bash ../libtool --tag=CXX --mode=link g++ -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -std=gnu++0x -module -o gb.jit.la -rpath /usr/local/lib/gambas3 gb_jit_la-jit_api.lo gb_jit_la-jit_codegen.lo gb_jit_la-jit_compile.lo gb_jit_la-jit_conv.lo gb_jit_la-jit_expressions.lo gb_jit_la-jit_read.lo gb_jit_la-jit_runtime.lo gb_jit_la-main.lo -lc -L/usr/lib -lpthread -ldl -lm -lLLVM-3.2svn
libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtbeginS.o .libs/gb_jit_la-jit_api.o .libs/gb_jit_la-jit_codegen.o .libs/gb_jit_la-jit_compile.o .libs/gb_jit_la-jit_conv.o .libs/gb_jit_la-jit_expressions.o .libs/gb_jit_la-jit_read.o .libs/gb_jit_la-jit_runtime.o .libs/gb_jit_la-main.o -L/usr/lib -lpthread -ldl -lLLVM-3.2svn -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1 -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.6.1/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/crtn.o -Os -Wl,-soname -Wl,gb.jit.so.0 -o .libs/gb.jit.so.0.0.0
libtool: link: (cd ".libs" && rm -f "gb.jit.so.0" && ln -s "gb.jit.so.0.0.0" "gb.jit.so.0")
libtool: link: (cd ".libs" && rm -f "gb.jit.so" && ln -s "gb.jit.so.0.0.0" "gb.jit.so")
libtool: link: ( cd ".libs" && rm -f "gb.jit.la" && ln -s "../gb.jit.la" "gb.jit.la" )
make[2]: Leaving directory `/home/vuott/trunk/gb.jit/src'
make[2]: Entering directory `/home/vuott/trunk/gb.jit'
make[2]: Leaving directory `/home/vuott/trunk/gb.jit'
make[1]: Leaving directory `/home/vuott/trunk/gb.jit'
3)
~/trunk/gb.jit $ sudo make install
[sudo] password for vuott:
Making install in src
make[1]: Entering directory `/home/vuott/trunk/gb.jit/src'
make[2]: Entering directory `/home/vuott/trunk/gb.jit/src'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/usr/local/lib/gambas3"
/usr/bin/install -c -m 644 gb.jit.component '/usr/local/lib/gambas3'
test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/usr/local/lib/gambas3"
/usr/bin/install -c -m 644 gb.jit.component '/usr/local/lib/gambas3'
test -z "/usr/local/lib/gambas3" || /bin/mkdir -p "/usr/local/lib/gambas3"
/bin/bash ../libtool --mode=install /usr/bin/install -c gb.jit.la '/usr/local/lib/gambas3'
libtool: install: /usr/bin/install -c .libs/gb.jit.so.0.0.0 /usr/local/lib/gambas3/gb.jit.so.0.0.0
libtool: install: (cd /usr/local/lib/gambas3 && { ln -s -f gb.jit.so.0.0.0 gb.jit.so.0 || { rm -f gb.jit.so.0 && ln -s gb.jit.so.0.0.0 gb.jit.so.0; }; })
libtool: install: (cd /usr/local/lib/gambas3 && { ln -s -f gb.jit.so.0.0.0 gb.jit.so || { rm -f gb.jit.so && ln -s gb.jit.so.0.0.0 gb.jit.so; }; })
libtool: install: /usr/bin/install -c .libs/gb.jit.lai /usr/local/lib/gambas3/gb.jit.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib/gambas3
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib/gambas3
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make install-data-hook
make[3]: Entering directory `/home/ploppo/trunk/gb.jit/src'
Installing the gb.jit control icons if needed...
Creating the information files for gb.jit component...
gb.jit
make[3]: Leaving directory `/home/vuott/trunk/gb.jit/src'
make[2]: Leaving directory `/home/vuott/trunk/gb.jit/src'
make[1]: Leaving directory `/home/vuott/trunk/gb.jit/src'
make[1]: Entering directory `/home/vuott/trunk/gb.jit'
make[2]: Entering directory `/home/vuott/trunk/gb.jit'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/vuott/trunk/gb.jit'
make[1]: Leaving directory `/home/vuott/trunk/gb.jit'
More information about the User
mailing list