[PATCH] Add GMP as a prerequisite for GDB

Chris Johns chrisj at rtems.org
Mon Dec 21 06:51:24 UTC 2020


On 21/12/20 5:24 pm, Sebastian Huber wrote:
> On 15/12/2020 04:59, Chris Johns wrote:
>> Why is xgcc now dependent on a share libgmp? A FreeBSD gcc does not show any
>> shared library dependencies other than the standard OS ones. What happens if you
>> configure the GMP package that is built for gdb with --disable-shared (assuming
>> it supports it)?
> Building libexpat and GMP with --disable-shared seems to work. I am not sure
> which GMP is picked up by GCC (GMP from devel/gmp or the GCC source tree GMP).

Would you be able to test removing the one-source-tree link step from the gcc
build to find out? I am happy to support only building GMP as a package.

Chris

[ /rant/ ... I really like waf and meson as build systems but
  the consistency configure brings with --disable-shared is
  really valuable. It would be nice for waf, meson, ... (anything
  else) to provide similar support. I hit issues with meson and
  the qemu build. ]


More information about the devel mailing list