http://gambaswiki.org/bugtracker/edit?object=BUG.961&from=L21haW4-
Moviga TECHNOLOGIES reported a new bug. Summary ------- Compile error at gb.jit Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Unknown Description ----------- Am I missing packages or what? Making all in src make[4]: Entering directory '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.jit/src' CXX gb_jit_la-jit_codegen.lo jit_codegen.cpp: In function ‘llvm::Value* extract_value(llvm::Value*, int)’: jit_codegen.cpp:362:29: warning: narrowing conversion of ‘index’ from ‘int’ to ‘unsigned int’ inside { } [-Wnarrowing] unsigned int arr[] = {index}; ^ jit_codegen.cpp: In function ‘llvm::Value* insert_value(llvm::Value*, llvm::Value*, int)’: jit_codegen.cpp:367:29: warning: narrowing conversion of ‘index’ from ‘int’ to ‘unsigned int’ inside { } [-Wnarrowing] unsigned int arr[] = {index}; ^ jit_codegen_conv.h: In member function ‘virtual llvm::Value* ConvExpression::codegen_get_value()’: jit_codegen_conv.h:304:62: error: overloaded function with no contextual type information 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: In member function ‘virtual llvm::Value* SubrExpression::codegen_get_value()’: jit_codegen.cpp:5446:52: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: error: overloaded function with no contextual type information 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: In function ‘void func_extern_call_variant_vararg(void*, void*, int, TYPE)’: jit_codegen.cpp:6655:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(TYPE*)&signature_string[nargs] = return_type; ^ jit_codegen.cpp:6705:44: warning: 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: warning: ‘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: warning: ‘void release_val(Expression*)’ defined but not used [-Wunused-function] static void release_val(Expression* expr){ ^~~~~~~~~~~ jit_codegen.cpp:1121:13: warning: ‘void release_top(Expression*)’ defined but not used [-Wunused-function] static void release_top(Expression* expr){ ^~~~~~~~~~~ jit_codegen.cpp:1117:13: warning: ‘void borrow_top(TYPE)’ defined but not used [-Wunused-function] static void borrow_top(TYPE type){ ^~~~~~~~~~ jit_codegen.cpp:1038:13: warning: ‘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: warning: ‘void codegen_printf(const char*)’ defined but not used [-Wunused-function] static void codegen_printf(const char* str1){ ^~~~~~~~~~~~~~ jit_codegen.cpp:1030:13: warning: ‘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: warning: ‘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){ ^~~~~~~~~~~~~~ make[4]: *** [Makefile:588: gb_jit_la-jit_codegen.lo] Error 1 make[4]: Leaving directory '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.jit/src' make[3]: *** [Makefile:433: all-recursive] Error 1 make[3]: Leaving directory '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.jit' make[2]: *** [Makefile:365: all] Error 2 make[2]: Leaving directory '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.jit' make[1]: *** [Makefile:438: all-recursive] Error 1 make[1]: Leaving directory '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk' make: *** [Makefile:379: all] Error 2 ==> FEIL: En feil oppsto i build(). Avbryter... ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user