[Pkg-gambas-devel] Bug#822719: gambas3: FTBFS with GCC 6: overloaded function with no contextual type information

Martin Michlmayr tbm at hpe.com
Tue Apr 26 18:38:59 UTC 2016


Package: gambas3
Version: 3.8.4-2
Severity: normal
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but will probably come out this week.

You can find GCC 6 in unstable (gcc-6).  To build with
GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
>   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),
>                                                    ^
...

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Pkg-gambas-devel mailing list