GDB 8.1 build error

Simon Marchi simon.marchi@polymtl.ca
Fri Apr 27 18:38:00 GMT 2018


On 2018-04-26 19:48, Paul Koning wrote:
> I can't build GDB on Mac.  This shows up both in a native build, and a
> cross-build (for example target=mips-netbsdelf).  I see this error:
> 
> /Users/pkoning/Downloads/gdb-8.1/gdb/stap-probe.c:122:29: error: 
> default
>       initialization of an object of const type 'const 
> stap_static_probe_ops'
>       without a user-provided default constructor
> const stap_static_probe_ops stap_static_probe_ops;
> 
> or
> 
> /Users/pkoning/Downloads/gdb-8.1/gdb/probe.c:63:28: error: default
>       initialization of an object of const type 'const 
> any_static_probe_ops'
>       without a user-provided default constructor
> const any_static_probe_ops any_static_probe_ops;
> 
> (same problem, different source file).
> 
> 	paul

Hi Paul,

What is the compiler, which version, and can you share the full command 
line used to compile probe.o, for example?

Simon



More information about the Gdb mailing list