Quantcast

[Gambas Bug Tracker] Bug #947: Can't compile gb.jit with 3.5.2 version

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Gambas Bug Tracker] Bug #947: Can't compile gb.jit with 3.5.2 version

bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.947&from=L21haW4-

Fabien BODARD reported a new bug.

Summary
-------

Can't compile gb.jit with 3.5.2 version

Type             : Bug
Priority         : High
Gambas version   : 3.8.90 (TRUNK)
Product          : Language


Description
-----------

After updating my system i have this problem :



[fabien@fabien gb.jit]$ ./reconf
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4 --install
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake line 3936.
autoreconf: Leaving directory `.'
[fabien@fabien 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... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... 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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
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 whether gcc understands -c and -o together... (cached) yes
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 fstatat... 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... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/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 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 a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : 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
mchecking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... ayes
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 llvm-config... /usr/bin/llvm-config
checking for LLVM, version between 3.1 and 3.5... kyes (3.5.2)
checking for gb.jit headers... e clean
/usr/include/
checking for gb.jit libraries... /usr/lib64/
checking that generated files are newer than configure... done
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
[fabien@fabien gb.jit]$ make clean
Making clean in src
make[1] : on entre dans le répertoire « /home/fabien/Documents/Developpement/gambas/trunk/gb.jit/src »
test -z "gb.jit.la" || rm -f gb.jit.la
rm -f ./so_locations
rm -rf .libs _libs
test -z "libjit.la" || rm -f libjit.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
make[1] : on quitte le répertoire « /home/fabien/Documents/Developpement/gambas/trunk/gb.jit/src »
make[1] : on entre dans le répertoire « /home/fabien/Documents/Developpement/gambas/trunk/gb.jit »
rm -rf .libs _libs
rm -f *.lo
make[1] : on quitte le répertoire « /home/fabien/Documents/Developpement/gambas/trunk/gb.jit »
[fabien@fabien gb.jit]$ make
make  all-recursive
make[1] : on entre dans le répertoire « /home/fabien/Documents/Developpement/gambas/trunk/gb.jit »
Making all in src
make[2] : on entre dans le répertoire « /home/fabien/Documents/Developpement/gambas/trunk/gb.jit/src »
  CXX      gb_jit_la-jit_api.lo
  CXX      gb_jit_la-jit_codegen.lo
jit_codegen.cpp: Dans la fonction ‘llvm::Value* extract_value(llvm::Value*, int)’:
jit_codegen.cpp:362:29: attention : narrowing conversion of ‘index’ from ‘int’ to ‘unsigned int’ inside { } [-Wnarrowing]
  unsigned int arr[] = {index};
                             ^
jit_codegen.cpp: Dans la fonction ‘llvm::Value* insert_value(llvm::Value*, llvm::Value*, int)’:
jit_codegen.cpp:367:29: attention : narrowing conversion of ‘index’ from ‘int’ to ‘unsigned int’ inside { } [-Wnarrowing]
  unsigned int arr[] = {index};
                             ^
jit_codegen_conv.h: Dans la fonction membre ‘virtual llvm::Value* ConvExpression::codegen_get_value()’:
jit_codegen_conv.h:304:62: erreur : fonction surchargée sans information contextuelle de type
  llvm::Value* ival = builder->CreateCall(get_global_function(floor, 'd', "d"), val);
                                                              ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp: Dans la fonction membre ‘virtual llvm::Value* SubrExpression::codegen_get_value()’:
jit_codegen.cpp:5446:52: erreur : fonction surchargée sans information contextuelle de type
      ret = builder->CreateCall(get_global_function(floor, 'd', "d"), param[0]);
                                                    ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5462:106: erreur : fonction surchargée sans information contextuelle de type
      llvm::Value* func1 = type == T_SINGLE ? get_global_function(floorf, 'f', "f") : get_global_function(floor, 'd', "d");
                                                                                                          ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5463:105: erreur : fonction surchargée sans information contextuelle de type
      llvm::Value* func2 = type == T_SINGLE ? get_global_function(fabsf, 'f', "f") : get_global_function(fabs, 'd', "d");
                                                                                                         ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5521:62: erreur : fonction surchargée sans information contextuelle de type
     llvm::Value* x = builder->CreateCall(get_global_function(fabs, 'd', "d"), param[0]);
                                                              ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5522:74: erreur : fonction surchargée sans information contextuelle de type
     ret = builder->CreateFSub(x, builder->CreateCall(get_global_function(floor, 'd', "d"), x));
                                                                          ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5532:20: erreur : fonction surchargée sans information contextuelle de type
      NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan),
                    ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5532:18: note : in expansion of macro ‘f’
      NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan),
                  ^
jit_codegen.cpp:5532:28: erreur : fonction surchargée sans information contextuelle de type
      NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan),
                            ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5532:26: note : in expansion of macro ‘f’
      NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan),
                          ^
jit_codegen.cpp:5532:36: erreur : fonction surchargée sans information contextuelle de type
      NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan),
                                    ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5532:34: note : in expansion of macro ‘f’
      NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan),
                                  ^
jit_codegen.cpp:5532:45: erreur : fonction surchargée sans information contextuelle de type
      NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan),
                                             ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5532:43: note : in expansion of macro ‘f’
      NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan),
                                           ^
jit_codegen.cpp:5532:53: erreur : fonction surchargée sans information contextuelle de type
      NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan),
                                                     ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5532:51: note : in expansion of macro ‘f’
      NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan),
                                                   ^
jit_codegen.cpp:5532:61: erreur : fonction surchargée sans information contextuelle de type
      NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan),
                                                             ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5532:59: note : in expansion of macro ‘f’
      NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan),
                                                           ^
jit_codegen.cpp:5532:69: erreur : fonction surchargée sans information contextuelle de type
      NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan),
                                                                     ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5532:67: note : in expansion of macro ‘f’
      NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan),
                                                                   ^
jit_codegen.cpp:5533:8: erreur : fonction surchargée sans information contextuelle de type
      f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh),
        ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5533:6: note : in expansion of macro ‘f’
      f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh),
      ^
jit_codegen.cpp:5533:17: erreur : fonction surchargée sans information contextuelle de type
      f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh),
                 ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5533:15: note : in expansion of macro ‘f’
      f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh),
               ^
jit_codegen.cpp:5533:38: erreur : fonction surchargée sans information contextuelle de type
      f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh),
                                      ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5533:36: note : in expansion of macro ‘f’
      f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh),
                                    ^
jit_codegen.cpp:5533:48: erreur : fonction surchargée sans information contextuelle de type
      f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh),
                                                ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5533:46: note : in expansion of macro ‘f’
      f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh),
                                              ^
jit_codegen.cpp:5533:57: erreur : fonction surchargée sans information contextuelle de type
      f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh),
                                                         ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5533:55: note : in expansion of macro ‘f’
      f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh),
                                                       ^
jit_codegen.cpp:5533:66: erreur : fonction surchargée sans information contextuelle de type
      f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh),
                                                                  ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5533:64: note : in expansion of macro ‘f’
      f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh),
                                                                ^
jit_codegen.cpp:5533:75: erreur : fonction surchargée sans information contextuelle de type
      f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh),
                                                                           ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5533:73: note : in expansion of macro ‘f’
      f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh),
                                                                         ^
jit_codegen.cpp:5534:8: erreur : fonction surchargée sans information contextuelle de type
      f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p),
        ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5534:6: note : in expansion of macro ‘f’
      f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p),
      ^
jit_codegen.cpp:5534:18: erreur : fonction surchargée sans information contextuelle de type
      f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p),
                  ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5534:16: note : in expansion of macro ‘f’
      f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p),
                ^
jit_codegen.cpp:5534:28: erreur : fonction surchargée sans information contextuelle de type
      f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p),
                            ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5534:26: note : in expansion of macro ‘f’
      f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p),
                          ^
jit_codegen.cpp:5534:47: erreur : fonction surchargée sans information contextuelle de type
      f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p),
                                               ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5534:45: note : in expansion of macro ‘f’
      f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p),
                                             ^
jit_codegen.cpp:5534:56: erreur : fonction surchargée sans information contextuelle de type
      f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p),
                                                        ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5534:54: note : in expansion of macro ‘f’
      f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p),
                                                      ^
jit_codegen.cpp:5534:65: erreur : fonction surchargée sans information contextuelle de type
      f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p),
                                                                 ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5534:63: note : in expansion of macro ‘f’
      f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p),
                                                               ^
jit_codegen.cpp:5534:75: erreur : fonction surchargée sans information contextuelle de type
      f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p),
                                                                           ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5534:73: note : in expansion of macro ‘f’
      f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p),
                                                                         ^
jit_codegen.cpp:5535:8: erreur : fonction surchargée sans information contextuelle de type
      f(floor), f(ceil)
        ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5535:6: note : in expansion of macro ‘f’
      f(floor), f(ceil)
      ^
jit_codegen.cpp:5535:18: erreur : fonction surchargée sans information contextuelle de type
      f(floor), f(ceil)
                  ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5535:16: note : in expansion of macro ‘f’
      f(floor), f(ceil)
                ^
jit_codegen.cpp:5570:45: erreur : fonction surchargée sans information contextuelle de type
     builder->CreateCall(get_global_function(floor, 'd', "d"),
                                             ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5789:52: erreur : fonction surchargée sans information contextuelle de type
     ret = builder->CreateCall2(get_global_function(atan2, 'd', "dd"), param[0], param[1]);
                                                    ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:5791:51: erreur : fonction surchargée sans information contextuelle de type
     ret = builder->CreateCall(get_global_function(sqrt, 'd', "d"), builder->CreateFAdd(builder->CreateFMul(param[0], param[0]), builder->CreateFMul(param[1], param[1])));
                                                   ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:6300:68: erreur : fonction surchargée sans information contextuelle de type
    llvm::Value* fabs_ret = builder->CreateCall(get_global_function(fabs, 'd', "d"), param[0]);
                                                                    ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp:6301:69: erreur : fonction surchargée sans information contextuelle de type
    llvm::Value* floor_ret = builder->CreateCall(get_global_function(floor, 'd', "d"), fabs_ret);
                                                                     ^
jit_codegen.cpp:285:79: note : in definition of macro ‘get_global_function’
 #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args)
                                                                               ^
jit_codegen.cpp: Dans la fonction ‘void func_extern_call_variant_vararg(void*, void*, int, TYPE)’:
jit_codegen.cpp:6655:33: attention : déréférencement du pointeur type-punned brisera les strictes d'alias [-Wstrict-aliasing]
  *(TYPE*)&signature_string[nargs] = return_type;
                                 ^
jit_codegen.cpp:6705:44: attention : array subscript has type ‘char’ [-Wchar-subscripts]
    ft[i] = extern_types[signature_string[i]];
                                            ^
jit_codegen.cpp: At global scope:
jit_codegen.cpp:6980:13: attention : ‘void JIT_cleanup(llvm::ExecutionEngine**, int)’ defined but not used [-Wunused-function]
 static void JIT_cleanup(llvm::ExecutionEngine** EE, int n_func){
             ^~~~~~~~~~~
jit_codegen.cpp:1135:13: attention : ‘void release_val(Expression*)’ defined but not used [-Wunused-function]
 static void release_val(Expression* expr){
             ^~~~~~~~~~~
jit_codegen.cpp:1121:13: attention : ‘void release_top(Expression*)’ defined but not used [-Wunused-function]
 static void release_top(Expression* expr){
             ^~~~~~~~~~~
jit_codegen.cpp:1117:13: attention : ‘void borrow_top(TYPE)’ defined but not used [-Wunused-function]
 static void borrow_top(TYPE type){
             ^~~~~~~~~~
jit_codegen.cpp:1038:13: attention : ‘void codegen_printf(const char*, llvm::Value*)’ defined but not used [-Wunused-function]
 static void codegen_printf(const char* str1, llvm::Value* intval){
             ^~~~~~~~~~~~~~
jit_codegen.cpp:1034:13: attention : ‘void codegen_printf(const char*)’ defined but not used [-Wunused-function]
 static void codegen_printf(const char* str1){
             ^~~~~~~~~~~~~~
jit_codegen.cpp:1030:13: attention : ‘void codegen_printf(const char*, int)’ defined but not used [-Wunused-function]
 static void codegen_printf(const char* str1, int tal){
             ^~~~~~~~~~~~~~
jit_codegen.cpp:337:21: attention : ‘llvm::Value* get_new_struct(llvm::StructType*, llvm::Value*, llvm::Value*, llvm::Value*)’ defined but not used [-Wunused-function]
 static llvm::Value* get_new_struct(llvm::StructType* st, llvm::Value* v1, llvm::Value* v2, llvm::Value* v3){
                     ^~~~~~~~~~~~~~
Makefile:588 : la recette pour la cible « gb_jit_la-jit_codegen.lo » a échouée
make[2]: *** [gb_jit_la-jit_codegen.lo] Erreur 1
make[2] : on quitte le répertoire « /home/fabien/Documents/Developpement/gambas/trunk/gb.jit/src »
Makefile:433 : la recette pour la cible « all-recursive » a échouée
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /home/fabien/Documents/Developpement/gambas/trunk/gb.jit »
Makefile:365 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2


System information
------------------

[System]
Gambas=3.8.90 r7771
OperatingSystem=Linux
Kernel=4.5.3-1-ARCH
Architecture=x86_64
Distribution=arch
Desktop=KDE5
Theme=Breeze
Language=fr_FR.UTF-8
Memory=3861M

[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-1.0.so.0.801.0
GTK+2=libgtk-x11-2.0.so.0.2400.30
GTK+3=libgtk-3.so.0.2000.4
OpenGL=libGL.so.1.0.0
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.59.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.6.0
SDL=libSDL-1.2.so.0.11.4

[Environment]
APPMENU_DISPLAY_BOTH=1
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=/usr/share/xsessions/plasma
DISPLAY=:0
GB_GUI=gb.qt5
GS_LIB=/home/<hostname>/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/<hostname>/.gtkrc-2.0:/home/<hostname>/.config/gtkrc-2.0
GTK_MODULES=canberra-gtk-module
GTK_RC_FILES=/etc/gtk/gtkrc:/home/<hostname>/.gtkrc:/home/<hostname>/.config/gtkrc
HOME=/home/<hostname>
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=5
LANG=fr_FR.UTF-8
LOGNAME=<hostname>
MAIL=/var/spool/mail/<hostname>
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PWD=/home/<hostname>
QT_NO_GLIB=1
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/755,unix/<hostname>:/tmp/.ICE-unix/755
SHELL=/bin/bash
SHLVL=1
TZ=:/etc/localtime
USER=<hostname>
XAUTHORITY=/tmp/xauth-1000-_0
XCURSOR_THEME=breeze_cursors
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=x11
XDG_VTNR=1
_=/usr/lib/kf5/start_kdeinit_wrapper





------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Gambas Bug Tracker] Bug #947: Can't compile gb.jit with 3.5.2 version

bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.947&from=L21haW4-

Comment #1 by Benoît MINISINI:

It seems to be a problem with gcc version, not llvm version...



------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Gambas Bug Tracker] Bug #947: Can't compile gb.jit with 3.5.2 version

bugtracker
In reply to this post by bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.947&from=L21haW4-

Comment #2 by Benoît MINISINI:

It seems to be related to floating-point functions: floor, sqr, atan2...

Benoît MINISINI changed the state of the bug to: Accepted.



------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Gambas Bug Tracker] Bug #947: Can't compile gb.jit with 3.5.2 version

bugtracker
In reply to this post by bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.947&from=L21haW4-

Comment #3 by Fabien BODARD:

Debian have problems too

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822719



------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Gambas Bug Tracker] Bug #947: Can't compile gb.jit with 3.5.2 version

bugtracker
In reply to this post by bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.947&from=L21haW4-

Comment #4 by Moviga TECHNOLOGIES:

Benoît, did you see this?

    --- gambas3-3.8.4/main/share/gambas.h.fix 2015-12-15 13:24:50.959501153 -0500
    +++ gambas3-3.8.4/main/share/gambas.h 2015-12-15 13:25:07.023387570 -0500
    @@ -66,7 +66,7 @@
     #endif
 
     #if defined(__cplusplus) && !defined(__clang__)
    - #define __null ((intptr_t)0)
    +/* #define __null ((intptr_t)0) */
     #else
      #ifdef bool
      #undef bool

Apparently the packager from Fedora (and Arch) used it to make the compilation successful. The 3.9 package is now in Arch's official repo.

Source: https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/gambas3



------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Gambas Bug Tracker] Bug #947: Can't compile gb.jit with 3.5.2 version

bugtracker
In reply to this post by bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.947&from=L21haW4-

Comment #5 by Moviga TECHNOLOGIES:

Hahh... too quick, this was not it... :) I thought I had discovered the reason why he had managed to compile the latest Gambas version...



------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Gambas Bug Tracker] Bug #947: Can't compile gb.jit with 3.5.2 version

bugtracker
In reply to this post by bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.947&from=L21haW4-

Comment #6 by PICCORO LENZ MCKAY:

i have a problem related with that! for olders compiler that line make it works! iĺl test and report feedback



------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Gambas Bug Tracker] Bug #947: Can't compile gb.jit with 3.5.2 version

bugtracker
In reply to this post by bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.947&from=L21haW4-

Comment #7 by Benoît MINISINI:

It should be fixed in revision #8088.

Benoît MINISINI changed the state of the bug to: Fixed.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Loading...