GDB 8.0 build on FreeBSD 11
Chris Johns
chrisj at rtems.org
Fri Jun 23 04:37:31 UTC 2017
On 21/06/2017 16:05, Sebastian Huber wrote:
> Hello,
>
> I tried to build GDB 8.0 on FreeBSD 11. It didn't work similar to:
>
> https://sourceware.org/ml/gdb/2017-02/msg00061.html
>
> The corresponding bug was resolved as invalid:
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=21206
>
> We still have a GDB patch for this issue in the RSB for 7.12. Now I am a bit
> confused.
>
The problem is gnulib being configured with a C compiler and GDB is built with
C++. The C compiler is missing something C++ has so we get a clash. The problem
is in FreeBSD and not in gdb. John Baldwin provided a work around which is what
we are using. The ticket shows the changes in FreeBSD fix the problem.
I suspect in time this patch will become specific to FreeBSD version 11.0 and
earlier.
Chris
More information about the devel
mailing list